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 $0.00047 $0.00818
Sonnet 5 $0.00019 $0.00327
Haiku 4.5 $0.00009 $0.00164

Measured 10d ago against content hash 85198db2ddf2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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. 10d 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 (5 stars, last pushed 5d ago), licensed MIT. It adds 94 tokens to every session and 1,636 once invoked, about $0.0005 per session on Opus 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

rework-rate

Measure and interpret PR rework rate — the emerging 5th DORA metric.

bradygaster/squad · 20 tokens

security-review

Perform a focused security review of pending git changes to identify high-confidence security vulnerabilities with real exploitation potential. Use this skill when the user asks for a security review, security audit, vulnerability scan, or wants to check pending changes on a branch for security issues before merging.…

waybarrios/opencode-power-pack · 64 tokens

huggingface-llm-trainer

Train or fine-tune language models with TRL or Unsloth on Hugging Face Jobs, including SFT, DPO, GRPO, reward models, and GGUF conversion. Use for cloud LLM training; use huggingface-vision-trainer for vision tasks.

waybarrios/opencode-power-pack · 65 tokens

feature-dev

Guide a feature implementation through a structured seven-phase workflow with deep codebase understanding, clarifying questions, parallel architecture design, and quality review. Use this skill when the user asks to build a new feature, add functionality, or wants a methodical approach to implementation rather than…

waybarrios/opencode-power-pack · 62 tokens

semgrep-rule-variant-creator

Creates language variants of existing Semgrep rules. Use when porting a Semgrep rule to specified target languages. Takes an existing rule and target languages as input, produces independent rule+test directories for each language.

waybarrios/opencode-power-pack · 50 tokens

learning-quality

Structured format for capturing high-quality learnings during ClosedLoop runs.

closedloop-ai/claude-plugins · 15 tokens