Ctxfire — Development skill for Claude Code
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` 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
Related Skills
Token Defrag
See what Claude Code and OpenCode spend re-reading their own context, and estimate what you could save. Offlin
Offline Telemetry Script
Offline analyzer for Claude Code session transcripts (~/.claude/projects/.jsonl). Pure-stdlib Python, no API c
Cost Estimate
Per-session token-overhead estimator (BL-READINESS-001 sibling). Breaks down the fixed context cost a session
Tokana
Where your tokens actually go — a local, factual token-usage analyzer for Claude Code. Reads its own usage rec
Claude Boot Stats
Per-component token cost analyzer for Claude Code first-turn context: HTTP intercept proxy + Qwen3 BPE + groun
Claude Usage Monitor
Claude Code statusline plugin for 5-hour/7-day quota, context usage, tokens, and reset countdowns in your term
Related Agents
Wp Context
Project-docs analyzer — reads a docs/ folder (scope spreadsheets, design PDFs, estimate/scope markdown) and ex
Agent Orchestration Context Manager
Elite AI context engineering specialist mastering dynamic context management, vector databases, knowledge grap
Graphify Knowledge Manager
Manages Graphify knowledge graphs (graphify-out/) – status/freshness check, incremental update (no LLM), impac