Platform support
Token Optimizer has adapters for the coding platforms below, plus a separate experimental Pi extension. Each platform gets its own adapter built against that platform’s real hook API, not a lowest-common-denominator wrapper. Where an upstream API cannot do something, the page for that platform names the gap and the reason instead of pretending parity.
Supported platforms
Section titled “Supported platforms”Claude Code is the reference platform. Every feature ships there first, and every other platform page describes its capabilities relative to it.
| Platform | Surfaces | Status |
|---|---|---|
| Claude Code | CLI, VS Code extension | Stable |
| Codex | CLI, Desktop | Stable |
| OpenCode | Plugin | Stable |
| OpenClaw | Plugin | Stable |
| Hermes | Slash command, CLI | Beta |
| GitHub Copilot | CLI, VS Code | Beta |
| Cursor | IDE (Composer), CLI | Beta |
| Google Antigravity | CLI, App, IDE | Beta |
| Grok Build | CLI | Contract-only beta; live host unverified |
| Devin | CLI / Desktop Devin Local explicit output skill, opt-in automatic mode on the CLI; hosted manual template | Contract-only beta; live CLI workflow exercised; Desktop’s bundled agent exercised on macOS, Desktop window not |
| Pi | Extension | Experimental; opt-in measurement, unverified Git-source install |
| Cowork | Plugin, org console or personal upload | Experimental |
Claude Cowork runs the same Claude Code engine in a VM, so it is not a separate runtime. It reaches Cowork sessions through the org plugin console rather than a local install, and it packages an intended hook subset for probe verification in Cowork. It is experimental and not yet verified on a live build. See the Cowork page for the distribution path and the hook set.
The VS Code companion extension that surfaces Claude Code data also runs in Cursor and Devin (formerly Windsurf), because both are VS Code forks. That covers the editor status bar only. A standalone Cursor adapter with its own hook integration now ships in beta (see the Cursor page); a Devin CLI output-filter skill now ships as a contract-only beta, with an opt-in automatic mode (install.sh --devin --auto) and without editor parity.
Native per platform, not a shim
Section titled “Native per platform, not a shim”Each adapter maps Token Optimizer features onto the host’s own primitives. Codex reads AGENTS.md where Claude Code reads CLAUDE.md. Hermes opens its session database read-only because that is the access Hermes grants plugins. Copilot bills in AI Credits, so cost figures use Copilot’s own numbers rather than a token estimate. Antigravity decodes its per-conversation SQLite store read-only and prices sessions at Gemini list rates unless Antigravity reports its own credit figure.
The result is honest asymmetry. A feature that depends on a hook the platform does not expose is marked unavailable on that platform, with the upstream blocker named.
Compare every feature
Section titled “Compare every feature”The full grid of which feature works on which surface, including approximated and unavailable cells, lives at /reference/capability-matrix/.
