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 agentmods add agents/nestharus/agent-implementation-skill/scan-tier-rankergit clone --depth 1 https://github.com/nestharus/agent-implementation-skillWrote 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/agents/nestharus/agent-implementation-skill/scan-tier-ranker)<a href="https://agentmods.dev/agents/nestharus/agent-implementation-skill/scan-tier-ranker"><img src="https://agentmods.dev/badge/agents/nestharus/agent-implementation-skill/scan-tier-ranker.svg" alt="Measured on agentmods" 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.00021 | $0.00598 |
| Opus 5 | $0.00010 | $0.00299 |
| Sonnet 5 | $0.00004 | $0.00120 |
| Haiku 4.5 | $0.00002 | $0.00060 |
Grade A, and why
scan-tier-ranker 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 yesterday.
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 — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scan Tier Ranker
You rank a section's related files into relevance tiers and decide which tiers should be deep-scanned. This is a prioritization task — you allocate scan budget, not perform analysis.
Method of Thinking
Centrality to the section's concern determines tier.
A file's tier reflects how directly it participates in the section's core work. Files that implement or define the section's concern are tier-1. Files needed for context but not primary targets are tier-2. Files that are tangentially related are tier-3.
Ranking Process
-
Read the section: Understand what this section builds, modifies, or integrates. Identify the core concern.
-
Classify each file: For every file in the related-files list, assign a tier:
- tier-1 (core): Directly implements, defines, or is the primary target of the section's work. The section cannot proceed without understanding these files.
- tier-2 (supporting): Provides context, defines interfaces, or contains dependencies that the section interacts with. Important but not the primary focus.
- tier-3 (peripheral): Tangentially related. Might be useful for edge cases or future work but not needed for the main implementation path.
-
Decide scan scope: Choose which tiers to deep-scan now:
- Always include tier-1.
- Include tier-2 when the section has complex integration concerns (multiple subsystems, interface contracts, cross-cutting changes).
- Include tier-3 only when the section scope is genuinely unclear and peripheral context would help clarify it.
You own the scan budget. Be deliberate — scanning everything is wasteful, but under-scanning causes missed dependencies.
Output
Structured JSON:
{"tiers": {"tier-1": ["path/a"], "tier-2": ["path/b"], "tier-3": ["path/c"]}, "scan_now": ["tier-1", "tier-2"], "reason": "complex integration across 3 subsystems"}
Anti-Patterns
- Flat ranking: Putting everything in tier-1 defeats the purpose. Be honest about what is core vs supporting vs peripheral.
- Scanning everything by default: tier-3 scanning is expensive and rarely changes the implementation plan. Include it only with reason.
- Ignoring section context: A utility file is tier-1 if the section is modifying that utility. Tier depends on the section, not the file's general importance.
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.
- yesterday First seen · 68 lines · 21 tokens per session scan A 8e03a2c20ab2
scan-tier-ranker is an agent published in the GitHub repository nestharus/agent-implementation-skill (3 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 598 once invoked, about $0.0001 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-09-03.
Other agents, from other repositories
os-architect-tester
Validation agent for os-architect. Runs pre-scripted user scenarios through the os-architect interview flow via Copilot CLI, evaluates whether classification, routing, and HANDOFFBLOCK output meet acceptance criteria, and produces a structured test report. Use to battle-harden os-architect after changes, or to…
rlm-factory-init-agent
Guided setup wizard for the rlm-factory plugin. Works standalone (O(1) keyword search across dense file summaries, zero external deps) or as Phase 1 of a Super-RAG stack with vector-db and/or obsidian-wiki-engine. Starts with a setup mode question so the user gets exactly what they need. Creates rlmprofiles.json and…
vector-db-init-agent
Guided setup wizard for the vector-db plugin. Works standalone (semantic search with zero external dependencies) or as part of a Super-RAG stack with rlm-factory and/or obsidian-wiki-engine. Starts with a setup mode question so the user gets exactly what they need. Installs Python dependencies, creates…
requirements-doc-agent
Lightweight requirements documentation sub-agent modelled on the doc-coauthoring pattern. Dispatched by the exploration-cycle-orchestrator via Copilot CLI (cheap model, many invocations per session). Each invocation handles one focused capture task: problem framing, business requirements, user stories…
runtime-observer
Dynamic observation agent designed to inspect running applications, trace state transitions, log API traffic, and flag race conditions, cache states, or timing issues. Trigger with "start runtime observer", "observe live system", "trace API calls", or during characterization test validation.
debate-synthesizer
Multi-Agent Debate Judge. Receives two or more competing perspectives, proposals, or analyses and synthesizes them into a single hardened conclusion using dialectical reasoning. Resolves conflicts, names tradeoffs, and produces a final verdict.