diff options
| author | Aiden Cline <[email protected]> | 2025-12-22 15:40:08 -0600 |
|---|---|---|
| committer | Aiden Cline <[email protected]> | 2025-12-22 15:40:08 -0600 |
| commit | 009b0960044257cf2a3213ba49c0a3f64abea202 (patch) | |
| tree | acf9f24ff593d49e0d8074ff0712f7fd9d3cc359 /packages | |
| parent | 64f898601b2aa184b0e75163e7a2fb9542f31bd3 (diff) | |
| download | opencode-009b0960044257cf2a3213ba49c0a3f64abea202.tar.gz opencode-009b0960044257cf2a3213ba49c0a3f64abea202.zip | |
fix: disable claude skill loading for now
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/opencode/src/skill/skill.ts | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/packages/opencode/src/skill/skill.ts b/packages/opencode/src/skill/skill.ts index 88182c5de..565d89f25 100644 --- a/packages/opencode/src/skill/skill.ts +++ b/packages/opencode/src/skill/skill.ts @@ -58,7 +58,7 @@ export namespace Skill { ) const SKILL_GLOB = new Bun.Glob("skill/*/SKILL.md") - const CLAUDE_SKILL_GLOB = new Bun.Glob("*/SKILL.md") + // const CLAUDE_SKILL_GLOB = new Bun.Glob("*/SKILL.md") async function discover(): Promise<string[]> { const directories = await Config.directories() @@ -78,20 +78,20 @@ export namespace Skill { } // Also scan .claude/skills/ walking up from cwd to worktree - for await (const dir of Filesystem.up({ - targets: [".claude/skills"], - start: Instance.directory, - stop: Instance.worktree, - })) { - for await (const match of CLAUDE_SKILL_GLOB.scan({ - cwd: dir, - absolute: true, - onlyFiles: true, - followSymlinks: true, - })) { - paths.push(match) - } - } + // for await (const dir of Filesystem.up({ + // targets: [".claude/skills"], + // start: Instance.directory, + // stop: Instance.worktree, + // })) { + // for await (const match of CLAUDE_SKILL_GLOB.scan({ + // cwd: dir, + // absolute: true, + // onlyFiles: true, + // followSymlinks: true, + // })) { + // paths.push(match) + // } + // } return paths } |
