token optimization commands

11 tagged token optimization, measured the same way as everything else here.

Browse within: extension 5spec-driven-development 5spec-kit 5tokenomics 5

health

01

alexgreensh/token-optimizer

Command

Check running Claude Code or Codex sessions, find zombies, offer to clean up safely.

2.1k 2d ago C 17 tokens

budget

03

abhisekjha/pith

Command

Set a hard token ceiling per response (e.g. /budget 100) or clear it (/budget off).

98 3mo ago A 23 tokens original MIT

focus

04

abhisekjha/pith

Command

Load only the sections of a file relevant to the current question, reducing context noise.

98 3mo ago A 16 tokens original MIT

pith

05

abhisekjha/pith

Command

Control Pith token compression modes and access structured output formats, wiki, and status.

98 3mo ago A 16 tokens original MIT

compact

06

tinesoft/spec-kit-token-budget

Command

Compact one or more Spec-Driven Development artifacts in place to reduce token cost on subsequent /speckit. commands. Lossless on requirements, decisions, contracts, IDs; strips template scaffolding, examples, and prose padding. The original is preserved as .full.md the first time an artifact is compacted.

7 1mo ago A 65 tokens original MIT

concise

07

tinesoft/spec-kit-token-budget

Command

Toggle a project-local concise-output directive that suppresses agent prose padding during SDD steps. State lives in the project's agent memory file (AGENTS.md preferred when present, else CLAUDE.md / GEMINI.md / .cursor/rules / .windsurf/rules / etc.) inside a clearly marked block, so it is reversible and reviewable.

7 1mo ago A 71 tokens original MIT

restore

08

tinesoft/spec-kit-token-budget

Command

Restore one or more Spec-Driven Development artifacts to their original (pre-compaction) state from the .full.md backups created by /compact. Deletes each backup after a successful restore.

7 1mo ago A 39 tokens original MIT