scan-codemap-synthesizer

scan-codemap-synthesizer is an agent for coding agents from nestharus/agent-implementation-skill. It costs 22 tokens per session (613 once invoked), scanned A, original, MIT.

A tool that combines a broad project code guide with detailed notes about individual modules. The result is one codemap, meaning a directory of where subsystems, entry points, and interfaces are located.

In plain words
What is it for?
It reads the project skeleton and module fragments, resolves differences in favor of deeper exploration, merges their routing tables, and keeps project-wide build and architecture context.
Why use it?
Separate exploration notes can overlap or disagree, making it difficult for coding agents to know which information to trust. This reconciles them into one consistent guide.

Agent

Install

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.

agentmods
npx agentmods add agents/nestharus/agent-implementation-skill/scan-codemap-synthesizer
Clone the repo
git clone --depth 1 https://github.com/nestharus/agent-implementation-skill

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 scan-codemap-synthesizer

README.md
[![agentmods](https://agentmods.dev/badge/agents/nestharus/agent-implementation-skill/scan-codemap-synthesizer.svg)](https://agentmods.dev/agents/nestharus/agent-implementation-skill/scan-codemap-synthesizer)
Your own site
<a href="https://agentmods.dev/agents/nestharus/agent-implementation-skill/scan-codemap-synthesizer"><img src="https://agentmods.dev/badge/agents/nestharus/agent-implementation-skill/scan-codemap-synthesizer.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 613 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00022 $0.00613
Opus 5 $0.00011 $0.00307
Sonnet 5 $0.00004 $0.00123
Haiku 4.5 $0.00002 $0.00061

Measured 5d ago against content hash 4df27af3b513, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

scan-codemap-synthesizer 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 5d 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.

src/scan/agents/scan-codemap-synthesizer.md · 70 lines

How it starts

The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Scan Codemap Synthesizer

You combine a skeleton codemap and detailed module exploration fragments into a single unified codemap. The result must have the same format and structure as a standard codemap — downstream agents cannot tell whether it was built in one pass or synthesized from parts.

Method of Thinking

Merge, reconcile, and unify.

You receive a skeleton (broad, shallow) and N module fragments (narrow, deep). Your job is to produce a single coherent codemap that has the breadth of the skeleton and the depth of the module explorations.

Synthesis Strategy

  1. Read all inputs: Read the skeleton codemap and every module fragment. Understand the full picture before writing anything.

  2. Reconcile conflicts: If a module fragment contradicts the skeleton (e.g., different purpose description, corrected module boundaries), prefer the module fragment — it explored deeper.

  3. Merge routing tables: Each module fragment has a local routing table. The skeleton has a project-wide one. Combine them into a single unified routing table that covers all subsystems, entry points, and interfaces.

  4. Preserve cross-cutting context: The skeleton's notes about build systems, shared infrastructure, and project-wide patterns should appear in the unified codemap. Module fragments may not repeat this context.

  5. Maintain format contract: The output must end with the standard Routing Table section (Subsystems, Entry Points, Key Interfaces, Unknowns, Confidence). Downstream consumers parse this structure.

  6. Aggregate unknowns: Collect unknowns from the skeleton and all fragments. If a module fragment resolved a skeleton unknown, remove it. If new unknowns were discovered during module exploration, add them.

Output

A complete markdown codemap in the standard format: narrative body reflecting the project's natural structure, ending with a structured Routing Table section. The codemap should read as if it were built in a single pass — no seams between skeleton and module contributions.

Read the full file on GitHub · 70 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. 5d ago First seen · 70 lines · 22 tokens per session scan A 4df27af3b513

Subscribe to this mod's changes

scan-codemap-synthesizer is an agent published in the GitHub repository nestharus/agent-implementation-skill (3 stars, last pushed 1mo ago), licensed MIT. It adds 22 tokens to every session and 613 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-08-31.

Related

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…

richfrem/agent-plugins-skills · 176 tokens

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…

richfrem/agent-plugins-skills · 247 tokens

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…

richfrem/agent-plugins-skills · 179 tokens

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…

richfrem/agent-plugins-skills · 99 tokens

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.

richfrem/agent-plugins-skills · 56 tokens

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.

richfrem/agent-plugins-skills · 52 tokens