garrytan/gbrain/postgres-adopt
Detect which gbrain engine is in use (PGLite vs Postgres), prefer Postgres for agent-harness installs, install/provision Postgres (Supabase discovery via SUPABASE_ACCESS_TOKEN, local Postgres, opt-in Docker), and move an existing PGLite brain to Postgres with its history (plan, ask, run). Detection is one engine-free command; the install ladder is one flag.
Agent skill · version 0.0.0-master.1794511233.g632df3c · from garrytan/gbrain
Install
npx yarkr-cli add skill:garrytan/gbrain/postgres-adoptWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:garrytan/gbrain/postgres-adopt
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:garrytan/gbrain/postgres-adoptOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:garrytan/gbrain/postgres-adoptWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.