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 me-cedric/agent-compass --skill untangle-codebasegit clone --depth 1 https://github.com/me-cedric/agent-compassWrote 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/me-cedric/agent-compass/untangle-codebase)<a href="https://agentmods.dev/skills/me-cedric/agent-compass/untangle-codebase"><img src="https://agentmods.dev/badge/skills/me-cedric/agent-compass/untangle-codebase/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/me-cedric/agent-compass/untangle-codebase"><img src="https://agentmods.dev/badge/skills/me-cedric/agent-compass/untangle-codebase.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.00042 | $0.00920 |
| Opus 5.5 | $0.00017 | $0.00368 |
| Sonnet 5.5 | $0.00008 | $0.00184 |
| Haiku 4.5 | $0.00004 | $0.00092 |
Grade A, and why
untangle-codebase 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 14d 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 — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Untangle codebase
Adapted from caldoai/skills (MIT, Maze). This is a planned refactor of many files. Do not start it for a small task.
Goal: pieces that change together sit together. Pieces that change for different reasons are not tied. Everything depends on what changes less.
Before you start
- Check the branch and its base. Work on a branch, not on the default branch. Do not commit unless the user asks.
- Run the project checks. Record the result. A red check before the start is a blocker: report it and stop.
- Ask one question: do you also want Comments (remove comments that only restate the code) or Tests (see step 4)? Do only what the user picks.
1. List every problem
Change nothing yet. Ask one question about each piece: should these pieces change together? Write each wrong answer in a decision log (see references/decision-log.md). There are three kinds.
Hidden links: pieces that must change together, with nothing in the code that shows it.
- Copies of logic or values.
- A module that reads a global or file that another module sets.
- A feature split across folders by layer.
- A call order or convention that callers must know.
Needless links: pieces that are tied but change for different reasons.
- Callers that depend on internals.
- Stable code that imports volatile code.
- A general function with a parameter that only one workflow understands.
- A shallow module: its interface changes when its internals change.
Surplus: pieces with no reason of their own to change.
- Wrappers that only pass calls through.
- Extension points and config for things that never vary.
- Dead code.
Also write each special case: code that exists for one situation and does not follow from how the system works. Examples: an if for one value, a parameter for one caller, a swallowed exception, a retry or sleep, a disabled test. Each one is a requirement that the design did not plan for.
2. Redesign from first principles
Work out the fixes as if the system had known today's requirements from the start. Look for the one fix behind several problems. Do not fix special cases one by one. Write each fix above the problems that it solves.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 14d ago First seen · 77 lines · 42 tokens per session scan A 38854c7aa1a7
untangle-codebase is a skill published in the GitHub repository me-cedric/agent-compass (3 stars, last pushed 10d ago), licensed MIT. It adds 42 tokens to every session and 920 once invoked, about $0.0002 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-11-17.
untangle-codebase compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| untangle-codebaseme-cedric/agent-compass | Skill | 3 | 10d ago | MIT | A | 42 | Claude Code |
| git-advanced-workflowswshobson/agents | Skill | 43k | yesterday | MIT | A | 54 | Claude Code |
| compute-sanitizer-diagnose-cuda-bugsNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 213 | Claude Code, Codex |
| tao-analyze-changenet-rcaNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 121 | Claude Code |
| rubber-duckkirodotdev/KiroCrew | Skill | 5.2k | today | Apache-2.0 | A | 161 | Claude Code, Codex |
| ios-simulatorcallstack/agent-device | Skill | 5.6k | today | MIT | A | 69 | Claude Code, Codex |
| cvm-ai-doctorTencentCloud/Octop | Skill | 13k | yesterday | MIT | A | 70 | Claude Code, Codex |