Stats
Actions
Tags
From badi
Deep infrastructure audit that validates all Badi components across 9 checkpoints and assigns an A–F grade based on assessment findings.
How this command is triggered — by the user, by Claude, or both
Slash command
/badi:system-auditcommands/The summary Claude sees in its command listing — used to decide when to auto-load this command
Deep infrastructure audit command. Comprehensively audits all Badi components across 9 checkpoints.
# Required Tools
- Read (all config files) -- Grep (reference/pattern scan) -- Glob (file existence) -- Bash (permissions, JSON validation, file info) -- Write (report)
# Procedure (9 Checks)
## Check 1: Agent Health
- List the `.claude/agents/` files
- Each agent: YAML frontmatter format -- required fields (name, description, tools) -- are referenced tools valid -- unresolved `{{...}}` -- instruction consistency
- Agent count and status summary
## Check 2: Command Health
- List the `.cla...Deep infrastructure audit command. Comprehensively audits all Badi components across 9 checkpoints.
.claude/agents/ files{{...}} -- instruction consistency.claude/commands/ filescommand-index.md cross-reference: in the index but no file -- file exists but not in the index -- description mismatchsettings.json JSONmemory.md: size (500-line limit) -- freshness (last update) -- internal consistency (contradicting info) -- source attributionknowledge-base.md: size (1000-line limit) -- categorization -- unverified information -- citation/referencedaily-notes/, handoffs/ size/count -- audit trail files (audit-trail.md, incident-log.md, failure-log.md).gitignore.claude/ size -- 5 largest files -- older than 30 days (archive candidates) -- automatic cleanup mechanism -- temporary files -- is the backup strategy currentDetect needless complexity: unused components (command/agent/hook) -- duplicated/colliding functionality -- needless dependency chains -- overly complex config -- undying workarounds -- items whose removal would improve the system
Overall Grade: the lowest individual grade or a weighted average.
=== BADI SYSTEM AUDIT ===
Date: [date]
Overall Grade: [A-F]
## Check Results
| # | Check | Grade | Finding |
|---|-------|-------|---------|
| 1 | Agent Health | [A-F] | [summary] |
| 2 | Command Health | [A-F] | [summary] |
| 3 | Hook Health | [A-F] | [summary] |
| 4 | Memory Layer | [A-F] | [summary] |
| 5 | Log Health | [A-F] | [summary] |
| 6 | Permissions/Config | [A-F] | [summary] |
| 7 | Cross-Consistency | [A-F] | [summary] |
| 8 | Backup/Storage | [A-F] | [summary] |
| 9 | Via Negativa | [A-F] | [summary] |
## Critical Findings (D and F)
[details and urgent actions]
## Warnings (C)
[details and planned actions]
## Improvement Suggestions (A and B)
[optional improvements]
## Remediation Plan
1. [URGENT] [action] - Target: [date]
2. [PLANNED] [action] - Target: [date]
3. [SUGGESTED] [action] - Target: [date]
## Next Audit
Suggested: [date] (monthly or after major changes)
==============================
npx claudepluginhub fatihkan/badi --plugin badi