skills-internal/token-audit/SKILL.md
Analyze skill token consumption and surface optimization opportunities
npx skillsauth add gioe/tusk token-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Scans all skill directories and reports token consumption across five categories: size census, companion file analysis, SQL anti-patterns, redundancy detection, and narrative density.
tusk token-audit
Review the report across the 4 actionable categories below. For each category, read the flagged skills and compose a concrete description of what should change. Skip categories with no actionable findings.
Look for UNCONDITIONAL loads — these inject tokens on every invocation. For each, describe which skill/file needs a conditional guard added.
Focus on WARN-level items (e.g., SELECT * pulling unnecessary columns). INFO items are advisory — only include them if a clear fix is obvious (e.g., replacing SELECT * with named columns).
Look for tusk setup followed by tusk config re-fetches in the same skill. Duplicate tusk commands across subcommand examples are expected and not actionable.
For skills with prose:code ratio > 3.0, read each flagged SKILL.md and identify cuttable prose:
Compose a single description per skill listing the specific sections to cut or condense.
Take the combined findings from Step 2 and pass them as input to /create-task. Group related fixes into sensible tasks (e.g., one task per category, or one task for all small skills with the same problem pattern). Let /create-task handle decomposition, deduplication, and insertion.
data-ai
Autonomously work through the backlog — dispatches /chain for chain heads, /tusk for standalone tasks, repeating until empty
tools
Investigate the scope of a problem and form an honest assessment — task creation is optional
data-ai
Groom the backlog by closing completed tickets, removing redundant/stale tickets, reprioritizing, and assigning agents
tools
File a GitHub issue against the tusk repo itself — tusk bugs, CLI limitations, skill improvements, or missing features. Use anytime the user identifies a gap in tusk (not in their own project's code).