You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEAT] Layer 2: package the CLI as a Claude Code plugin (marketplace + plugin.json + skills) #3
Part of #2 — this issue tracks layer 2: packaging the already-merged CLI (pnpm analyze:session / pnpm analyze:sessions) as an installable Claude Code plugin with a skill, so the audit is consumable by Claude Code itself (/plugin marketplace add axisrow/claude-devtools → /plugin install).
Scope — files to add
.claude-plugin/marketplace.json (repo root → repo becomes a marketplace):
name: "session-audit", description (core fields only; version omitted → git-SHA pinning, users get updates on push — decide at review whether to pin instead)
frontmatter: description (drives model invocation), when_to_use, allowed-tools: Bash(pnpm analyze:session:*)
body: how to pick the session file (--project <dir> --last), how to read the ledger (context growth, reread share), each finding type (duplicate_call / failed_call / oversized_output / context_spike / cache_dead / thinking_heavy / slow subagents) and what to recommend (deny rules for culprit commands, splitting long turns, slimming parent context via subagents)
frontmatter with allowed-tools: Bash(pnpm analyze:sessions:*); body: filters (--min-minutes, --sort, --limit) and how to present the table + billing scheme column
CI (optional): a workflow step running claude plugin validate .
Per current plugin docs, commands are legacy — skills with user-invocable/description serve both slash- and model-invocation, so no commands/ directory. Components live at plugin root, NOT inside .claude-plugin/.
Acceptance criteria
claude plugin validate . passes
claude --plugin-dir . in a scratch session: /audit-session runs the CLI on the active session and summarizes findings; /sessions-inventory renders the table
End-to-end: /plugin marketplace add axisrow/claude-devtools + /plugin install session-audit@… works from a clean clone
No changes to the app build; pnpm analyze:* keep working as before
Activity
ci: typecheck, lint, test on push and PR with frozen lockfile (#11)
feat(plugin): package CLI as Claude Code plugin (marketplace + skills) (