agent-audit
Audit agents spawned in the current/last run against the agent-selection taxonomy
Scaffold a new spawnable specialist agent def and register it in the agent taxonomy
> /plugin marketplace add heymegabyte/claude-skillsHow it fires
How this command gets triggered: by you, by Claude, or both.
/create-specialist-agentContext preview
What this command does when you run it.
Scaffold a new spawnable specialist agent def and register it in the agent taxonomy
description: Scaffold a new spawnable specialist agent def and register it in the agent taxonomy argument-hint: <agent name + role>
Scaffold a new specialist agent per [[agent-selection]] (anti-inflation: only when a role RECURS).
**Purpose** — turn a recurring role into a reusable, well-scoped spawnable agent def.
**When to use** — a role appeared in ≥2 runs and was handled ad-hoc by a generic worker. NOT for one-off roles (agent inflation is the failure mode).
**Inputs** — `$ARGUMENTS` = proposed agent name + role description.
Steps:
**Outputs** — the new agent file path + the taxonomy edit + `[[backlinks]]`.
**Verification** — agent file has valid frontmatter (`head -8`); taxonomy edit committed in `~/.agentskills`; agent is spawnable by name.
**Can update ~/.agentskills or ~/.claude?** YES — writes the agent def under `~/.claude/agents/` and updates the taxonomy.
> ⚠️ **File-writing guard** — `~/.claude/{agents,commands,rules,skills}` are SYMLINKS into `~/.claude/plugins/heymegabyte-claude-skills/`. Author new files with the **Write tool only**, writing to the plugin path. NEVER `ln`/`ln -s` into a symlinked dir — it creates a circular self-symlink ("too many levels of symbolic links") and loses the content. (Reference incident 2026-05-28: a command-author agent ran `ln` and broke `dashboard-cockpit.md`; recovered by re-Writing as a plain file.)
14-category autonomous product-building OS for 32+ AI coding tools. One-line prompts → deployed products.
Repo: heymegabyte/claude-skills
Audit agents spawned in the current/last run against the agent-selection taxonomy
Run the Agent Diversity Review gate and emit the result table
Meta-analyze the effectiveness of a /loop arc — per-iteration metrics, LOC delta trend, saturation detection, and a keep/lengthen/delete recommendation.
Audit the rules/ directory for missing foundational principles; output gap list with priority and justification
Validate ~/.claude/settings.json hooks block — event names, file existence, executability, matcher syntax; --fix repairs common issues
Catch Resend-class bug (isError: false on HTTP 4xx/5xx) across all MCP server tool handlers