Supported tools

Which AI coding tools the CLI reads, what it captures from each, how Claude Code is classified as metered or seat, and every limitation.

PlanckSpace reads the usage records your AI coding tools already keep on disk, and what it can learn depends on what each tool records. This page states, tool by tool, what the CLI reads, what it gets and what it cannot get. It never fills a field the tool did not record: a missing value is 0 or empty, not a guess.

At a glance

ToolLevelWhat you getIn the console
Claude CodeFullExact tokens for every turn with a dollar amount computed from them, tool calls, files touched, subagent turns, repository, branch and outcome.Yes
CursorStableSessions with timing, turns, tool calls, files touched, repository and outcome. No tokens and no dollar amount, because Cursor does not store tokens locally.Yes
WindsurfBeta, unverifiedTiming and message counts if the CLI recognizes Windsurf's local data. Model, tokens and a dollar amount only if present.No
JetBrains AI AssistantDetectedAt best a timing-only record per conversation. No model, tokens, dollar amount or files.No
Anything elseNot readNothing.No

planck status and planck scan print the level as a label after the tool name: [stable], [beta] or [detected]. Claude Code has no label.

What the console shows

The console shows sessions from Claude Code and Cursor. It filters Windsurf, JetBrains and Antigravity out of every page, because their token accounting has not been verified end to end. The CLI uploads Windsurf and JetBrains sessions like any other, and it has no reader for Antigravity at all.

What the CLI captures

A session's dollar amount is cost when the session is metered, and usage value when it is on a seat.

FieldClaude CodeCursorWindsurfJetBrains AI Assistant
Session start and endEvent timestampsMessage timestampsMessage timestamps, if the format is recognizedTimestamps found in the config files
ModelPer turnUsually default when Cursor's Auto picker chooses. The pinned model when you pin one.Only if presentunknown
Input and output tokensExact, per turnAlways 0Only if present0
Cache read and write tokensExact000
Dollar amountComputed from tokens$0$0 unless tokens and a priced model are present$0
TurnsOne per assistant API callOne per user promptOne per user messageA rough count
Tool callsNames and counts per turnNames and counts per turnNoneNone
Files touchedUnique paths from the Read, Edit, Write and NotebookEdit toolsFiles the agent modified, by Cursor's own count, plus paths from tool calls00
Repository and branchFrom the working directory's git repositoryFrom the workspace path's git repositoryFrom the workspace path, if presentNone
OutcomeFrom gitFrom gitFrom git, when a repository is foundNone

The repository name is the folder name of the git repository's root. File paths are sent relative to the repository, and a path outside the working directory is reduced to its file name. The same rules apply to every tool.

Claude Code

The CLI reads the session logs under ~/.claude/projects, or under projects inside the folder CLAUDE_CONFIG_DIR names. The daemon watches them as they change, and planck scan reads them on demand.

  • One turn per API call. Claude Code logs a call once per content block, and the CLI counts it once. Placeholder turns with no tokens, such as compaction markers, are ignored.
  • The dollar amount is computed on your machine from exact per-turn tokens and the price of that turn's own model. See Prices and unpriced turns.
  • Subagents count. Claude Code writes each subagent's turns to <session>/subagents/*.jsonl. From CLI 0.4.0 they are merged into the parent session, ordered by time and priced on their own models. The session's model stays the main session's model. Before 0.4.0, delegated work was missing from the totals.
  • Outcome comes from git. The CLI compares each session with its repository's git history to decide whether the work shipped, was abandoned, or is still unknown. See Sessions.

Cursor

The CLI opens Cursor's local state database, state.vscdb, read-only. It lives under ~/Library/Application Support/Cursor on macOS, %APPDATA%\Cursor on Windows and ~/.config/Cursor on Linux, in User/globalStorage.

A session is one chat or agent conversation with at least one user prompt. Empty drafts are skipped. A turn is one prompt plus the assistant messages that follow it.

Cursor meters usage on its servers and does not store token counts locally, so tokens are always 0 and the dollar amount is $0. The CLI still reads the token fields, so a Cursor build that stores them would be picked up. A Cursor session is therefore counted and attributed, but it carries no dollars.

Windsurf

The CLI looks in state.vscdb for Windsurf and for Windsurf - Next, using the same layout as Cursor. It reads only values under keys that look like Cascade conversations, and it accepts only values shaped like a conversation with timestamps.

Windsurf's local format has not been verified against a real installation, which is why support is beta. If the CLI finds matching keys but cannot recognize the format, it prints a one-line warning and reads nothing. It never invents sessions, tokens or models. Windsurf sessions carry no files and no tool calls.

JetBrains AI Assistant

The CLI looks for AI Assistant files in the config folder of each JetBrains IDE, such as IntelliJ IDEA, PyCharm, WebStorm, GoLand, CLion and Rider. That folder is ~/Library/Application Support/JetBrains on macOS, ~/.config/JetBrains on Linux and %APPDATA%\JetBrains on Windows.

The format is unverified, so the CLI extracts only timestamps. Each match becomes a timing-only record: model unknown, 0 tokens, $0, no files and no repository. If it finds an installation but no recognizable data, it prints a one-line notice and reads nothing.

Tools the CLI does not read

The CLI has no reader for any other tool, so its usage does not appear in PlanckSpace. That includes GitHub Copilot and Antigravity. Antigravity exists as a tool name in the data model, but no sessions are read from it.

Metered or seat

Every session is filed in one of two ledgers: billed for metered, pay-per-token work, and usage value for work done on a flat-rate seat. See Billed and usage value.

Claude Code

With an upcoming CLI release, the CLI will work this out from Claude Code's own configuration; CLI 0.5.2 does not send it yet. It reads Claude Code's managed settings file, the settings.json in your Claude config folder, and .claude.json. Each variable below is looked for in the process environment and in the env blocks of those settings. The first match wins.

OrderSignalResult
1CLAUDE_CODE_USE_BEDROCK is setMetered, through Bedrock
2CLAUDE_CODE_USE_VERTEX is setMetered, through Vertex
3CLAUDE_CODE_USE_FOUNDRY is setMetered, through Foundry
4ANTHROPIC_AUTH_TOKEN is setMetered, through an auth token
5ANTHROPIC_API_KEY is set, and Claude Code has not rejected the keyMetered, with an API key
6An apiKeyHelper is configuredMetered, through a key helper
7You are signed in with an Anthropic Console account rather than a subscriptionMetered, through a Console login
8You are signed in with a Claude subscriptionSeat
9None of the aboveUnknown

Only the result leaves the machine: mode (metered, seat or unknown), the signal that decided it as via, and, for a Console login, the Anthropic organization ID. No key, token or helper command is sent. The result goes with each sync from a machine where Claude Code has run.

Metered sessions are filed as billed. Detection only ever adds billed: a detected seat or unknown never overrides an API plan you declared with planck init --plan api, and an unknown result is treated as seat usage. The CLI classifies with Claude Code's current configuration, so one machine has one answer for every Claude Code session it scans. When you declare a different plan, sessions from before the change keep the classification they had.

Cursor and Windsurf

A session is filed as billed only when you declared an api plan for that tool with planck subscription add. Otherwise it is usage value on a seat.

Plan stamps

A seat session carries the plan of its tool's seat. For Claude Code that is the seat an owner, leader or admin assigned you in the console: pro, max_5x, max_20x, team_standard, team_premium or enterprise, or default for a seat declared without a plan name. The CLI reads it from the workspace when it connects and the daemon checks again every 15 minutes, so a developer is never asked. The older generic max and team are still accepted. With no workspace leader, set it yourself with planck init --plan or planck subscription add. An assigned seat replaces a plan set that way. A stamp is filled in only where the session has none, and metered sessions are never stamped.

PlanckSpace uses the stamp to say that a session is included in a plan, and to measure dormant seats and Max to Pro right-sizing against the right plan. See Findings.

Claude Code capabilities by CLI version

CapabilityCLI version
Subagent turns merged into the parent session0.4.0
Metered or seat detection, and the per-turn detail belowAn upcoming release; not in 0.5.2
Agent configuration snapshots and skill names0.5.1

Per-turn detail (upcoming)

These fields arrive with an upcoming CLI release. The current release (0.5.2) does not send them yet. Each field is sent only when Claude Code recorded it, and each is a number or a short identifier, never text.

FieldMeaning
thinkingTokensTokens used for extended thinking.
effortThe effort level: low, medium, high, xhigh or max.
cacheWrite1hTokensThe part of the cache writes that used the 1-hour cache.
cacheMissReason, cacheMissedTokensWhy a prompt cache missed, and how many tokens it missed.
toolResultTokensAn estimate, in characters divided by 4, of what the turn's tool calls returned.
speedstandard or fast.
compactionTrigger, preCompactTokensWhether context was compacted automatically or manually before the turn, and its size before compaction.
agentTypeThe subagent type, on subagent turns.

These fields feed the levers on the Optimize page. See Telemetry for the full payload.

Agent configuration snapshots (0.5.1)

Agent setup reads a metadata-only snapshot of how each repository is set up for agents. CLI 0.5.1 is the first build that sends it, and earlier builds do not. A snapshot describes each instruction file, such as CLAUDE.md, by size, line count, an estimated token count, a keyed hash and its last commit time. It lists the number of hooks per event and the names of skills, commands and MCP servers, with the MCP transport and the model setting. It never carries file contents, hook commands, server URLs or environment values, and the backend rejects a payload that does. Repositories your workspace does not track are dropped.

On devices below 0.5.1, Agent setup shows how many need a daemon update.

Prices and unpriced turns

The dollar amount is computed on your machine, per turn, from exact token counts and the price of that turn's own model. A model the CLI cannot price is counted as unpriced. Its turns are left out of the amount, and they are never filled with a guess or a zero.

planck diagnose lists the model IDs the CLI has seen, which of them it cannot price, and how many of your sessions it counted as billed or as seat usage. The console's coverage menu reports unpriced turns too, and a build the backend knows cannot price a model now in use is flagged Update required.

Model endpoints

The Assets page names the path each session's model calls took, read from the model ID and never guessed from dollar amounts.

What the session showsEndpoint
A metered Claude Code session with a claude model IDAnthropic API
A Bedrock model ID: arn:aws:bedrock…, anthropic.…, or a region prefix such as us.anthropic.…AWS Bedrock
A Claude model ID with an @ date suffix, such as …@20250514Google Vertex
gpt…, o followed by a digit, chatgpt, codex or openaiOpenAI API
gemini…Google AI API
grok…xAI API
deepseek…DeepSeek API
mistral… or codestral…Mistral API
An Ollama or LM Studio tag, or an open-weights family such as Llama, Qwen, Gemma, Phi or StarCoderLocal model
Any other ID on a metered sessionOther API

Only metered Claude Code sessions are placed on a provider API. A seat session shows as the tool's own plan, such as Claude plan or Cursor plan, and metered usage through another tool shows as that tool's usage. A model served locally shows as Local model whatever the billing.

Recognizing an endpoint does not pull its invoice. Billing connections exist for Anthropic, OpenAI and AWS Bedrock. See Connect billing.

Editors that host the extension

The editor extension runs in VS Code 1.85 or newer, Cursor, Windsurf and VSCodium. It reads the same local data the CLI writes.