agents
Use when designing, deploying, or debugging a Butterbase Agent (declarative LLM/tool graph), registering an MCP server for tool…
Use when moving a Butterbase app between regions, checking migration progress, aborting a stuck move, reverse-rolling a completed move, or tearing down retained source replicas after a move is stable
Claude Code
$ npx -y skills add butterbase-ai/butterbase-skills --skill migrations --agent claude-code
Codex
$ npx skills add butterbase-ai/butterbase-skills --skill migrations -a codex -y
Cursor
$ npx skills add butterbase-ai/butterbase-skills --skill migrations -a cursor -y
Gemini CLI
$ npx skills add butterbase-ai/butterbase-skills --skill migrations -a gemini-cli -y
GitHub Copilot
$ npx skills add butterbase-ai/butterbase-skills --skill migrations -a github-copilot -y
OpenCode
$ npx skills add butterbase-ai/butterbase-skills --skill migrations -a opencode -y
Windsurf
$ npx skills add butterbase-ai/butterbase-skills --skill migrations -a windsurf -y
name: migrations description: Use when moving a Butterbase app between regions, checking migration progress, aborting a stuck move, reverse-rolling a completed move, or tearing down retained source replicas after a move is stable
Moving an app between regions is an orchestrated migration: data dumped from source, restored in dest, blobs copied, runtime brought up, then traffic flipped. Source replica is retained for safe rollback until you tear it down.
Four small tools wrap the orchestration:
| Tool | Purpose | |---|---| | `list_regions` | Discover what regions exist before suggesting one. | | `move_app` | Start a migration. Returns a `migration_id`. | | `move_app_status` | Read the current step + replica state of a specific migration. | | `manage_migrations` | Operational ops: `get_active`, `abort`, `reverse`, `list_source_replicas`. | | `teardown_source_replica` | Decommission the retained source replica once you're confident. |
---
A successful move walks through 11 steps in order:
requested → reserving_dest → blocking_writes → dumping_data → restoring_data → copying_blobs → copying_runtime → flipping_routing → setting_up_reverse_replication → unblocking_writes → completed
The cutover happens at `flipping_routing`. Before that, the app is still served from the source. After that, traffic is on the destination.
Terminal states: `completed`, `aborted`, `failed`.
---
list_regions → confirm dest region is supported
move_app(app_id, dest_region) → { migration_id, status: "queued" }Then poll with `move_app_status({ app_id, migration_id })` every few seconds (or call `manage_migrations({ action: "get_active", app_id })` if you've forgotten the id).
---
Stuck or wrong choice? Different state, different tool:
---
---
---
Claude Code plugin for Butterbase — the AI-Native Backend-as-a-Service. This plugin gives Claude deep knowledge of Butterbase's nearly 40 MCP tools, guides you through common workflows, and auto-configures the MCP server connection.
Use when designing, deploying, or debugging a Butterbase Agent (declarative LLM/tool graph), registering an MCP server for tool…
Use when calling the app's AI gateway from agent tools — chat completions, embeddings, listing models, configuring defaults or…
Use when configuring OAuth providers (Google/GitHub/Apple/X/etc.), setting up post-login auth hooks, tuning JWT lifetimes, or…
Use when building a new Butterbase app from scratch, creating a full-stack application, or when the user asks to set up a…
Use when contributing to the Butterbase codebase, adding new MCP tools, creating API routes, writing migrations, or understanding…
Use when users report access denied errors, see wrong data, RLS policies are not working, or when troubleshooting Row-Level…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.