korovin-aa97

Ctxfire — Development skill for Claude Code

Development community

Static cost analyzer for multi-agent context graphs: explain what agents load and estimate tokens per fire and per day.

How to install Ctxfire

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

What Ctxfire does

Static cost analyzer for multi-agent context graphs: explain what agents load and estimate tokens per fire and per day.

Alternatives in Development

  • Opik Openclaw — 🦞 Official plugin for OpenClaw that exports agent traces to Opik 725 ★
  • Crusts — Run the CRUSTS context window analyzer and give me actionable advice 83 ★
  • Fire Cost — Track context usage, estimate session costs, and trigger strategic compaction 77 ★

README

ctxfire

**See what each configured coding agent can load, why it is included, and what that repeated context could cost.**

![ctxfire context graph preview](https://raw.githubusercontent.com/korovin-aa97/ctxfire/main/docs/assets/social-preview.png)

`ctxfire` is a local, telemetry-free static analyzer for multi-agent context graphs. It connects agent definitions to repository instructions, rules, and skills; multiplies the estimated input by each agent's schedule; and keeps every assumption visible.

Illustrative output (exact byte sizes plus estimates under declared assumptions):

implementer [codex@1]
  context candidates: 3 files, 18120 exact bytes/fire
  estimate: 3810 tokens/fire × 8/day = 30480 tokens/day
reviewer [claude-code@2]
  context candidates: 4 files, 22644 exact bytes/fire
  estimate: 4725 tokens/fire × 8/day = 37800 tokens/day

TOTAL estimated tokens/day: 68280

This is not a runtime meter or an invoice calculator. File sizes are exact; tokens, conditional activation, cache behavior, schedules, and API-equivalent prices are estimates recorded in every report.

Why another context-cost tool?

Most repository analyzers ask, “How large is this codebase?” Runtime meters ask, “What did this one session consume?” `ctxfire` asks a different question:

What is the transitive instruction surface of each agent, and what happens when the team loads it repeatedly every day?

The unit of analysis is `agent → loading rule → context file → schedule`, not a flat repository walk.

Quickstart

The runtime requires Python 3.11+ and Git. Install the published package with `pipx` (recommended) or another Python package manager:

pipx install 'ctxfire==0.2.0'
ctxfire --version
curl -fsSLo ctxfire.toml \
  https://raw.githubusercontent.com/korovin-aa97/ctxfire/v0.2.0/ctxfire.example.toml
ctxfire scan

The downloaded file is a template: edit the agent names, schedules, working directories, and context paths before treating its estimates