More screenshots
Works with the AI Agents you already use
BranchBox MCP — Ephemeral CoW DB Sandbox & DDL Firewall
Ephemeral Copy-on-Write local database branching and destructive DDL firewall that prevents agents from resetting databases.
$9.90
BranchBox MCP — Ephemeral CoW DB Sandbox & DDL Firewall
Example session with this skill installed
Create an isolated database branch for my git worktree to test the migration in /prisma/schema.prisma. Verify migration safety and prevent any destructive resets.
- Read your context and instructions
- Compiled the branchbox mcp
I have provisioned an isolated Copy-on-Write database branch using BranchBox MCP. The destructive DDL firewall intercepted a high-risk --force-reset command and safely migrated the ephemeral schema.
BranchBox Ephemeral Sandbox Report
<firewall_gate status="PROTECTED">
<ddl_inspection risk="HIGH_BLOCKED">
Intercepted dangerous flag: npx prisma db push --force-reset
Reason: Naked reset drops all development test fixtures and seed data.
</ddl_inspection>
<ephemeral_branch status="PROVISIONED" latency="142ms">
• Socket URL: `postgresql://postgres:postgres@127.0.0.1:54322/agent_cow_feat_auth_8f91`
• Port Isolation: Bound to 54322 (Primary dev port 5432 untouched)
• Storage Driver: Copy-on-Write snapshot from template template1
</ephemeral_branch>
</firewall_gate>
Migration Safety & Destructive DDL Audit
| Operation | Target Object | Safety Verdict | Mitigation |
|---|---|---|---|
ALTER TABLE users ADD COLUMN | users.phone_verified | SAFE | Non-null with default value provided |
DROP COLUMN legacy_status | users.legacy_status | WARNING | Flagged missing dual-write transition |
CREATE INDEX CONCURRENTLY | idx_users_email | SAFE | Zero-lock background index creation |
# Generated Non-Colliding Connection Environment
export DATABASE_URL="postgresql://postgres:postgres@127.0.0.1:54322/agent_cow_feat_auth_8f91"
npx prisma migrate deploy
Next Steps
- The ephemeral database branch is active and completely decoupled from your primary database.
- Migration verified without downtime or data destruction.
- When the branch or agent session finishes, BranchBox will automatically drop the temporary schema.
Connects securely to your tools. The creator never sees your data.
About this skill
"Zero-config, sub-second Copy-on-Write local database branching and destructive DDL firewall for parallel coding agents."
BranchBox eliminates Terminal Killer #2: Destructive Database Migration Wipes and Whitespace Zone A (Worktree Port & Database Collisions).
When agents run migrations during feature development, CLI tools often suggest reset flags (--force-reset, migrate:fresh, --accept-data-loss). Autonomous agents blindly run these flags, dropping dozens of tables in seconds. Furthermore, when multiple agents run across parallel Git worktrees, they collide on localhost:5432 and localhost:3000.
BranchBox intercepts worktree creation, spins up an isolated Copy-on-Write (CoW) database clone in $< 50\text{ ms}$, assigns collision-free ports, and blocks destructive DDL with hard harness exit codes.
Currently supports PostgreSQL and MySQL/MariaDB CoW template snapshots and SQLite file clones. Requires local Docker or running database daemon with permission to create databases.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 19 days ago
Requires
Permissions
No special permissions declared or detected