Pisama-AI

Pisama Claude Code — Development skill for Claude Code

Development community

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.

[![PyPI version](https://img.shields.io/pypi/v/pisama-claude-code.svg)](https://pypi.org/project/pisama-claude-code/) [![GitHub stars](https://img.shields.io/github/stars/Pisama-AI/pisama-claude-code?style=social)](https://github.com/Pisama-AI/pisama-claude-code) [![Python versions](https://img.shields.io/pypi/pyversions/pisama-claude-code.svg)](https://pypi.org/project/pisama-claude-code/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![CI](https://github.com/Pisama-AI/pisama-claude-code/actions/workflows/ci.yml/badge.svg)](https://github.com/Pisama-AI/pisama-claude-code/actions/workflows/ci.yml) [![Downloads](https://static.pepy.tech/badge/pisama-claude-code)](https://pepy.tech/project/pisama-claude-code) [![Downloads/month](https://img.shields.io/pypi/dm/pisama-claude-code)](https://pypistats.org/packages/pisama-claude-code) [![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)

Demo

![pisama-claude-code demo](assets/demo.gif)

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    │
        │                       └─────────────────────┘
        │
        ▼