Skip to content
Skill

Box

Clones external Git repos locally and answers questions from their source code

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

Box keeps local shallow clones of external Git repositories in a sandbox folder outside the working project. When a user asks how a library, framework or other outside repository works, the agent searches those files directly instead of guessing from the remote URL.

The skill checks each saved clone against its remote origin before use, and can pull updates with a fast-forward only merge. Searches are read-only and cite file paths with line numbers. Clones are never committed to or pushed from, and unknown directories are never deleted.

The workflow expects a Git command line and a Git URL or a saved clone name. Users can optionally have the clone recorded in the project's AGENTS.md so later sessions know where it lives.

When your agent uses it

Manage local clones of external Git repositories in a sandbox and answer questions directly from their source code, optionally recording the clone in AGENTS.md. Use whenever the user asks how an external repo, library, or framework works, wants to inspect another repository's code, or asks to list or pull saved clones. Do not use to map the current repository (use recon) or run a remote skill from a GitHub link (use use-skill).

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/box:

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

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/box 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/box &&
cp -R "$tmp/skills/engineering/box" ~/.agents/skills/box &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/box 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/box &&
cp -R "$tmp/skills/engineering/box" ~/.cursor/skills/box &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/box 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/box

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

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/box 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/box into your agent's skills folder as box. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Shallow repository cloning
Clones missing repositories with depth one into a sandbox directory under the home folder.
Origin verification
Checks that each existing clone points to the expected remote before reuse.
Source-based answers
Answers questions from local files and cites file paths with line numbers.
Clone listing and updates
Lists saved clones with their paths and pulls fast-forward updates on request.
Optional AGENTS.md recording
Adds a marked reference block for a clone to the project's AGENTS.md when asked.

Good for

  • How does the request handling work in this external Go library?
  • Show me where the authentication middleware is defined in that framework's repo.
  • List the Git repositories I have saved locally.
  • Update my saved clone of the project and search it for the retry logic.
  • Save this external repo reference in AGENTS.md so future sessions can search it.

Box FAQ

When does the skill trigger?

It triggers when a user asks how an external repository, library or framework works, wants to inspect another repository's code, or asks to list or pull saved clones.

Where are the clones stored?

Clones and a manifest.json file are stored under ~/.box/, outside the working repository and the skill folder.

Does Box change my project?

It leaves AGENTS.md alone unless the user asks to persist the clone there.

Which tool is used to map the current repository?

The skill says mapping the current repository should use the recon skill instead.

How do I install Box in Claude Code?

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

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

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 Box?

The closest alternatives to Box are Ask, Clone ruancat repo, Codebase index, Codebase exploration loop and Find.

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. Creates scoped, diff-grounded Conventional Commit messages and commits them locally

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

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

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

    • Open source
    • 6 GitHub stars
    • Developer tools
  6. Saves a redacted session handoff file and resumes work from it later

    • Open source
    • 6 GitHub stars
    • Developer tools