Skip to content

Capability matrix

Token Optimizer supports the surfaces in the grid below and the separately scoped Grok Build, Pi, and Cowork adapters. Feature coverage varies because each host exposes a different hook surface. The grid below shows exactly what works where. The full feature set lands on Claude Code; other platforms cover what their host APIs allow.

Legend: Yes = full support, Part = partial or capability-gated, Beta = beta status, No = not available, n/a = not applicable, verify = not confirmed in source.

Each runtime serves its dashboard on a fixed port, so multiple runtimes run side by side without conflict.

PlatformPortURL
Claude Code (CLI and VS Code)24842http://localhost:24842/token-optimizer
Codex (CLI and Desktop)24843http://localhost:24843/token-optimizer
Hermes24844http://localhost:24844
Copilot24845 (reserved)Not served yet. dashboard is refused under the Copilot runtime; use copilot-summary
Cursor24846http://localhost:24846/token-optimizer (verify)
Antigravity24847http://localhost:24847/token-optimizer
Grok Build24848http://localhost:24848/token-optimizer
CapabilityClaude Code CLIClaude Code VS CodeCodex CLICodex DesktopOpenCodeOpenClawHermesCopilot CLI (beta)Copilot VS Code (beta)Cursor (beta)Antigravity (beta)
Quality scoring7 signals7 signals7 signals (GPT-5.x curves)7 signals7 signals (MRCR curves)7 signals (two-stage)3 signals3 signals3 signalsUp to 5 signals (per-signal provenance)3 signals
S/A/B/C/D/F gradesYesYesYesYesYesYesYesYesYesYesYes
Smart Compaction (PreCompact/PostCompact)YesYesApprox. via prompt + StopApprox. via prompt + StopYes (mode-aware)Yes (progressive)Approx. (checkpoint before Hermes compacts, restore after)No (server-side)No (server-side)Part (preCompact checkpoint capture + one bounded restore; compaction itself host-side)No (no PreCompact hook)
Session continuity / checkpointsYesYesYesYesYesYes (progressive)Yes (from state.db; restore after compaction)Part (session-start restore)Part (session-start restore)Part (per-workspace restore)Yes (PreInvocation restore)
Status line (terminal quality bar)YesVia VSIXOpt-in Codex status lineNot a separate Desktop barNoNoNoNoNoPart (opt-in CLI statusLine; live fill unproven, renders ctx ?)No
Dashboard (visual HTML)Yes (24842)Yes (24842)Yes (24843)Yes (24843)YesYes (8-tab)Yes (24844)No (copilot-summary instead)YesYes (24846, verify)Yes (24847)
Daemon (bookmarkable URL)YesYesYesYesNo shared installerNo (own build)Foreground dashboard; setup blockedSetup blockedSetup blockedForeground dashboard; setup blockedForeground dashboard; setup blocked
Keep-Warm automationReporting; pings on inside a daily limit, after a noticeSame gateNoNoNoNoNoNoNoNoNo
Bash output compressionYesYesExperimental opt-inExperimental opt-inNoNoYes (output transform)Part (gated on CLI ≥1.0.24)NoYes (observed)Yes (PreToolUse rewrite, re-validated wrapper)
Delta read substitutionYesYesNoNoNoNoYesNo (blocked #2585)No (blocked #2585)NoNo
Structure-map substitutionYesYesNoNoNoNoYesNo (blocked #2585)No (blocked #2585)Part (Read interception: deny + user_message structure map; opt-in modes, delivery unverified)No
First-read retarget (opened file full; related skeletons)Promoted cohortsPromoted cohortsNoNoNoNoPromoted cohortsNo (blocked #2585)No (blocked #2585)verifyNo
Per-prompt quality / lean-output steeringYesYesVia UserPromptSubmitVia UserPromptSubmitYesverifyPart (75-89% fill tier)No (regressed #3727)No (regressed #3727)NoNo
Quality nudges and loop detectionYesYesverifyverifyYes (native gates)NoLimited nudge; loop detection yesNo (regressed #3727)No (regressed #3727)Part (tool-call proxy)Part (from last decoded generation)
Cache-health watchdogYesYesPartPartPartPartPartPartPartPartPart
Cost trackingYes (Claude)YesYes (GPT-5.x)YesYes (30+ models)Yes (30+ models, 4 tiers)Yes (model-agnostic)Yes (AI Credits)Yes (per-request nanoAIU)No (no cost data)Yes (Gemini list estimate; credits when reported)
Fleet AuditorYesYesYes (cross-system)YesNo (verify)Via own dashboardNoNoNoYes (fleet_cursor_adapter)No
Token CoachYesYesYes (AGENTS.md)YesverifyYesNoNoNoYes (cursor-coach)No
Memory / config auditYesYesYes (AGENTS.md + memories)YesNo (verify)YesNoNoNoYes (cursor-audit)No
Read-cache (warn/block modes)YesYesNoNoNoYesYesNoNoPart (opt-in soft_block/block via read-cache.json; shadow default; delivery unverified)No
Git-aware contextYes (CLI)Yes (same engine)Shared CLI analysisShared CLI analysisNoYesNoNoNoShared CLI analysisNo
Drift detectionYes (CLI)Yes (same engine)Shared CLI analysisShared CLI analysisNoYesNoNoNoShared CLI analysisNo
Impact validationYes (CLI)Yes (same engine)Shared CLI analysisShared CLI analysisNoYesNoNoNoShared CLI analysisNo
Agent cost breakdownNo (verify)NoNoNoNoYesNoNoNoNoNo
Model-switch simulationNo (verify)NoNoNoNoYesNoNoNoNoNo
Proactive context nudgeYesYesYesYesYesNo (verify)Limited (at 70%, only when native compression needs help)Part (version-gated)NoPart (30/80 tool calls)Part (from last decoded generation)
Crash recoveryYes (StopFailure)YesApprox. (Stop + compact)Approx.verifyverifyYes (checkpoint on fatal API error)Yes (in-flight tally)Yes (debug-log source)Yes (in-flight tally)Part (killed/incomplete flagged)

The repeated No entries fall into a few clear groups.

Read interception (delta and structure map) needs a hook that can rewrite the result of a file read before the model sees it. Claude Code supports this; Codex lacks updatedInput on its Read hook; Copilot’s additionalContext on preToolUse is broken upstream in Copilot CLI. Cursor’s preToolUse can deny a Read and inject a structure map or unchanged-note through user_message (opt-in soft_block/block modes, shadow by default, native delivery unverified) — interception rather than a true result rewrite, so delta substitution stays unavailable. OpenCode and OpenClaw have no equivalent hook in their APIs. Antigravity’s PreToolUse can overwrite what is about to be read but cannot rewrite the tool result, so the substitution features are unavailable there too. Hermes’s pre_tool_call can answer a read itself, so delta and structure-map reads work there.

Bash output compression needs a hook that can rewrite tool input silently. Available on Claude Code, Cursor (every Shell rewrite is recorded as honoured or ignored), and Antigravity (whose rewritten command is re-validated by the wrapper before execution), experimental opt-in on Codex, gated on a Copilot CLI version, and unavailable on the TypeScript platforms. Hermes compresses the captured output through its transform_terminal_output hook, so every command is covered without rewriting what runs. On Claude Code, build and test commands (gcc, cargo, npm, make, go, mvn, and more) are also compressed PostToolUse even when they are not read-only: the command already ran, so the hook collapses repetition in the captured output while preserving every distinct error line, exit status, and summary.

Quality Nudges and Loop Detection need a session-visible notification surface to inject a warning the model can act on. Claude Code has it via UserPromptSubmit; Cursor’s postToolUse context surface fires on a tool-call-count proxy when preCompact has not supplied real context numbers. OpenCode appends native warnings through its system-transform path; OpenClaw does not carry these shared nudges. Hermes exposes pre_llm_call for nudges and returns loop warnings with the terminal output itself.

Status line needs a host status surface. Claude Code has it (and the VS Code VSIX surfaces it in the editor). Codex CLI has an explicit --enable-status-line installer option; that does not add the Claude desktop status bar to Codex Desktop. Cursor CLI has an opt-in statusLine command (cursor_statusline.py), but current context fill is unproven on Cursor, so it renders ctx ? rather than a number.

Keep-Warm is for Claude Code. Automatic pings are on by default inside a daily dollar limit, after a one-line notice, with subscription or API billing. Terminal pings need macOS or Linux; the Windows scheduler is not implemented. OpenAI caching is automatic with no cache-write premium to recover; the other hosts have no comparable lever.

Cost tracking is absent on Cursor because the host exposes no billing figure to hooks or state files. The adapter surfaces cursor_no_cost_data rather than inventing a dollar number.

OpenClaw extras (read-cache warn/block, git-aware context, drift, impact validation, agent cost breakdown, model-switch simulation) are features of the native OpenClaw TypeScript engine. The Python CLI also ships git-context, drift, and validate-impact, and its Read hook supports warn/block modes. These are shared CLI or hook capabilities, not proof of parity with every OpenClaw dashboard simulation.

Where a platform exposes 7 signals, the score uses the full set: context-fill degradation, stale reads, bloated results, duplicate system reminders, compaction depth, decision density, and agent-dispatch efficiency. Hermes, Copilot, and Antigravity fall back to a 3-signal subset because their session schemas do not persist the other signals reliably. Cursor scores with every signal its data planes actually feed - message count, output/input ratio (verified tokens only), compaction depth, agent efficiency from recorded failures and terminal turn status, and decision density from the disk transcript - and omits the rest with named reasons, renormalizing the composite instead of fabricating health. Context fill is always omitted on Cursor: the host’s preCompact occupancy numbers are historical (taken at compaction time), so they survive as labeled metadata and as compaction depth’s event-heat input, never as a current-fill grade. The S/A/B/C/D/F grade scale is identical everywhere, so grades are comparable across platforms even when the underlying signal count differs.

CapabilityGrok Build (contract-only beta)Pi (experimental)
Token/quality reportingThree-signal score; session/signals data plus crash tallyActive-branch usage; cost coverage separates native, estimated, unpriced
CostHost USD ticks when complete; unknown otherwiseNative Pi cost subtotal, not a full bill
Bash compressionPreToolUse rewrite contract; live effect unverifiedNo trimming; full tool results stay inline
ContinuityNo SessionStart/prompt restore through this passive hook contractSeparately opt-in review candidates; explicit accept reinjects
Tool archiveNo general shared archive hook promisedSeparately opt-in redacted archive with bounded storage
DashboardShared foreground dashboard, port 24848; setup-daemon blockedExtension command/report; no Python daemon port
DefaultInstall wires five events; live host unverifiedMeasurement, continuity, archive off until separately enabled

See Grok Build and Pi for limits and install verification.

Cowork is not shown as a column above. It runs the same Claude Code engine in a VM rather than exposing its own hook API, so its feature coverage is that of Claude Code minus the events omitted from the packaged Cowork payload (SessionStart, PreCompact, PostCompact, SessionEnd, StopFailure, PostToolUseFailure, CwdChanged). The adapter is experimental and its hook firing is not yet confirmed on a live build, so a per-cell grid would overstate what has been verified. The Cowork page lists the intended hook set, what works, what is degraded (in-place compaction restore), and what is not measurable from inside a Cowork session.

For install commands, doctor commands, hook profiles, and platform-specific caveats, see the platform pages: Claude Code, Codex, OpenCode, OpenClaw, Hermes, Copilot, Cursor, Antigravity, Grok Build, Pi, and Cowork.

CapabilityDevin CLI / Desktop Devin Local (contract-only beta)Hosted Devin
Explicit captured-output compressionLocal filter verified; model adherence unverifiedManual playbook template, deployment unverified
Automatic command rewriting / output interceptionOpt-in via install.sh --devin --auto: only commands your own allow rules already run without a prompt; desktop/ACP pending verificationNo
Token measurementLocal output estimates only; not provider/session totalsNo API collector
Quality / ACU / cost / savings / dashboardNoNo
Continuity / native compaction controlNoNo
InstallPOSIX user-triggered skill (no hooks); --auto adds two hooks to the Devin user configManual workspace setup only

A live Devin CLI session exercised the documented workflow; Desktop’s bundled agent was exercised on macOS (skill listed and run over its ACP interface); the Desktop window itself was not, and no automated live-session validation exists. Desktop targets the documented shared skill-discovery contract, not Cascade or other ACP agents. Native Windows is unsupported. The estimate excludes orchestration overhead and does not prove delivered model tokens.