GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — feat(skill): add per-agent filtering to skill tool description by malhashemi · Pull Request #6000 · anomalyco/opencode Conversation
|
| Skill | In <available_skills>? |
On Execute |
|---|---|---|
documents-* |
❌ Hidden | Rejected |
experimental-* |
✅ Shown | Prompts user |
| Others | ✅ Shown | Loads immediately |
Agent-specific overrides work as expected:
# In agent frontmatter permission: skill: "documents-*": "allow" # This agent CAN see and use documents-* skills
bun run typecheck passesbun test passes (320 pass, 1 skip)init(ctx) usage are unaffected
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Pass agent context through tool initialization chain so the skill tool can filter available_skills by agent permissions. Skills with 'deny' permission are hidden from the tool description, preventing agents from seeing skills they cannot access. Changes: - Add InitContext interface with optional agent to Tool namespace - Update ToolRegistry.tools() to accept and pass agent to init() - Filter skills in SkillTool.init() based on agent permissions - Add duplicate skill name warning in Skill.all() Follow-up to anomalyco#5930 per maintainer feedback.
- Update intro to mention on-demand loading via skill tool - Add 'Configure permissions' section with pattern examples - Add 'Override per agent' section for agent-specific permissions - Add 'Disable the skill tool' section - Update troubleshooting to include permission checks
BREAKING CHANGE: This plugin is deprecated. Skills functionality is now built into OpenCode natively. - Add graduation banner and migration guide - Document directory change (.opencode/skills/ → skill/) - Document config migration (tools → permission.skill) - Add Thank You section acknowledging community support - Promote opencode-sessions as the next plugin to try - Move original README to collapsed Historical Documentation section Native implementation PRs: - anomalyco/opencode#5930 (v1.0.190) - anomalyco/opencode#6000 (v1.0.191)
BREAKING CHANGE: This plugin is deprecated. Skills functionality is now built into OpenCode natively. - Add graduation banner and migration guide - Document directory change (.opencode/skills/ → skill/) - Document config migration (tools → permission.skill) - Add Thank You section acknowledging community support - Promote opencode-sessions as the next plugin to try - Move original README to collapsed Historical Documentation section Native implementation PRs: - anomalyco/opencode#5930 (v1.0.190) - anomalyco/opencode#6000 (v1.0.191)
BREAKING CHANGE: This plugin is deprecated. Skills functionality is now built into OpenCode natively. - Add graduation banner and migration guide - Document directory change (.opencode/skills/ → skill/) - Document config migration (tools → permission.skill) - Add Thank You section acknowledging community support - Promote opencode-sessions as the next plugin to try - Move original README to collapsed Historical Documentation section Native implementation PRs: - anomalyco/opencode#5930 (v1.0.190) - anomalyco/opencode#6000 (v1.0.191)
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.