/fortrabbit:fortrabbitfrom fortrabbit
Handles fortrabbit PHP hosting platform tasks: account, apps, environments, deployments, domains, env vars, and troubleshooting Laravel, Craft CMS, WordPress, Symfony, and plain PHP apps. Covers git push/CLI deploys, SSH commands, database sync, rsync, HTTP error diagnosis, and site migration.
Ships in fortrabbit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
fortrabbit hosts PHP apps. An app has one or more environments (en-xxxxxx), for example production and staging. Each environment has components (PHP, MySQL, storage, jobs), a default domain https://<env>.<region>.frbit.app that forwards to its main domain (usually a cloud domain https://<label>.frbit.cloud or a custom domain), SSH access, and usually a GitHub repository and branch it deploys from.
--confirm <id> on the CLI is a typo guard, not consent. Offer the dashboard confirm screen too: https://dash.fortrabbit.com/delete/environment?environment=<id>.frbit auth login), by the person: show them the sign-in URL, and never open it, fill in or approve the sign-in or consent page with a browser or computer-use tool. The database password stays in the dashboard and is typed into a password prompt by the person.Use the first route the agent has. A missing MCP tool is not a missing capability: check the CLI before saying something cannot be done.
The MCP tools named here and in the references come from the fortrabbit server: list_apps is fortrabbit:list_apps, in Claude Code mcp__plugin_fortrabbit_fortrabbit__list_apps or mcp__fortrabbit__list_apps.
| Need | MCP (fortrabbit server) | frbit CLI | Other |
|---|---|---|---|
| Account, apps, environments, deployments, domains | get_you, list_*, get_* | frbit <group> list/get --json | |
| Create an app or environment | create_app, create_environment | frbit apps create, frbit environments create (first frbit regions list, frbit component-presets list --region R --currency EUR --json (frbit 1.20.0 and later, else frbit plans list), frbit templates list, frbit presets list before frbit 1.18.0; --dry-run shows the price; create only after the user agreed) | |
| Environment variables | get_environment, update_environment | frbit environments variables get/update | |
| Branch, build and post-deploy commands | update_environment | frbit environments update | |
| PHP version | – | frbit environments create --php-version, frbit environments update <env> --php-version | dashboard |
| Deploy | create_deployment, or push to the connected branch | frbit environments deploy <env> | deploy hook URL |
| Restart | restart_environment | frbit environments restart <env> | |
| Why a deployment failed | get_deployment, get_deployment_logs | frbit deployments logs <dp> (--follow while it runs) | |
| Workers and cron jobs (queue worker, scheduler) | create_job, list_jobs, update_job | frbit jobs list/create/update <env or job>, frbit jobs delete after a yes | dashboard |
| Delete | – | frbit <group> delete, after a yes | dashboard |
| Pull a database | – | frbit db pull <env> --output /tmp/ | ssh + mysqldump (database.md) |
| Push a database | – | frbit db push <file> <env>, --confirm <env> only after a yes | ssh + mysql (database.md) |
| Sync files | – | frbit files pull <folder> -e <env>, frbit files push <folder> -e <env>, always with a content folder; --confirm <env> (push, --delete) only after a yes | rsync (files.md) |
| Personal SSH keys | – | frbit ssh-keys list, frbit ssh-keys add after a yes (frbit 1.24.0 and later) | dashboard (ssh.md) |
| Remote commands | – | – | ssh, mysql |
| Runtime logs (PHP, Apache, access, jobs) | get_environment_logs | frbit environments logs <env> --source php --since 1h | dashboard Logs tab, or log files over SSH |
| Metrics (usage, errors, response times, memory) | get_environment_metrics | frbit environments metrics <env>, --metric <slug> --range 7d | dashboard metrics tab |
Most commands in this table need frbit 1.15.0 or later. An unknown command or flag means an older one: the person upgrades it (access.md), or use the Other column.
A frbit command fails and the message does not say why: run frbit doctor --json (frbit 1.17.0 or later) before anything else. It checks the CLI version against the latest release, the sign-in, ssh, rsync and git, the linked environment and an SSH connection to it, and gives the fix for each failed check. An unknown command means a release without it: upgrade first.
No MCP server and no CLI yet? Connecting takes a few commands: references/access.md.
No shell, as in claude.ai chat or Cowork: only the MCP column works. Say which steps need a terminal (SSH, database, files), give the person the exact command with IDs filled in to run themselves, and offer the dashboard route where there is one.
Do not ask for an ID before trying this. Resolve it once per session and reuse it.
git remote get-url origin → owner/repo, and git branch --show-current.list_git_repositories → the entry with that fullName has connectedAppPublicId. get_app on it → region (e.g. eu-w1a) and its environments. list_environments → of those, the one whose git.branch is the current branch. If several match or none does, list the environments by name and ask which one.frbit link --json → environment, region and sshHost, from a connected repo, FORTRABBIT_ENVIRONMENT or .fortrabbit/environments.yml at the repo root (label, usually the branch → environment ID). It fails when nothing resolves; from frbit 1.19.0 the error lists the environments as app/environment with their IDs, before that run frbit environments list --json --all. Ask which one, then frbit link <env> writes that file; commit it. Every frbit command except delete takes the environment as ID or label, from frbit 1.19.0 also as app/environment by name (shop/production). Pass the ID: names can change and repeat across apps, and a label of the same spelling wins over a name. Read-only ones find it without it, commands that change something need it named, except db push and files, which --confirm guards. Name it anyway; with a label or a name, check the → en-… line on stderr. --confirm always takes the en- ID, never the label.<env>@ssh.<region>.frbit.app (the CLI prints it as sshHost)https://<env>.<region>.frbit.app. The live URL is the main domain: list_domains, isMainNo MCP tools, or a 401: connect first (references/access.md). No account yet, or no match: the repo is not on fortrabbit yet, see references/boarding.md. A deploy file .fortrabbit/deploy.yml (or .yaml, .json) means the repo deploys to fortrabbit and holds its deployment settings: read it before changing any (deploy.md). A plain .fortrabbit file with app-env-id= is a leftover of an older skill and blocks frbit: the person deletes it and runs frbit link <env-id>.
Load the one file that fits the request, two at most.
| Request | File |
|---|---|
| New to fortrabbit, no account, no app, "host this project" | boarding.md |
| Move a site from another host (Forge, Ploi, Cloudways, cPanel, a VPS …) | migrate.md |
Connect MCP, CLI or the REST API, 401, tokens | access.md |
| MCP tool details: arguments, creating apps and environments | mcp.md |
| Deploy, deployment status, failed deployment, deploy hook, build and post-deploy commands | deploy.md |
| Connect a GitHub repo, the fortrabbit GitHub App | git-github.md |
| Run artisan, craft, wp-cli, composer remotely, SSH keys, SSH errors | ssh.md |
| Database pull, push, dump, import, connect a client | database.md |
| Sync uploads, assets, content or all files with rsync | files.md |
| Site returns 404, 500, 503, 504, is slow, "is it live?" | troubleshooting.md |
| Laravel, Craft CMS, Statamic, Kirby, WordPress specifics, local dev (DDEV) | software.md |
Docs: https://docs.fortrabbit.com/llms.txt lists every page. Fetch a page as Markdown by inserting /raw and appending .md: https://docs.fortrabbit.com/raw/platform/deployment/intro.md.
references/access.md (opens in a new tab)references/boarding.md (opens in a new tab)references/database.md (opens in a new tab)references/deploy.md (opens in a new tab)references/files.md (opens in a new tab)references/git-github.md (opens in a new tab)references/mcp.md (opens in a new tab)references/migrate.md (opens in a new tab)references/software.md (opens in a new tab)references/ssh.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub fortrabbit/agent-skills --plugin fortrabbitOther plugins' skills for the same job