Conversation
Implement the Agent Skills standard (agentskills.io) for extending agent capabilities with procedural knowledge packages. - Add Skill module with discovery, parsing, and validation - Load skills from .opencode/skill/ (via Config.directories) - Load skills from .claude/skills/ (via Filesystem.up) - Inject available skills into system prompt as XML block - Add 11 tests covering discovery, validation, and error cases
|
❤️❤️❤️❤️❤️❤️ |
shuv1337
pushed a commit
to Latitudes-Dev/shuvcode
that referenced
this pull request
Dec 22, 2025
rekram1-node
pushed a commit
that referenced
this pull request
Dec 27, 2025
xywsxp
pushed a commit
to xywsxp/opencode
that referenced
this pull request
Apr 24, 2026
Rwanbt
pushed a commit
to Rwanbt/opencode
that referenced
this pull request
May 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.opencode/skill/(via Config.directories) and.claude/skills/(via Filesystem.up)Skill Discovery Locations
~/.opencode/skill/*/SKILL.md- global skills.opencode/skill/*/SKILL.md- local skills (walking up to worktree).claude/skills/*/SKILL.md- Claude-compatible skills (walking up to worktree)Files Changed
packages/opencode/src/skill/skill.ts- Core skill modulepackages/opencode/src/skill/index.ts- Re-exportpackages/opencode/src/session/system.ts- Addedskills()functionpackages/opencode/src/session/prompt.ts- Integrated skills into system promptpackages/opencode/test/skill/skill.test.ts- 11 tests