Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Koukyosyumei/h5i-ctx2img --skill ctx2imggit clone --depth 1 https://github.com/Koukyosyumei/h5i-ctx2imgWrote 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/koukyosyumei/h5i-ctx2img/ctx2img)<a href="https://agentmods.dev/skills/koukyosyumei/h5i-ctx2img/ctx2img"><img src="https://agentmods.dev/badge/skills/koukyosyumei/h5i-ctx2img/ctx2img/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/koukyosyumei/h5i-ctx2img/ctx2img"><img src="https://agentmods.dev/badge/skills/koukyosyumei/h5i-ctx2img/ctx2img.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.00103 | $0.00976 |
| Opus 5.5 | $0.00041 | $0.00390 |
| Sonnet 5.5 | $0.00021 | $0.00195 |
| Haiku 4.5 | $0.00010 | $0.00098 |
Grade A, and why
ctx2img 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 — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ctx2img — Repository Atlas
ctx2img compiles the repository into a query-conditioned map: an image where
position = module topology, cell area = code size, elevation (▲1–▲5) =
relevance to your current task, hatched red = trust hazards, arrows =
dependencies. Every region/file/symbol carries a stable handle (R3, F103,
S12) that resolves back to exact source. The image is an index, never the
source of truth — exact code always comes from ctx2img read as text.
Workflow
-
Index the repo against your task (auto-builds on first run):
ctx2img paint . --budget 2000 -q "<one line describing your task>"stdout is the legend (region roster with handles + elevation). If it prints an
# atlas: <path>line, Read that PNG file now — the image carries the geography the legend can't. On small repos it may print a text-only roster instead (representation: text) — that alone is a complete map; no image to read. -
Pick the summit. Start from the highest-elevation regions (▲5/▲4) and their top files.
⚠net/exec/secrets/evaltags mark files that touch the outside world — relevant for anything security-adjacent. -
Focus where the task points — paint just that module or file:
ctx2img paint src/auth -q "<task>" # one module's FULL SOURCE as image tiles ctx2img paint src/auth/session.rs # a single file as dense pagesSubdirectory paints share the whole repo's handles and relevance, so the tiles line up with the atlas you already saw.
-
Get exact source as text (never trust pixels for code):
ctx2img read F103 # whole file, numbered ctx2img read S12 # just that symbol's line range ctx2img read F103 --lines 40:120 ctx2img read --find "session" # search paths+symbols, answers in handles -
Compress any bulky text (a long doc, tool output, a spec — or a whole directory) before ingesting it:
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 · 80 lines · 103 tokens per session scan A e4921363f9a8
ctx2img is a skill published in the GitHub repository Koukyosyumei/h5i-ctx2img (2 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 103 tokens to every session and 976 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
local-knowledge-router
Route local operational questions to indexed skills, scripts, runbooks, cron jobs, MCP servers, and docs before guessing paths or doing broad file search.
handoff
Create, validate, list, and load local Portable Handoff capsules for context transfer, continuing work in a new chat, compacting current work, or loading prior work. Use whenever the user asks for a handoff, context transfer, continuation briefing, or portable work-state summary.
source-command-latch-seed
Preview and apply latch seed candidates from the exact current Cursor conversation. Use when the user invokes latch-seed or /latch-seed in Cursor.
context-canvas-checkpoint
Maintain an optional session task map and explicit retrievable references in Context Canvas Codex. Use when navigation or long-context offload would materially help with goals, decisions, progress, dependencies, blockers, next steps, exploration summaries, large textual tool results, or selective historical…
zerodust
Sweep 100% of native gas tokens (ETH, BNB, MATIC, etc.) from EVM chains via ZeroDust, leaving exactly zero balance. Use when: user wants to exit a chain completely, consolidate dust balances, clean up wallets, or bridge remaining native tokens cross-chain. Supports the EIP-7702 chains the API lists (GET /chains)…
context-canvas-memory
Use for compaction, coordination, or two complexity cues.