
Penny
The companion for your AI coding agents.
See what Claude Code and Codex used, which lines they wrote and why, keep every agent on the same project notes, and hand work between them.
Website ·
Docs ·
Spend Explorer
Coding agents are very good at the work and not very good at telling you about it afterwards. How close are you to your plan's limit? Which of these lines did an agent write, and what were you asking for at the time? Why does every agent need to be told "we use pnpm" separately? Where did the last session leave off?
Penny answers those from the session files your agents already keep on your machine. It isn't another coding agent: you keep using Claude Code, Codex, Cursor or whatever you like.
npx penny-code # one-screen overview for the current project
What it does
| Command | What you get |
|---|
penny | Overview: this week's usage per agent, sessions in this project, open handoffs, note sync state, next steps. |
penny usage | Tokens per agent, the last five hours, the heaviest session, and Codex plan limits with time to reset. Costs at API prices as a yardstick. |
penny blame <file> | Which AI session wrote each line, and the prompt behind it. Works on code written before you installed Penny. file:10-40 for line by line. |
penny memory add "…" | One set of project notes, written into CLAUDE.md, AGENTS.md, GEMINI.md, Cursor rules and Copilot instructions inside a managed block. penny memory check fails CI on drift. |
penny handoff / penny pickup --to codex | A one-page handoff from the latest session (task, files changed, commands, the agent's last words) and a fresh session in any agent that starts from it. |
penny cc install --budget 2 | For Claude Code: a status line with session cost, a spending cap that asks Claude to wrap up instead of stopping mid-edit, and auto-handoffs when a session ends. penny cc uninstall removes it. |
Supported agents
| Agent | Usage, blame, handoffs | Shared notes |
|---|
| Claude Code | yes | yes (CLAUDE.md) |
| Codex CLI | yes, including plan limits | yes (AGENTS.md) |
| OpenCode | not yet | yes (AGENTS.md) |
| Cursor | not yet | yes (.cursor/rules/penny.mdc) |
| Gemini CLI | can pick up handoffs | yes (GEMINI.md) |
| GitHub Copilot | not yet | yes (.github/copilot-instructions.md) |
Penny reads ~/.claude/projects (or CLAUDE_CONFIG_DIR) and ~/.codex/sessions (or CODEX_HOME). Adding an agent needs a stable, documented session format; open an issue if you'd like one.
Install
npm install -g penny-code # Node 20+; installs the `penny` command
Inside Claude Code, without a terminal
If you use Claude Code in the desktop app or don't want a terminal, install Penny as a Claude Code plugin. Its features become slash commands in the chat:
/plugin marketplace add sarthwa8/penny
/plugin install penny@penny
| Command | What it does |
|---|
/penny:overview | one-screen summary of usage and this project |
/penny:usage | usage per agent, last five hours, Codex limits |
/penny:blame [file] | which AI session wrote a file's lines; no file lists AI-edited files |
/penny:notes [add "…"] | one set of project notes for every agent |
/penny:handoff · /penny:pickup | write a handoff, or continue the latest one here |
/penny:budget [usd|off] | per-session spending cap |
The plugin also writes a handoff automatically when a session that changed files ends. It uses your installed penny if there is one, otherwise npx penny-code (Node 20+). If you also ran penny cc install, run penny cc uninstall so the hooks don't run twice.
Penny's own agent (optional)