ck_token_audit
Audit project rule files and skills to detect token overhead, count words, estimate tokens, find duplicates, and get optimization recommendations.
Instructions
Audit project rule files (AGENTS.md, CLAUDE.md, etc.) and skills for token overhead. Returns word counts, token estimates, duplicate detection, and optimization recommendations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Audit mode: 'full' (rules + skills), 'skills' (skills only), 'rules' (rules only), 'tools' (CK MCP tool schemas). Defaults to 'full'. | |
| project_root | No | Absolute path to the project root. Omit to use current working directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| duplicates | No | ||
| word_counts | No | ||
| recommendations | No | ||
| token_estimates | No |