phoenix-context

phoenix-context is a skill for Claude Code, Codex from All-The-Vibes/ATV-Phoenix. It costs 94 tokens per session (1,636 once invoked), scanned A, original, MIT.

A codebase-understanding step that answers structural questions using a prebuilt code graph and only the relevant code snippets. A code graph maps relationships such as which files call or depend on others.

In plain words
What is it for?
Use it to find callers and dependencies, understand what a change may break, and gather focused context before planning or debugging.
Why use it?
It reduces repeated file reading and helps estimate the impact of a change. This is useful when the codebase is unfamiliar or the change may affect many places.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python skills/phoenix-okf/scripts/okf_ingest.py <bundle> # outline (cheap, once).

Good fit Use it to find callers and dependencies, understand what a change may break, and gather focused context before planning or debugging.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/All-The-Vibes/ATV-Phoenix
agentmods
npx agentmods add skills/all-the-vibes/atv-phoenix/phoenix-context

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for phoenix-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/all-the-vibes/atv-phoenix/phoenix-context/github.svg)](https://agentmods.dev/skills/all-the-vibes/atv-phoenix/phoenix-context)
Your own site
<a href="https://agentmods.dev/skills/all-the-vibes/atv-phoenix/phoenix-context"><img src="https://agentmods.dev/badge/skills/all-the-vibes/atv-phoenix/phoenix-context/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for phoenix-context

Your own site · 80×15
<a href="https://agentmods.dev/skills/all-the-vibes/atv-phoenix/phoenix-context"><img src="https://agentmods.dev/badge/skills/all-the-vibes/atv-phoenix/phoenix-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,636 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.01636
Opus 5.5 $0.00038 $0.00654
Sonnet 5.5 $0.00019 $0.00327
Haiku 4.5 $0.00009 $0.00164

Measured 1mo ago against content hash 85198db2ddf2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

phoenix-context scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/phoenix-context/SKILL.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

phoenix-context — make every token earn its place

Overview

A model has no memory between turns, so the harness re-sends the whole transcript every turn — every file you read is re-paid for on every subsequent turn. The cost that matters is not tokens sent but tokens processed, summed across all turns until the task is done. phoenix-context collapses that: structural questions go to a prebuilt code graph (the bundled TokenMasterX, graphify-backed), answered in one bounded query, instead of grep-and-read loops that compound turn after turn.

Pay once to understand structure, then never again.

When to use

  • Any non-trivial / unfamiliar codebase.
  • Before a change whose blast radius is unclear ("what breaks if I change this signature?").
  • During phoenix-plan (scope the real impact) and phoenix-debug (isolate the cause).
  • Whenever you catch yourself opening a 3rd+ file to answer a structural question.

When NOT to use: a short, local question grep answers in ~one turn, or you already have the snippet.

Two ways to assemble the same answer

   GREP its way there                    GRAPH lookup
turn 1  grep            2,000         turn 1  query graph   2,500
turn 2  read auth.py    6,000         turn 2  answer        3,000
turn 3  read server    11,000         ─────────────────────────
turn 4  read handlers  17,000         TOTAL PROCESSED       5,500
turn 5  grep narrower  19,000
turn 6  read config    24,000         Same answer.
turn 7  answer         26,000         19x less context processed.
─────────────────────────
TOTAL PROCESSED       105,000   ← it is the AREA UNDER THE CURVE, not the last turn

Route structural questions to the graph

Question Graph query
"Who calls X?" / reverse dependencies callers (or impact for the transitive blast radius)
"What does X call?" callees
"What inherits / overrides X?" inheritors
"Orient me on this unfamiliar symbol" explain (or find to disambiguate a definition first)
"What breaks if I change X?" impact

Read the full file on GitHub · 113 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 113 lines · 94 tokens per session scan A 85198db2ddf2

Subscribe to this mod's changes

phoenix-context is a skill published in the GitHub repository All-The-Vibes/ATV-Phoenix (6 stars, last pushed 6d ago), licensed MIT. It adds 94 tokens to every session and 1,636 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

cva-analysis

Systematic abstraction discovery using Commonality Variability Analysis. Build matrix of what varies vs what's constant, then let patterns emerge. Prevents wrong abstractions by deferring pattern selection until requirements are analyzed. Use when facing multiple similar requirements and need to discover natural…

rjmurillo/ai-agents · 58 tokens

programming-advisor

Evaluate existing solutions (libraries, SaaS, open source) AND internal prior-art before custom development to avoid reinventing the wheel. Use when considering building new features, asking "should I build or use existing", "do we already have this", "is there existing code for X in this repo", "is there a library…

rjmurillo/ai-agents · 113 tokens

world-model-diagnostic

Twenty-minute diagnostic mapping a team to a world-model paradigm (vector DB, structured ontology, signal-fidelity). Use when you say "run the world model diagnostic", "audit our world model", "which world model architecture fits us", or "audit where we automate judgment". Use for AI readiness assessments and…

rjmurillo/ai-agents · 94 tokens

ai-agents-portability-campaign

Execute cross-harness hook changes for Claude Code and GitHub Copilot CLI using the settled official contract, versioned probes, generators, and runtime tests. Use for run the portability campaign, port hooks to a new harness, copilot hook timeout regression, or new copilot cli release, recheck the contract. Do NOT…

rjmurillo/ai-agents · 104 tokens

pre-mortem

Guide prospective hindsight analysis to identify project risks before failure occurs. Teams imagine the project has failed spectacularly, then work backward to identify causes. Increases risk identification by 30% compared to traditional planning. Use when you say "run a pre-mortem on", "what could cause this to…

rjmurillo/ai-agents · 97 tokens

maintainer-review

Make a need-gated maintainer decision (merge, request changes, supersede, close) on one PR or issue and draft a comment, with no remote action. Use for maintainer decision on this PR. Do NOT use as the quality gate (use review) or to answer your own PR threads (use pr-comment-responder).

rjmurillo/ai-agents · 73 tokens