Skip to content
Skill

Recon

Gives the agent a saved, evidence-backed map of the current repository's structure

Recon is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
6
Last commit
License
MIT
Listing updated

Similar skills

About Recon

Recon keeps a codebase map outside the repository, so the agent can orient itself without re-reading the whole project each time. It can return a saved map untouched, or build a new one from manifests, layout, entry points, dependency boundaries, commands and conventions. Maps are stored under a home-directory folder keyed to the Git common directory, so linked worktrees of one repository share a single map.

When patching an existing map, the skill compares the stored commit with HEAD, reads only committed changes, follows renames and checks one-hop importers when package roots or exports move. Each claim in the map cites evidence, and the file stays within fixed section and length limits. Dirty working-tree paths are reported separately and never used as map evidence.

The skill works from the repository itself and needs no extra tools or languages. It does not inspect external third-party repositories or write implementation plans; those tasks belong to other skills.

When your agent uses it

Read a saved architectural map of the current repository untouched, or build and refresh an evidence-backed codebase map (layout, entry points, modules, data flows, commands, gotchas) stored outside the repo. Use whenever orienting to the current codebase, asking how this repo is structured, or reading or updating saved repo memory. Do not use to inspect external third-party repositories (use box) or write an implementation plan (use autoplan).

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 (6 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 skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add prathamdby/skills
/plugin install skills@pratham-skills

Or copy only this skill to ~/.claude/skills/recon:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/prathamdby/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/recon &&
cp -R "$tmp/skills/engineering/recon" ~/.claude/skills/recon &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/recon inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/recon to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/prathamdby/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/recon &&
cp -R "$tmp/skills/engineering/recon" ~/.agents/skills/recon &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/recon inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/recon to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/prathamdby/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/recon &&
cp -R "$tmp/skills/engineering/recon" ~/.cursor/skills/recon &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/recon inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/prathamdby/skills.git --path skills/engineering/recon

Or copy the folder to ~/.gemini/skills/recon yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/recon:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/prathamdby/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/recon &&
cp -R "$tmp/skills/engineering/recon" ~/.copilot/skills/recon &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/recon inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/prathamdby/skills.git

Then copy skills/skills/engineering/recon into your agent's skills folder as recon. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Saved repository map
Stores an architectural map outside the repo tree so it survives skill updates.
Read-only map retrieval
Returns an existing map with its commit, update date and staleness without changing files.
Incremental patching
Updates the map from committed changes since the stored commit instead of rebuilding.
Evidence-backed claims
Requires each map statement to cite the source files that support it.
Worktree-aware identity
Matches saved maps to the Git common directory so linked worktrees share one map.
Fixed map structure
Organizes every map into the same eight sections with size limits.

Good for

  • Orient me to this codebase before I make changes
  • Show the saved map of this repository
  • Refresh the repo map after recent commits
  • Explain how this repository is structured
  • Rebuild the codebase map from scratch

Recon FAQ

When does the skill trigger?

It triggers when the agent orients to the current codebase, is asked how the repo is structured, or reads or updates saved repo memory.

Where are the maps stored?

Maps are stored under ~/.recon/, outside both the target repository and the skill directory.

Does Recon inspect other repositories?

No. It is meant for the current repository only. External third-party repositories are handled by another skill named box.

How does Recon handle uncommitted changes?

It reads only committed HEAD blobs for evidence and reports dirty working-tree paths as an overlay.

How do I install Recon in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/recon to use it in all your projects, or to .claude/skills/recon in one project. Or install the skills plugin, which includes it: /plugin marketplace add prathamdby/skills, then /plugin install skills@pratham-skills.

Does Recon 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 Recon?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Recon?

The closest alternatives to Recon are Repo recon, Map, Trace architecture, Understand codebase and Map project.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from prathamdby/skills

  1. Writes an evidence-backed implementation plan for a repo change without editing code

    • Open source
    • 6 GitHub stars
    • Developer tools
  2. Clones external Git repos locally and answers questions from their source code

    • Open source
    • 6 GitHub stars
    • Developer tools
  3. Creates scoped, diff-grounded Conventional Commit messages and commits them locally

    • Open source
    • 6 GitHub stars
    • Developer tools
  4. Simplifies a git diff's slop without changing behavior or staging unrelated work

    • Open source
    • 6 GitHub stars
    • Developer tools
  5. Works through PR review comments and failing CI checks, fixing and replying with evidence

    • Open source
    • 6 GitHub stars
    • Developer tools
  6. Lets your agent read GitHub PR status, reviews, and CI failures without editing code

    • Open source
    • 6 GitHub stars
    • Developer tools