agents-md-mapper

agents-md-mapper is a skill for Claude Code, Codex from alchemiststudiosDOTai/harness-engineering. It costs 72 tokens per session (1,559 once invoked), scanned A, original, MIT.

A tool for creating or updating AGENTS.md, a repository guide that tells coding agents where important files are and how to validate changes. It keeps that guide based on the project's actual structure and commands.

In plain words
What is it for?
Use it to create, refresh, validate, and keep AGENTS.md aligned with a repository's files, tests, CI, commands, and deeper documentation.
Why use it?
It reduces errors caused by stale or missing repository instructions after refactors, tooling changes, or documentation updates.

Skill for Claude CodeCodex

Part of the harness-engineering plugin — 8 skills, 1 command, 1 agent shipped together

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 skills/alchemiststudiosdotai/harness-engineering/agents-md-mapper
Any agent
npx skills add alchemiststudiosDOTai/harness-engineering --skill agents-md-mapper
Clone the repo
git clone --depth 1 https://github.com/alchemiststudiosDOTai/harness-engineering

Made for: Claude Code, Codex.

Or install harness-engineering, the plugin that ships this one along with the rest of its 8 skills, 1 command, 1 agent.

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 agents-md-mapper

README.md
[![agentmods](https://agentmods.dev/badge/skills/alchemiststudiosdotai/harness-engineering/agents-md-mapper.svg)](https://agentmods.dev/skills/alchemiststudiosdotai/harness-engineering/agents-md-mapper)
Your own site
<a href="https://agentmods.dev/skills/alchemiststudiosdotai/harness-engineering/agents-md-mapper"><img src="https://agentmods.dev/badge/skills/alchemiststudiosdotai/harness-engineering/agents-md-mapper.svg" alt="Measured on agentmods" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,559 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.00072 $0.01559
Opus 5 $0.00036 $0.00779
Sonnet 5 $0.00014 $0.00312
Haiku 4.5 $0.00007 $0.00156

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

Security

Grade A, and why

agents-md-mapper 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.

skills/agents-md-mapper/SKILL.md · 183 lines

How it starts

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

AGENTS.md Mapper

Overview

Maintain a concise, current AGENTS.md for a repository as the codebase changes. Treat the file as a navigational map for future coding agents: show where to start, where important things live, how to validate changes, and which deeper docs outrank the map.

When to Use

  • Create a new AGENTS.md for a repository that does not have one
  • Refresh an existing AGENTS.md that may be stale after refactors, path moves, package splits, or architecture changes
  • Update the map after tooling, tests, CI, docs, or ownership signals changed
  • Point AGENTS.md at new architecture docs, runbooks, or generated references that became the source of truth
  • Add lightweight checks that detect drift between AGENTS.md and repository reality

Core Contract

1. Keep the map compact

  • Prefer roughly 90 to 100 lines
  • Prefer bullets over paragraphs
  • Prefer concrete paths and commands over abstract advice
  • Link to deeper docs instead of copying them

2. Treat repository evidence as the source of truth

  • Read the repository tree before writing claims about structure
  • Read actual config files before listing commands
  • Read CI workflows before describing validation
  • Read docs and architecture references before summarizing boundaries
  • Read recent git history before carrying forward old paths or retired modules

3. Optimize for agent legibility

  • Surface entry points, domain boundaries, and validation commands first
  • Make the navigation order obvious
  • Remove stale or duplicated sections aggressively
  • Normalize heading order so future updates stay mechanical

4. Omit unsupported detail

  • If evidence is weak, omit the claim
  • If a detail is volatile, point to its source doc instead of embedding it
  • If two docs disagree, prefer the one supported by current code and CI

Inputs to Inspect

Inspect repository evidence, not guesswork:

  • Current top-level tree and major subdirectories
  • Key top-level files such as README, pyproject.toml, package.json, Cargo.toml, Makefile, justfile, or task runner configs
  • Existing AGENTS.md, if present
  • ARCHITECTURE.md, docs/, runbooks, plans, references, and generated indexes
  • CI workflows and automation config
  • Recent git history, especially merges, path renames, retired modules, and tooling changes
  • Ownership signals such as CODEOWNERS, package manifests, and boundary-enforcement config

Read the full file on GitHub · 183 lines

Files

What ships with it

1 file 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.

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 · 183 lines · 72 tokens per session scan A a4beb9f551ff

Subscribe to this mod's changes

agents-md-mapper is a skill published in the GitHub repository alchemiststudiosDOTai/harness-engineering (104 stars, last pushed 5mo ago), licensed MIT. It adds 72 tokens to every session and 1,559 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens