docs
PromptConduit overview
PromptConduit shows what AI coding costs: per session on your machine, and per member, repo and pull request for your team.
PromptConduit is an open-source CLI and an optional team platform. The CLI hooks into Claude Code and Cursor, records every prompt and tool call to a file on your machine, and prices each turn there. You can stop at that point: local capture, cost and skills need no account. A team can sync the same events to see cost across members, models, repos and clients, with budgets and alerts.
curl -fsSL https://promptconduit.dev/install | bash promptconduit init
The Quickstart walks through these two commands and your first captured event.
How it works
- Capture.
promptconduit installadds hooks to your assistant's own config file. Each time the assistant fires a hook, the CLI writes one event to~/.promptconduit/events.jsonl, with git context and timing. - Price. At the end of each turn the CLI prices the tokens against a bundled
rate card.
promptconduit costand the editor extension read that local cost. Models missing from the card are marked unpriced, never guessed. - Sync, if you choose to. After
promptconduit login, the same events are uploaded in batches to the PromptConduit API. Your team sees them by member, repo, client, model and pull request. In local-only mode no events leave your machine. - Ask. A built-in MCP server lets your assistant answer cost questions itself, such as "what has this session cost?" or "are we on budget this month?".
Note
Claude Code and Cursor are supported. Gemini CLI, Codex, Copilot, and Grok Build work behind
--experimental. See Supported tools for what each one
captures.
Choose your path
You code with Claude Code or Cursor
- Quickstart: install the CLI and see your first event and its cost.
- See what your sessions cost: by session, by day, and for the CI runs your sessions set off.
- Editor extension: live cost in the Cursor or VS Code status bar.
- Skills: turn your own transcripts into Claude Code skills, with no account needed.
You lead a team
- Set up a team: invite people, then see cost by member, repo, client and pull request, with budgets and alerts.
- Claude Code telemetry: send Claude Code's built-in OpenTelemetry for team cost, with nothing to install on each laptop.
- Pricing: teams of up to 3 are free. Larger teams use a flat monthly plan, not per-seat billing.
You're an AI agent
- AI agents (MCP): the local and remote MCP servers, every tool, and the
matching
--jsoncommands. - llms.txt: an index of every page. Each page also has a Markdown copy at
its URL plus
.md.
All pages
Get started
- Quickstart
Install the PromptConduit CLI, run promptconduit init, and see your first captured Claude Code or Cursor event and its cost in about two minutes.
- Install, upgrade and uninstall
Install the PromptConduit CLI on macOS, Linux or Windows, pin a version or install directory, keep it updated, and remove it cleanly.
Track cost
- See what your sessions cost
Price Claude Code and Cursor sessions on your machine with promptconduit cost, by session and by day, find and resume sessions, and see what CI runs cost.
- Editor extension
Live cost in the Cursor or VS Code status bar, and The Loop: what each prompt cost, round-trip by round-trip, and what would have made it cheaper.
- Troubleshooting
Fix missing events, missing or unpriced cost, Claude Code sessions with transcript saving off, headless sign-in, an out-of-date CLI, and MCP registration.
Teams
- Set up a team
Create a team, invite people, and see AI coding cost by member, repo, client and pull request, with monthly budgets, email and Slack alerts, CSV export, roles and plans.
- Claude Code telemetry
Send Claude Code’s built-in OpenTelemetry to PromptConduit for team cost by member, model and repo, with nothing to install.
Skills
- Skills
Generate Claude Code skills from your own transcripts with no account. Or build them from synced and team sessions, with evidence, a daily health check and an impact report.
Agents
- AI agents (MCP)
Ask Claude Code or Cursor what a session or your team cost. The CLI’s built-in MCP server answers with live cost, budgets and savings.
Reference
- CLI reference
Every promptconduit command and flag, generated from the CLI release: setup, install, cost, CI, team, MCP, sessions, sync, skills, config and diagnostics.
- Configuration
Every PromptConduit CLI setting, environment variable and file: API keys, environments, local-only mode, retention, batch upload, auto-update, the usage ping and debug mode.
- Supported tools
PromptConduit captures Claude Code and Cursor in real time (Gemini CLI, Codex, Copilot, and Grok Build are experimental), and generates skills from Claude Code, Codex, and Copilot transcripts.
- API reference
The PromptConduit REST API for sending events: the envelope, /v1/events/raw and its batch endpoint, OpenTelemetry, errors, retries, and the other public endpoints.
Concepts
- How PromptConduit works
One event from hook to dashboard: the envelope, the local event log and masking, batched upload, what the platform keeps, and every network call the CLI makes.
- Security and privacy
What PromptConduit captures, what it masks, what leaves your machine and when, what the platform stores, the known gaps, and how to report a problem.