code-simplifier plugin: agent name resolution fails due to plugin/agent name collision

Resolved 💬 3 comments Opened Mar 19, 2026 by bosoud Closed Mar 22, 2026

Bug

The code-simplifier plugin's agent cannot be spawned via the /simplify skill because the plugin name and agent name are both code-simplifier, creating a fully qualified name of code-simplifier:code-simplifier.

When /simplify is invoked, it tries to spawn the agent with subagent_type: "code-simplifier", which fails:

Error: Agent type 'code-simplifier' not found. Available agents: general-purpose, statusline-setup, Explore, Plan, claude-code-guide, code-simplifier:code-simplifier

Expected behavior

The agent resolution should match code-simplifier to code-simplifier:code-simplifier when there's no ambiguity (only one agent with that short name).

Reproduction

  1. Install the code-simplifier plugin from claude-plugins-official
  2. Run /simplify in any project
  3. Observe the error

Workaround

Manually invoking the agent with the fully qualified name code-simplifier:code-simplifier works fine.

Root cause

In .claude-plugin/plugin.json, the plugin name is code-simplifier. The agent file agents/code-simplifier.md also has name: code-simplifier. The framework registers it as code-simplifier:code-simplifier but the skill invocation uses the short name which doesn't resolve.

Either:

  • The framework should resolve short names when unambiguous, or
  • The plugin should use a different plugin name (e.g. simplify) to avoid the collision

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗