agent-audit
Audit agents spawned in the current/last run against the agent-selection taxonomy
Generic skill-version migration — works for hardened/v2/experimental→stable promotions across MCP servers, skills, hooks, commands. Mirrors /migrate-to-hardened with broader detection.
> /plugin marketplace add heymegabyte/claude-skillsHow it fires
How this command gets triggered: by you, by Claude, or both.
/migrate-skillContext preview
What this command does when you run it.
Generic skill-version migration — works for hardened/v2/experimental→stable promotions across MCP servers, skills, hooks, commands. Mirrors /migrate-to-hardened with broader detection.
description: Generic skill-version migration — works for hardened/v2/experimental→stable promotions across MCP servers, skills, hooks, commands. Mirrors /migrate-to-hardened with broader detection. argument-hint: <skill-name> [--dry-run] [--rollback] allowed-tools: Bash, Read, Edit, Write, Glob model: claude-sonnet-4-6
Generalize the unhardened→hardened cutover pattern (see /migrate-to-hardened) to ANY skill upgrade. Detects migration type by directory naming convention, runs build + smoke-test + register + archive, supports --dry-run preview + --rollback reversal.
Scan `~/.claude/plugins/heymegabyte-claude-skills/` for siblings matching one of:
| Pattern | Migration type | |---|---| | `<name>-hardened-mcp/` next to `<name>-mcp/` | hardening promotion | | `<name>-v2/` next to `<name>/` | major version bump | | `<name>/` with `metadata.stage: stable` next to one with `metadata.stage: experimental` | promotion | | `<name>-next/` next to `<name>/` | preview → current |
If none detected, exit with usage.
1. Verify the NEW version directory exists; bail if missing 2. Build: if `package.json` → `npm install && npm run build`; if `Cargo.toml` → `cargo build --release`; else just verify file existence 3. Smoke-test by skill type:
4. Interface comparison: parse OLD + NEW surface (tool list / command frontmatter / hook exports). Warn on REMOVED interfaces (breaking change for consumers) 5. Register: patch the right config file
6. Archive old: `mv <old-path> <old-path>.archived-{timestamp}` 7. Print confirmation + rollback command
`/migrate-to-hardened <name>` is equivalent to `/migrate-skill <name>-hardened`. Use the more specific command when the migration is specifically a hardening; use this generic command for v2/stable/preview transitions.
Every archived directory keeps a timestamp suffix so multiple rollbacks coexist without overwriting. `~/.claude.json` and `~/.claude/settings.json` get a `.bak-{timestamp}` copy before any write.
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