map-corpus

map-corpus is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 75 tokens per session (3,720 once invoked), scanned A, original, MIT.

A documentation-mapping tool that discovers pages from one or more starting URLs, classifies them, and records exactly which parts belong to a selected topic.

In plain words
What is it for?
Use it to build a verified slice of a multi-page documentation site before digesting or researching its contents.
Why use it?
It prevents an agent from claiming it reviewed a whole documentation set when it only skimmed some pages.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the knowledge plugin — 5 skills shipped together

Good fit Use it to build a verified slice of a multi-page documentation site before digesting or researching its contents.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
Claude Code
/plugin install knowledge

Made for: Claude Code.

Or install knowledge, the plugin that ships this one along with the rest of its 5 skills.

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 map-corpus

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/map-corpus/github.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/map-corpus)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/map-corpus"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/map-corpus/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.

agentmods 80×15 button for map-corpus

Your own site · 80×15
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/map-corpus"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/map-corpus.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,720 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00075 $0.03720
Opus 5.5 $0.00030 $0.01488
Sonnet 5.5 $0.00015 $0.00744
Haiku 4.5 $0.00007 $0.00372

Measured 7d ago against content hash 8e19f38e80be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

map-corpus 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 7d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (discovery/check_linkmap.py, discovery/parse_discovery.py, discovery/test_discovery.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/knowledge/skills/map-corpus/SKILL.md · 228 lines

How it starts

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

Arguments. <topic> <seed-url> [more-seed-urls...] [--epic <slug>] [--max-resources N]. Full form: [more-seed-urls...] [--epic ] [--max-resources N] [--granularity deep|section]

Map Corpus

Turn a topic plus seed URLs into a corpus slice that PROVES what was read: every discovered URL classified, every in-corpus resource decomposed by a deterministic script into a node manifest, every node carrying a relevance verdict backed by a byte-verified quote. The mapper supplies the layer docpage-digest names as its own non-goal ("Does not crawl. One page per run") without reimplementing, renaming, or modifying it.

The failure this skill exists to prevent: an agent handed a multi-page corpus glosses content and asserts it read everything. Here the denominators are never the agent's. Scripts emit the URL set from discovery snapshots and the node set from resource snapshots, and script gates diff the agent's classifications and verdicts against both.

Prerequisite (declared at point of use): python3 (3.9+) on PATH for the bundled scripts under this skill's discovery/, extraction/, and verification/ directories. Missing Python means say so and stop. There is no agent-judgment fallback for a deterministic denominator.

Arguments

  • <topic>: short phrase naming the corpus; slugified into the slice name. <seed-url>...: one or more starting URLs.
  • --epic <slug>, the epic under the work root (default: the topic slug).
  • --max-resources N, the in-corpus bound declared in the link map (default 30). A breach stops the run and re-asks; it never silently proceeds.
  • --granularity deep|section. JUDGMENT granularity, never row granularity: the inventory always carries exactly one row per manifest node (the gate's coverage invariant). deep (default) judges each node independently; section lets child rows inherit their top-level section's verdict/rationale (via parent_id), each keeping its own in-node evidence quote. Granularity and depth are per-invocation arguments by design, not userConfig.

Read the full file on GitHub · 228 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. 7d ago Changed · -1 lines · -33 tokens per session 8e19f38e80be
  2. 9d ago Changed · +9 lines 8dab644f775b
  3. 10d ago Changed · +1 lines f019d1e07aad
  4. 18d ago Changed · +1 lines 20dc6892fdb1
  5. 20d ago Changed · -1 lines 35898f9b50a9
  6. 22d ago Changed · +2 lines 1cfd24cfe734
  7. 23d ago Changed · -103 tokens per session f6f2842edae3
  8. 1mo ago First seen · 217 lines · 211 tokens per session scan A c0334a689790

Subscribe to this mod's changes

map-corpus is a skill published in the GitHub repository melodic-software/claude-code-plugins (26 stars, last pushed today), licensed MIT. It adds 75 tokens to every session and 3,720 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

parallel-orchestrator

Manage parallel Claude Code workstreams using git worktrees. Use when: splitting large tasks across multiple workers, coordinating parallel development, monitoring worker progress, integrating completed work, analyzing work item documents (code reviews, issue lists). Triggers: parallel, orchestrator, worktrees…

jimmc414/claude-code-plugin-marketplace · 78 tokens

parallel-worker

Execute focused implementation tasks in a parallel workflow. Use when: working on assigned files in a worktree, making checkpoint commits, signaling dependencies or blockers, completing orchestrator-assigned tasks. Triggers: worker, checkpoint, worktree, assigned scope, commit prefix, parallel task.

jimmc414/claude-code-plugin-marketplace · 59 tokens

optimize-local-search

For NP-hard optimization: TSP, scheduling, assignment problems. Uses greedy construction + local improvement (2-opt, hill climbing).

jimmc414/claude-code-plugin-marketplace · 31 tokens

solve-constraint-puzzle

For constraint satisfaction: Sudoku, scheduling, N-queens, logic puzzles, SAT-like problems, assignment problems. Uses propagate-then-search pattern.

jimmc414/claude-code-plugin-marketplace · 36 tokens

test-with-examples

For example-driven development: test cases as specifications, input/output pairs, documentation through examples.

jimmc414/claude-code-plugin-marketplace · 23 tokens

feature-optimiser

Deterministically audit and optimise a published feature page on the register ladder: struggling-moment heroes with zero implementation jargon, mechanism evidence relocated to section bodies and dropdowns in the HashiCorp / Stripe / Tailscale register. Runs an 11-section quality audit plus register-ladder checks (hero…

systempromptio/systemprompt-marketplace · 218 tokens