dosu-ai

Decant — Development skill for Claude Code

Development community

Local-first analysis of Claude Code and Codex sessions: token spend, context windows, files touched, and cost.

How to install Decant

This entry records only its repository, not the path inside it, so there is no exact command to give. Open dosu-ai/decant and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Decant does

Local-first analysis of Claude Code and Codex sessions: token spend, context windows, files touched, and cost.

Alternatives in Development

  • Update Scaffold — Check for and apply myPKA scaffold framework updates safely 296 ★
  • Quosparr — 🐦 Native menu bar & tray app for macOS, Windows and Linux: track Codex, Claude Code and Grok quotas, resets 288 ★
  • Edgee — Official Edgee CLI to interract with Edgee's Agent Gateway 127 ★

README

Decant

[![npm version](https://img.shields.io/npm/v/%40dosu%2Fdecant?logo=npm)](https://www.npmjs.com/package/@dosu/decant) [![npm downloads](https://img.shields.io/npm/dm/%40dosu%2Fdecant?logo=npm)](https://www.npmjs.com/package/@dosu/decant) [![CI](https://github.com/dosu-ai/decant/actions/workflows/ci.yml/badge.svg)](https://github.com/dosu-ai/decant/actions/workflows/ci.yml) [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/dosu-ai/decant/badge)](https://scorecard.dev/viewer/?uri=github.com/dosu-ai/decant) [![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)

Decant turns the Claude Code and Codex session logs on your machine into tangible insights. See where tokens, cost, and agent time go, inspect context usage, find the files and tools agents touch, and search complete transcripts from a CLI or local web UI.

Decant is local-first. It makes no outbound network calls at runtime, and your transcripts never leave your machine.

It does keep a copy of them. To make sessions searchable, Decant writes prompts, tool inputs, tool output, and canonicalized raw records for retained transcript messages into an **unencrypted** SQLite archive at `~/.decant/decant.db`, with a full-text index over the prompt and tool-argument text. Whatever your agents read is in there too — source code, file contents, local paths, and any credentials pasted into a session. Decant creates the archive owner-only (`0600`). If your organization has a retention policy for agent transcripts, this archive is subject to it. See [What the archive stores](docs/data-lifecycle.md#what-the-archive-stores) to inspect, delete, or remove it.

Built by [Dosu](https://dosu.dev?utm_source=decant&utm_medium=github&utm_campaign=attribution&utm_content=readme), Knowledge Infrastructure for Agents. Dosu helps make agents faster, cheaper, and more effective.

![Decant analytics dashboard](docs/assets/decant-serve.png)

Quick start

Run Decant