cyberneticlibrary

Audit and reduce Claude plugin token waste

msapps-token-efficiency-auditpluginsetup L23,035
davepoon/buildwithclaude
What it does

Audit and optimize token usage in Claude plugins and skills

Best for

Trimming operational cost of large plugin suites without losing functionality.

Inputs
  • · plugin or skill source code
  • · optional: token budget constraint
Outputs
  • · token usage breakdown by field (description, MCP body, context)
  • · rewrite suggestions saving 20-50% tokens
  • · refactored code with same capability at lower cost
Requires
  • · token counter (Claude API tokenizer)
  • · MSApps analyzer
Preconditions

plugin/skill code available; Claude token pricing model known

Failure modes

rewrite loses fidelity if descriptions cut too aggressively; savings estimate inaccurate if context-window effects not modeled

Trust signals
  • · typical 20-50% savings
  • · MSApps maintained
  • · field-level audit