code-simplifier plugin listed as Skill but only works as Task agent
Resolved 💬 3 comments Opened Jan 21, 2026 by coragon77 Closed Jan 25, 2026
Bug Description
The code-simplifier plugin (an official Anthropic plugin) is listed in the Skill tool's "Available skills" section as code-simplifier:code-simplifier, but invoking it via the Skill tool returns "Unknown skill".
Steps to Reproduce
- Have the
code-simplifierplugin installed - Try to invoke it via the Skill tool:
````
Skill tool: skill="code-simplifier:code-simplifier"
- Observe error:
Unknown skill: code-simplifier:code-simplifier
Expected Behavior
Either:
- The skill should work when invoked via the Skill tool, OR
- It should not be listed in the Skill tool's "Available skills" section
Actual Behavior
- Listed in Skill tool's available skills
- Returns "Unknown skill" when invoked via Skill tool
- Works correctly when invoked via Task tool with
subagent_type="code-simplifier:code-simplifier"
Root Cause Analysis
The plugin uses the agents/ folder structure instead of skills/:
claude-plugins-official/code-simplifier/1.0.0/
├── .claude-plugin/
│ └── plugin.json
└── agents/
└── code-simplifier.md # <-- agents folder, not skills folder
Compare to superpowers plugin which correctly uses both:
superpowers/4.0.3/
├── skills/ # <-- Skill tool invocable
│ └── brainstorming/SKILL.md
└── agents/ # <-- Task tool invocable
└── code-reviewer.md
Environment
- Claude Code CLI
- Plugin:
code-simplifierv1.0.0 fromclaude-plugins-official
Suggested Fix
Either:
- Move
agents/code-simplifier.mdtoskills/code-simplifier/SKILL.mdto make it a proper skill, OR - Remove
code-simplifier:code-simplifierfrom the Skill tool's available skills list since it's an agent, not a skill
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗