The open source coding agent.
TypeScript
fix: disable claude skill loading for now
Aiden Cline009b09600442
diff --git a/packages/opencode/src/skill/skill.ts b/packages/opencode/src/skill/skill.tsindex 88182c5de42..565d89f2573 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}