Sandbox create

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

Sandbox create is an AI agent skill from the GitHub repository the-agency-ai/the-agency. Create a new experimental command, hook, rule, tool, or script in your sandbox

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 Create

Scaffold a new item in your sandbox with collision detection.

Arguments

$ARGUMENTS is <type> <name> where:

Steps

  1. Parse arguments: Extract type and name. Validate name matches ^[a-z0-9-]+$.
  1. Detect engineer: Scan usr/*/ directories. If only one, use it. If multiple, match against git config user.name.
  1. Collision check: Search ALL locations for the same name:
  1. Scaffold the item based on type with appropriate template (command .md, hook .sh, hookify .md, tool .ts, script .sh).
  1. Make executable (hook and script types only).
  1. Print result:

```

Created: usr/<engineer>/<path>/<name>.<ext>

Next: edit the file, then activate it:

/sandbox-activate <name>

```

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.