Registry / garrytan

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-adopt

Without 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-adopt

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:garrytan/gbrain/postgres-adopt

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.