# Box

> Box is an open-source agent skill for developer tools. Clones external Git repos locally and answers questions from their source code. 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/box
- **Repository:** https://github.com/prathamdby/skills
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** box
- **Collection:** https://github.com/prathamdby/skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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

## 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/box)
- [License: MIT](https://github.com/prathamdby/skills/tree/HEAD/skills/engineering/box)

## Features

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

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

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

### Codex

Copy the skill folder to `~/.agents/skills/box` 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/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.

### Cursor

Copy the skill folder to `~/.cursor/skills/box` 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/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.

### 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/box
```

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

### VS Code

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

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

### Other agents

Get the folder:

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

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

## Alternatives

- [Ask](https://ai-powered.com/skills/ask-tjmonsi): Ask is an open-source agent skill for developer tools.
- [Clone ruancat repo](https://ai-powered.com/skills/clone-ruancat-repo): Clone ruancat repo is an open-source agent skill for developer tools.
- [Codebase index](https://ai-powered.com/skills/codebase-index): Codebase index is an open-source agent skill for developer tools.
- [Codebase exploration loop](https://ai-powered.com/skills/codebase-exploration-loop): Codebase exploration loop is an open-source agent skill for developer tools.
- [Find](https://ai-powered.com/skills/find): Find is an open-source agent skill for developer tools.
- [Soia pkm clip GitHub repo](https://ai-powered.com/skills/soia-pkm-clip-github-repo): Soia pkm clip GitHub repo is an open-source agent skill for knowledge and memory.
- [Explore code](https://ai-powered.com/skills/explore-code): Explore code is an open-source agent skill for developer tools.
- [Docker git bind mount push debug](https://ai-powered.com/skills/docker-git-bind-mount-push-debug): Docker git bind mount push debug is an open-source agent skill for developer tools.

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