From badi
Audits the Claude Code project directory for configuration drift—inconsistencies, orphaned files, stale entries, JSON errors, and cross-file mismatches.
How this command is triggered — by the user, by Claude, or both
Slash command
/badi:drift-detectcommands/The summary Claude sees in its command listing — used to decide when to auto-load this command
Configuration drift detection command. Finds inconsistencies, orphaned components, and stale content in the Badi system. # Required Tools - Read (configuration files) - Grep (reference scan) - Glob (file existence check) - Bash (file info, JSON validation) # Files to Audit - `CLAUDE.md` (main instructions) - `.claude/memory.md` (memory layer) - `.claude/knowledge-base.md` (knowledge base) - `.claude/settings.json` (settings) - `.claude/commands/` (all command files) - `.claude/command-index.md` (command index) - `.claude/agents/` (agent files, if any) # Procedure (5 Checks) ### Check 1:...
Configuration drift detection command. Finds inconsistencies, orphaned components, and stale content in the Badi system.
CLAUDE.md (main instructions).claude/memory.md (memory layer).claude/knowledge-base.md (knowledge base).claude/settings.json (settings).claude/commands/ (all command files).claude/command-index.md (command index).claude/agents/ (agent files, if any)Look for inconsistencies across files:
CLAUDE.md Contradictions:
memory.md - Reality Alignment:
knowledge-base.md Consistency:
settings.json Validation:
Find disconnected components:
commands/ referenced nowhereagents/ never invoked anywherecommand-index.md and commands/Assess content freshness:
Technical health checks:
Consistency across the whole system:
=== BADI DRIFT DETECTION ===
Date: [date]
Status: CLEAN | WARNING | PROBLEM
## Contradiction Findings
- Found: [count]
[details if any]
## Orphaned Components
- Found: [count]
[details if any]
## Stale Content
- Found: [count]
[details if any]
## Configuration Health
- JSON: VALID / BROKEN
- Sizes: NORMAL / EXCESSIVE
- Permissions: CORRECT / BROKEN
## Cross-Consistency
- Status: CONSISTENT / MISMATCHED
[details if any]
## Remediation Suggestions
1. [URGENT] [suggestion]
2. [IMPORTANT] [suggestion]
3. [SUGGESTED] [suggestion]
## Next Scan
Suggested: [date]
============================
npx claudepluginhub fatihkan/badi --plugin badi/drift-detectGenerates production-ready DevOps configurations, setup code, and documentation based on specified name, description, and infrastructure requirements.