From CAST — Claude Agent Specialist Team
Dispatches 4 parallel researchers scanning for bugs, security, performance, and test coverage gaps. Collates findings into a dated report. Run manually via /cast-audit or scheduled monthly.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cast:cast-auditThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
The `/cast-audit` skill automates the 4-way codebase audit that was run manually on 2026-04-16, surfacing accumulating drift and regressions before they compound. It dispatches 4 parallel researchers (bugs/dead code, security, performance, test coverage), collates findings, and writes a report to `~/.claude/reports/cast-audit-YYYY-MM-DD.md`.
The /cast-audit skill automates the 4-way codebase audit that was run manually on 2026-04-16, surfacing accumulating drift and regressions before they compound. It dispatches 4 parallel researchers (bugs/dead code, security, performance, test coverage), collates findings, and writes a report to ~/.claude/reports/cast-audit-YYYY-MM-DD.md.
Does NOT auto-fix. This skill surfaces findings only. Remediation happens via follow-up agent dispatch (debugger, security, perf-sentinel, test-writer).
/cast-audit
Runs full audit and writes report to ~/.claude/reports/cast-audit-YYYY-MM-DD.md.
/cast-audit --since 2026-03-01 — Only flag regressions (increases, new findings) since the date. Compares against the most recent prior audit before that date./cast-audit --section security — Run one section only (security, bugs, performance, or coverage). Output still goes to the full report./cast-audit --no-collate — Run 4 parallel researchers but do NOT collate into a single report. Useful for debugging individual sections.First Monday of each month, 08:00 local time. Configured via RemoteTrigger or cron (see "Scheduling" below).
The scheduled run:
~/.claude/reports/cast-audit-YYYY-MM-DD-<section>.md~/.claude/reports/cast-audit-YYYY-MM-DD.mdEach audit produces a collated report with this structure:
# CAST Audit — YYYY-MM-DD
## Executive Summary
- 🔴 HIGH: [top 1-2 findings by severity]
- 🟡 MED: [secondary findings]
- 🟢 LOW: [informational findings]
Comparison to prior audit (YYYY-MM-DD):
- +3 HIGH / -1 MED / +2 LOW severity
## Findings by Category
### Bugs & Dead Code
[Bulleted findings with severity tags, file paths, line numbers]
### Security
[Bulleted findings]
### Performance
[Bulleted findings]
### Test Coverage
[Bulleted findings]
## Recommended Actions
| Finding | Severity | Recommended Agent | Effort |
|---|---|---|---|
| ... | HIGH | debugger | ~30 min |
Example finding:
- 🔴 HIGH (SECURITY): `scripts/cast-session-end.sh:42` — SQL injection via unquoted SESSION_ID in sqlite3 insert. Use parameterization or add validation guard.
Each section report (written to ~/.claude/reports/cast-audit-YYYY-MM-DD-<section>.md) contains raw findings for that category.
Scan for:
settings.json but missing from scripts/)~/.claude/agents/ but not referenced anywhere)~/.claude/skills/ but not wired)Scan for:
owns_files spec)Scan for:
python3 -c > 2 per script)~/.claude/logs/ if available)Scan for:
scripts/ without corresponding tests/<name>.batssrc/components/ without .test.tsxWhen invoked, the main session:
Dispatches 4 researchers in parallel, each with a targeted scope:
Researcher 1 (bugs): Scan scripts/, agents/, skills/ for orphan, unreachable, and cold-start patterns
Researcher 2 (security): Scan all code for SQL injection, shell injection, secrets, file perms
Researcher 3 (performance): Scan for cold-starts, slow queries, unbounded work
Researcher 4 (coverage): Compare test files against source files in scripts/, src/
Each researcher writes findings to:
~/.claude/reports/cast-audit-YYYY-MM-DD-bugs.md
~/.claude/reports/cast-audit-YYYY-MM-DD-security.md
~/.claude/reports/cast-audit-YYYY-MM-DD-performance.md
~/.claude/reports/cast-audit-YYYY-MM-DD-coverage.md
Main session collates the 4 reports into:
~/.claude/reports/cast-audit-YYYY-MM-DD.md
With executive summary, side-by-side comparison to prior audit (if available), action items, and recommended agents.
Idempotency: Running /cast-audit twice on 2026-04-16 overwrites cast-audit-2026-04-16.md and the section files.
Create a scheduled task that invokes Claude Code with:
claude-code \
--message "Dispatch /cast-audit skill to run monthly audit." \
--cwd ${HOME}/Projects/personal/claude-agent-team
Schedule: First Monday of each month at 08:00 local time
Add to crontab -e on macOS/Linux (adjust for your timezone):
# First Monday of month at 08:00 local — CAST audit
0 8 * * 1 [ $(date +\%d) -le 7 ] && cd ${HOME}/Projects/personal/claude-agent-team && bash scripts/cast-audit-cron.sh
Requires a scripts/cast-audit-cron.sh helper (not shipped — create one if cron scheduling is actually adopted).
~/.claude/reports/cast-audit-YYYY-MM-DD.md. Updated README documents this path.~/.claude/reports/cast-audit-YYYY-MM-*.md, collation step compares finding counts by severity and flags regressions (e.g., "+3 HIGH since last month")./cast-audit skill exists with clear invocation instructions~/.claude/reports/cast-audit-YYYY-MM-DD-<section>.md~/.claude/reports/cast-audit-YYYY-MM-DD.md with executive summarynpx claudepluginhub ek33450505/claude-agent-team --plugin castProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.