Skip to content

Commit 0851d05

Browse files
kulvirgitclaude
andcommitted
fix: also scan .claude/skills/ for SKILL.md files
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3e74f2c commit 0851d05

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/opencode/src/skill/discover-external.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ interface ExternalSkillSource {
2424
// Within each source: project-deep → project-shallow → home. First skill with a given name wins.
2525
const SOURCES: ExternalSkillSource[] = [
2626
{ tool: "claude-code", dir: ".claude", pattern: "commands/**/*.md", scope: "both", format: "command-md" },
27+
{ tool: "claude-code", dir: ".claude", pattern: "skills/**/SKILL.md", scope: "both", format: "skill-md" },
2728
{ tool: "codex", dir: ".codex", pattern: "skills/**/SKILL.md", scope: "both", format: "skill-md" },
2829
{ tool: "gemini", dir: ".gemini", pattern: "skills/**/SKILL.md", scope: "both", format: "skill-md" },
2930
{ tool: "gemini", dir: ".gemini", pattern: "commands/**/*.toml", scope: "both", format: "command-toml" },

0 commit comments

Comments
 (0)