agent-audit
Audit agents spawned in the current/last run against the agent-selection taxonomy
Surface all retrospective documents with key shape metrics; compare arcs deliberately.
> /plugin marketplace add heymegabyte/claude-skillsHow it fires
How this command gets triggered: by you, by Claude, or both.
/list-arcsContext preview
What this command does when you run it.
Surface all retrospective documents with key shape metrics; compare arcs deliberately.
name: list-arcs description: Surface all retrospective documents with key shape metrics; compare arcs deliberately. argument-hint: [--show=<name>, --compare=<name1>,<name2>]
Surfaces every arc retrospective in `retrospectives/` with normalized shape metrics so Brian can compare arc types, sizes, and saturation outcomes at a glance. Supports drill-down and side-by-side comparison for understanding when to run a new arc versus extending an existing one.
/list-arcs /list-arcs --show=arc-2026-06-18-bug-fixing /list-arcs --compare=arc-2026-06-18-doctrinal-extraction,arc-2026-06-18-bug-fixing
| Flag | Default | Description | |------|---------|-------------| | _(none)_ | — | Print the full arc table, sorted by date ascending | | `--show=<name>` | — | Print the full retrospective for the named arc; `<name>` is the filename without `.md` | | `--compare=<name1>,<name2>` | — | Side-by-side key-metric table for exactly two arcs |
---
1. **Glob** `retrospectives/*.md` — collect all retrospective files. 2. **For each file**, parse:
3. **Sort** by date ascending (oldest first). 4. **Emit** a markdown table:
## Arc Registry | Arc name | Type | Date | Iters | Tasks | Files | LOC Δ | Retrospective | |----------|------|------|-------|-------|-------|-------|---------------| | Doctrinal Extraction + MCP Fleet Forge | DOCTRINAL | 2026-06-18 | 13 | ~39 | ~96 | +40,000 | retrospectives/arc-2026-06-18-doctrinal-extraction.md | | Bug-Discovery + Fix + Doctrine Extraction | BUG-FIXING | 2026-06-18 | 5 | ~15 | ~23 | +9,500 | retrospectives/arc-2026-06-18-bug-fixing.md |
5. **Emit summary line** below the table:
---
1. Resolve `retrospectives/<name>.md` (try exact match; if not found, try case-insensitive prefix match). 2. Print the entire file contents verbatim. 3. Append a one-line nav hint: "Use `/list-arcs --compare=<name>,<other>` to compare with another arc."
---
1. Load both retrospectives. 2. Extract the same metric set as the table step above, plus:
3. Emit a two-column markdown table:
## Arc Comparison | Metric | Doctrinal Extraction | Bug-Discovery + Fix | |--------|---------------------|---------------------| | Type | DOCTRINAL | BUG-FIXING | | Date | 2026-06-18 | 2026-06-18 | | Iterations | 13 | 5 | | Tasks (est.) | ~39 | ~15 | | Files Δ | ~96 new / ~13 modified | ~17 new / ~6 modified | | LOC Δ | +40,000 | +9,500 | | Saturation signal | LOC drop >20% × 3 iters | Zero new findings × 2 iters | | Verdict at close | lengthen-interval (iter 11) → delete-cron | keep-cron (seam open: bitwarden, mock, static isError) | | Open follow-ups | 5 | 5 | | Principles extracted | 30 (checklist closed 30/30) | 3 (#21 #22 #23) | | Highest-leverage delta | forge --harden yields production MCP in one command | 747 isError patches prevent Claude misreading API errors as success | | Retrospective | retrospectives/arc-2026-06-18-doctrinal-extraction.md | retrospectives/arc-2026-06-18-bug-fixing.md |
4. Emit a **Shape Analysis** paragraph (2–4 sentences) observing:
---
Fields that may be absent from older retrospectives — fall back gracefully:
| Field | Primary source | Fallback | |-------|---------------|---------| | Date | `**Generated:**` ISO timestamp | filename date component (e.g. `arc-2026-06-18-*` → `2026-06-18`) | | Iterations | `**Date range:**` iter range | count `| N |` rows in Per-Iteration Table | | Type | `**Arc name:**` keyword scan | filename keyword scan (`bug-fix` → BUG-FIXING, `doctrinal` → DOCTRINAL) | | Files Δ | `**TOTAL**` row in Totals table | sum of `New` + `Modified` per-category rows | | LOC Δ | `**TOTAL**` row "net +N LOC" | sum LOC Δ column in Per-Iteration Table | | Tasks | Per-Iteration Table Tasks column sum | `Open Follow-Ups` count × 3 (rough estimate; note as estimated) |
When a field cannot be parsed, emit `—` in the table cell. Do NOT erro
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