# /mk:context-audit — Context Window Structural Audit

## Usage

```
/mk:context-audit
/mk:context-audit <scan-root>
```

## Behavior

Read-only audit of `.claude/` structural overhead. Reports prioritized
"remove X save Y tokens" recommendations against the model context window.

NOT for monetary cost tracking (see `/mk:budget`).
NOT for transcript caching (see `.claude/hooks/conversation-summary-cache.sh`).

### Execution

Invoke the `mk:context-audit` skill. The skill runs the pipeline:

```bash
bash .claude/skills/context-audit/scripts/inventory-context.sh "${1:-$PWD}" \
  | bash .claude/skills/context-audit/scripts/estimate-tokens.sh \
  | bash .claude/skills/context-audit/scripts/format-audit-report.sh
```

Output is markdown to terminal. No files are modified.

See the skill body at `.claude/skills/context-audit/SKILL.md` for full details
on output sections, thresholds, and how recommendations are prioritized.
