# Recon

> Recon is an open-source agent skill for developer tools. Gives the agent a saved, evidence-backed map of the current repository's structure. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/prathamdby/skills/tree/main/skills/engineering/recon
- **Repository:** https://github.com/prathamdby/skills
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** recon
- **Collection:** https://github.com/prathamdby/skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/prathamdby/skills/tree/HEAD/skills/engineering/recon)
- [License: MIT](https://github.com/prathamdby/skills/tree/HEAD/skills/engineering/recon)

## Features

- **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

## Install

### Claude Code

This skill ships in the `skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

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

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Repo recon](https://ai-powered.com/skills/repo-recon): Repo recon is an open-source agent skill for developer tools.
- [Map](https://ai-powered.com/skills/map-duthaho): Map is an open-source agent skill for developer tools.
- [Trace architecture](https://ai-powered.com/skills/trace-architecture): Trace architecture is an open-source agent skill for developer tools.
- [Understand codebase](https://ai-powered.com/skills/understand-codebase): Understand codebase is an open-source agent skill for developer tools.
- [Map project](https://ai-powered.com/skills/map-project): Map project is an open-source agent skill for developer tools.
- [Repo onboarding](https://ai-powered.com/skills/repo-onboarding): Repo onboarding is an open-source agent skill for developer tools.
- [Context map](https://ai-powered.com/skills/context-map): Context map is an open-source agent skill for developer tools.
- [Surface recon](https://ai-powered.com/skills/surface-recon): Surface recon is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/recon-prathamdby
