claude-code - 💡(How to fix) Fix Plugin slash commands render with '*'-inline format instead of two-column, despite matching official plugin shape

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Plugin commands in egor-xyz/agent-kit consistently render in the slash menu with the *-inline format (* /agent-kit:handoff - (agent-kit) Dump session state...) instead of the two-column format used by official plugins like commit-commands. The plugin viewer (/plugin → Installed) correctly classifies them as Commands, but the slash menu treats them like skills.

Root Cause

Plugin commands in egor-xyz/agent-kit consistently render in the slash menu with the *-inline format (* /agent-kit:handoff - (agent-kit) Dump session state...) instead of the two-column format used by official plugins like commit-commands. The plugin viewer (/plugin → Installed) correctly classifies them as Commands, but the slash menu treats them like skills.

Code Example

/plugin marketplace add egor-xyz/agent-kit
/plugin install agent-kit@egor-xyz

---

agent-kit @ egor-xyz
Installed components:
Commands: handoff-clear, handoff-resume, handoff
Skills: auto-handoff
RAW_BUFFERClick to expand / collapse

Summary

Plugin commands in egor-xyz/agent-kit consistently render in the slash menu with the *-inline format (* /agent-kit:handoff - (agent-kit) Dump session state...) instead of the two-column format used by official plugins like commit-commands. The plugin viewer (/plugin → Installed) correctly classifies them as Commands, but the slash menu treats them like skills.

Repro

/plugin marketplace add egor-xyz/agent-kit
/plugin install agent-kit@egor-xyz

Then type /han in the slash menu and compare against /commit (commit-commands from claude-plugins-official).

  • commit-commands:commit-push-pr → two-column ✓
  • agent-kit:handoff*-inline ✗

Both are installed via marketplace, both live under commands/*.md, both have matched frontmatter shape (allowed-tools: + description:), both have similar plugin.json shape.

What we ruled out across 6 PRs

PRHypothesisResult
#16Files were under skills/ (correct fix: move to commands/)Fixed namespace prefix but * persists
#17Frontmatter order, description length, allowed-tools scopingNo effect
#18Marketplace metadata fields (tags/keywords/license), $schema URLNo effect
#19Coexistence with skills/ directory in same pluginNo effect
#21H1 vs H2 first body headingNo effect

After PR #21 the plugin's file shape is byte-identical in structure to commit-commands:

  • commands/handoff.md frontmatter: allowed-tools: Bash, Read, Write, Edit\ndescription: Dump session state to .agents/handoff.md (matches commit-commands shape exactly)
  • plugin.json: {name, description, author} only
  • marketplace.json: {\$schema: anthropic.com/.../marketplace.schema.json, name, description, owner, plugins:[{name, description, author, source, category, homepage}]} (matches claude-plugins-official exactly)

Yet the rendering disagrees.

Plugin viewer (correct)

agent-kit @ egor-xyz
Installed components:
• Commands: handoff-clear, handoff-resume, handoff
• Skills: auto-handoff

So internal classification is right. The slash menu disagrees.

Ask

Either:

  1. Document what specific field/structure determines two-column vs `*`-inline rendering in the slash menu, so 3rd-party plugins can match it, or
  2. Treat this as a bug — `commands/*.md` files should always render two-column.

Repo for reference: https://github.com/egor-xyz/agent-kit

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING