agents
Use when designing, deploying, or debugging a Butterbase Agent (declarative LLM/tool graph), registering an MCP server for tool use, or wiring access controls…
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
$ npx -y skills add butterbase-ai/butterbase-skills --skill migrations --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/migrationsContext preview
The summary Claude sees to decide when to auto-load this skill.
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
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 42+ MCP tools, guides you through common workflows, and auto-configures the MCP server connection.
Repo: butterbase-ai/butterbase-skills
Use when designing, deploying, or debugging a Butterbase Agent (declarative LLM/tool graph), registering an MCP server for tool use, or wiring access controls…
Use when calling the app's AI gateway from agent tools — chat completions, embeddings, listing models, configuring defaults or BYOK, reading token/cost usage
Use when configuring OAuth providers (Google/GitHub/Apple/X/etc.), setting up post-login auth hooks, tuning JWT lifetimes, or generating service API keys
Use when building a new Butterbase app from scratch, creating a full-stack application, or when the user asks to set up a complete backend with database, auth,…
Use when contributing to the Butterbase codebase, adding new MCP tools, creating API routes, writing migrations, or understanding the monorepo architecture
Use when users report access denied errors, see wrong data, RLS policies are not working, or when troubleshooting Row-Level Security issues in Butterbase