Sandbox init

From the-agency-ai/the-agency · View interactive version

Sandbox init is an AI agent skill from the GitHub repository the-agency-ai/the-agency. Set up a new engineer's sandbox workspace under usr/

How to use this skill

Skill file

<!--

Flag #62/#63: allowed-tools removed. Inherits Bash(*) from

.claude/settings.json. Restricting to specific subcommand patterns at the

skill level silently blocks agents on permission prompts the agent cannot

see — see dispatch #171 for the devex incident that surfaced this trap.

-->

Sandbox Init

Set up a per-engineer sandbox for Claude Code tooling development.

Arguments

$ARGUMENTS is the engineer name (optional — auto-detected from git config user.name if omitted).

Steps

  1. Detect engineer name:
  1. Check if sandbox exists:
  1. Create directory structure:

```

usr/<name>/

commands/.gitkeep

hooks/.gitkeep

hookify/.gitkeep

agents/.gitkeep

scripts/.gitkeep

tools/.gitkeep

CLAUDE.md

settings.local.json

README.md

```

> D44-R4 (#420): commands/, hooks/, hookify/, agents/ live at the

> sandbox root — NOT under a claude/ subdirectory. This matches what

> agency/tools/sandbox-sync reads from (it symlinks these into

> .claude/ discovery locations). CLAUDE.md and settings.local.json

> also live at the sandbox root so sandbox-sync can find

> settings.local.json at usr/<name>/settings.local.json.

Project directories (e.g., usr/<name>/captain/, usr/<name>/folio/) are created per-project as work begins, not at init time.

  1. Set up CLAUDE.md:
  1. Set up settings.local.json:
  1. Scaffold README:
  1. Print summary:

```

Sandbox initialized: usr/<name>/

Next steps:

/sandbox-create command my-thing — create your first experiment

/sandbox-list — see what's available

/sandbox-try jordan/<command> — try an existing sandbox command

```

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.