Pisama Claude Code — Development skill for Claude Code
Trace capture for Claude Code sessions with token usage and cost tracking.
How to install Pisama Claude Code
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Pisama-AI/pisama-claude-code and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pisama Claude Code does
Trace capture for Claude Code sessions with token usage and cost tracking.
Alternatives in Development
- Claude Usage — A local dashboard for tracking your Claude Code token usage, costs, and session history 864 ★
- Benjamin Plus Skill — Benjamin-Plus: a measured token-efficiency skill for coding agents (−17.9% cost median, quality unchanged) 272 ★
- Claude Dashboard — Comprehensive status line plugin for Claude Code with context usage, API rate limits, and cost tracking 258 ★
README
pisama-claude-code
Lightweight trace capture for Claude Code sessions with token usage and cost tracking.
[](https://pypi.org/project/pisama-claude-code/) [](https://github.com/Pisama-AI/pisama-claude-code) [](https://pypi.org/project/pisama-claude-code/) [](https://opensource.org/licenses/MIT) [](https://github.com/Pisama-AI/pisama-claude-code/actions/workflows/ci.yml) [](https://pepy.tech/project/pisama-claude-code) [](https://pypistats.org/packages/pisama-claude-code) [](https://github.com/astral-sh/ruff)
Demo

Why Pisama?
When working with Claude Code, have you ever wondered:
- How much did that session cost? Track token usage and costs in real-time
- What tools were called? See every Bash, Read, Write, and Edit operation
- Why did it fail? Capture traces for debugging and forensics
- Can I export my sessions? JSONL export for analysis or compliance
**pisama-claude-code** captures everything Claude Code does, locally and privately.
┌─────────────────────┐ ┌─────────────────────┐
│ Claude Code │ │ Pisama Platform │
│ + pisama-cc │ ──────▶ │ (optional) │
│ (capture) │ sync │ - detection │
└─────────────────────┘ │ - self-healing │
│ └─────────────────────┘
│
▼
Related Skills
Claude Session Visualizer
new Live visualization dashboard for Claude Code sessions with execution trees, token cost tracking, thinking
Codex Token Meter
Native macOS menu bar apps for tracking Codex and Claude Code token usage, quota, cache efficiency, cost, and
TokenWatch
Native macOS app for tracking coding-agent token usage and estimated cost
Flowmeter Public
Local, privacy-first token, cost, cache, and trace analysis for Cursor, Claude Code, and Codex. Optional Flow-
Agent Tracker
claude code & codex token, context, and cost tracking
Claude View
10 Claude sessions running. What are they doing? Live dashboard — monitor, cost tracking, search, sub-agent vi
Related Agents
Trace Analyst.Agent
Investigates agent-strace sessions to explain behavior, failures, cost, and tool usage.
Usage Scout
Read-only scout for session, token, and cost code in this FastAPI tracker. Use when the user asks where usage
Context Optimizer
Meta utility agent for token and context optimization. Spawn when needing to compress agent prompts, optimize