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.
git clone --depth 1 https://github.com/All-The-Vibes/ATV-Phoenixnpx agentmods add skills/all-the-vibes/atv-phoenix/phoenix-contextWrote 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.
[](https://agentmods.dev/skills/all-the-vibes/atv-phoenix/phoenix-context)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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) andphoenix-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 |
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.
- 1mo ago First seen · 113 lines · 94 tokens per session scan A 85198db2ddf2
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.
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…
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…
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…
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…
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…
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).