More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    BranchBox MCP — Ephemeral CoW DB Sandbox & DDL Firewall

    1

    Ephemeral Copy-on-Write local database branching and destructive DDL firewall that prevents agents from resetting databases.

    $9.90

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    BranchBox MCP — Ephemeral CoW DB Sandbox & DDL Firewall

    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

    OperationTarget ObjectSafety VerdictMitigation
    ALTER TABLE users ADD COLUMNusers.phone_verifiedSAFENon-null with default value provided
    DROP COLUMN legacy_statususers.legacy_statusWARNINGFlagged missing dual-write transition
    CREATE INDEX CONCURRENTLYidx_users_emailSAFEZero-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

    1. The ephemeral database branch is active and completely decoupled from your primary database.
    2. Migration verified without downtime or data destruction.
    3. 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.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

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

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    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

    Software
    PostgreSQLDockerterminal

    Permissions

    No special permissions declared or detected

    Listed19 days ago

    What's inside

    Frequently Asked Questions

    BranchBox's PreToolUse hook matches the command pattern and immediately halts execution with Exit Code 2, preventing tables from being dropped.

    BranchBox dynamically scans for open sockets in the 54320-54399 range and provisions ephemeral clones on unique ports per worktree.

    Yes, it wraps the connection URL and database socket, making it 100% agnostic to your ORM.