
Map
Maps an unfamiliar repo into a lean AGENTS.md so the agent knows where to start
Map is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 9
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Map
This skill orients an AI coding agent to a codebase it has not seen before. It dispatches read-only exploration passes along a fixed order: entry points and layout, build, test and lint commands, architecture and key abstractions, conventions and pitfalls, and test structure. Each finding is tied to a file path, and the results are condensed into a short AGENTS.md at the repository root, a file that many agents load automatically.
The workflow is human-gated. The skill first checks for existing agent instruction files and, when a previous map exists, runs a refresh that re-verifies commands and updates only the sections whose cited files have changed. The draft is shown for review, and nothing is written or committed to the repository until the user approves it. Stamps with the date and commit let later runs detect drift.
It works with plain file search and reading rather than a vector index, so it needs no external services or API keys. It is intended to run before feature or bugfix work in a repo the agent does not know.
When your agent uses it
Codebase orientation for an unfamiliar or large repo — "map this before I work in it." Fans out read-only Explore sub-agents that navigate the code (keyless — grep/glob/read, no embeddings to go stale) along the order that matters: entry points, build/test/lint commands, architecture and key abstractions, conventions and gotchas, test layout. Distills the findings into a lean AGENTS.md at the repo root — the cross-tool standard file many agents auto-load — where every claim points to a real file and nothing survives that isn't load-bearing. Human-in-the-loop: it drafts, you approve, and it never writes or commits into your repo without an explicit yes. Stamps the map with date + commit so /map refresh regenerates only what went stale. Use before working in a repo you or the agent don't know — e.g. "/map", "/map the auth subsystem", "generate an AGENTS.md", "/map refresh". Run it upstream of feature or bugfix; for the end-of-session shipping gate use done.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (8 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the coding-loop plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add duthaho/skillhub
/plugin install coding-loop@skillhubOr copy only this skill to ~/.claude/skills/map:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/duthaho/skillhub.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/map &&
cp -R "$tmp/.claude/skills/map" ~/.claude/skills/map &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/map inside it instead.
Copy the skill folder to ~/.agents/skills/map to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/duthaho/skillhub.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/map &&
cp -R "$tmp/.claude/skills/map" ~/.agents/skills/map &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/map inside it instead.
Copy the skill folder to ~/.cursor/skills/map to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/duthaho/skillhub.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/map &&
cp -R "$tmp/.claude/skills/map" ~/.cursor/skills/map &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/map inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/duthaho/skillhub.git --path .claude/skills/mapOr copy the folder to ~/.gemini/skills/map yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/map:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/duthaho/skillhub.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/map &&
cp -R "$tmp/.claude/skills/map" ~/.copilot/skills/map &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/map inside it instead.
Get the folder:
git clone --depth 1 https://github.com/duthaho/skillhub.gitThen copy skillhub/.claude/skills/map into your agent's skills folder as map. Agents that support SKILL.md read one folder per skill.
What it does
- Entry point discovery
- Finds how execution starts, such as main functions, routes, CLI commands or handlers, and describes the top-level layout.
- Build and test commands
- Collects the exact build, test and lint commands from package manifests, Makefiles and CI configuration.
- Architecture summary
- Identifies key abstractions, layers and data flow, citing the handful of files that matter most.
- Conventions and gotchas
- Records repository patterns that differ from language defaults and invariants a newcomer could break.
- Reviewed AGENTS.md output
- Drafts a lean AGENTS.md that the user approves before it is written into the repo.
- Drift-aware refresh
- Re-checks an existing map against the current tree and updates only the sections that went stale.
Good for
- Map this repo before I start working in it
- Generate an AGENTS.md for this project
- Map the auth subsystem before I change it
- Refresh the existing codebase map after recent changes
- Find where the tests live and how to run a single test
Map FAQ
Does Map write to my repository automatically?
No. It shows the drafted AGENTS.md for approval and only writes the file after an explicit yes. Committing is offered separately and also needs approval.
When should I run Map?
The skill says to run it before feature or bugfix work in an unfamiliar or large repo, and to use a separate skill for the end-of-session shipping check.
Does Map need API keys or an index?
It navigates the code with grep, glob and file reads, without embeddings or a pre-built index, so it does not depend on external keys.
What happens if my map is out of date?
Stamps record the date and commit. On refresh the skill re-runs commands to confirm they still work and regenerates only the sections whose cited files changed.
How do I install Map in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/map to use it in all your projects, or to .claude/skills/map in one project. Or install the coding-loop plugin, which includes it: /plugin marketplace add duthaho/skillhub, then /plugin install coding-loop@skillhub.
Does Map run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Map?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Map?
The closest alternatives to Map are Agents md, Wiki agents md, Agents md authoring, Agentsmd scaffold and Create agentsmd.
Where this comes from
- Description: from the skill's own SKILL.md.
More from duthaho/skillhub

Finds where refactoring pays off from git churn and bug history, then applies it safely
- Open source
- 9 GitHub stars
- Developer tools

Lists parked items from your other skills that are now due for a re-check
- Open source
- 9 GitHub stars
- Productivity

Maps peer projects and their user demand to decide which features to adopt
- Open source
- 9 GitHub stars
- Developer tools

Audits your agent setup against past sessions and proposes one-line harness fixes
- Open source
- 9 GitHub stars
- Developer tools

Builds scored, evidence-backed technology decision briefs comparing options for a context
- Open source
- 9 GitHub stars
- Developer tools

Generates grounded architecture docs and mermaid diagrams for a codebase or feature
- Open source
- 9 GitHub stars
- Documentation review





