SafeAgentDB

Sets up branch-isolated Supabase/Vercel/GitHub Actions preview databases for AFK agent workflows.

av Aidan945 · Aidan945/SafeAgentDB

Testad · Fungerar ★ 9.2/10

SafeAgentDB — Sets up branch-isolated Supabase/Vercel/GitHub Actions preview databases for AFK agent workflows.

Vad den gör

Installs or adapts SafeAgentDB-style database safety infrastructure: production/develop/preview/local database separation, Supabase branch provisioning, Vercel branch-scoped env vars, and GitHub Actions cleanup workflows. Triggers when a user wants isolated database environments per branch, migration guardrails so agent feature branches never touch shared or production data, or wants this pattern adapted to a non-Supabase stack.

Testrapport

The bundled provision-preview-branch.ts script for real implements every capability the docs claim (auth-user copy, public-table copy with include/exclude lists, storage-bucket copy, --dry-run plan, preview-branch-summary.md) rather than just describing them, and every credential-touching step in the skill body is gated behind explicit user permission and cost confirmation before it acts.

Testad: 2026-07-16 · Claude Code 2.x (agent harness)

Installation

git clone https://github.com/Aidan945/SafeAgentDB.git
mkdir -p ~/.claude/skills
cp -r SafeAgentDB/skills/safeagentdb ~/.claude/skills/safeagentdb

Kommandon och exempelprompter

  • /safeagentdbSets up branch-isolated Supabase/Vercel/GitHub Actions preview databases for AFK agent workflows.

Skills triggas av vanliga förfrågningar — inga kommandon att memorera. Efter installationen aktiverar prompter som dessa skillen (på engelska):

  • give each feature branch its own isolated Supabase preview database
  • set up Vercel env vars scoped to my Supabase branch previews
  • make sure agent branches can never touch our production database