App mode
Use Codex, Cursor, or Claude Code as your normal coding app. Start requests with tp:; tokenpatch only needs executor credentials.
pip install tokenpatch
tokenpatch bootstrap
# In Codex, Cursor, or Claude Code:
tp: add a status filter. Only modify src/orders.tsx and src/orders.css.
CLI mode
Use this path for terminal workflows, CI, or deterministic support diagnostics.
tp setup
tokenpatch init
tokenpatch doctor --api
tp do "Add a status filter to the order list" --allowed-file src/orders.tsx
tp report
What to look for
The report prints a Savings Snapshot with actual cost, baseline cost, savings ratio, applied patches, and cost per applied patch.