CLI reference
Every skiff command and flag, generated from the CLI itself.
skiff bucket
Manage your team's buckets
skiff bucket attach
Give an app the bucket's connection variables
skiff bucket attach <bucket> <app>skiff bucket create
Create a bucket
skiff bucket create <name>skiff bucket detach
Take the bucket's variables out of an app
skiff bucket detach <bucket> <app>skiff bucket ls
List your team's buckets
skiff bucket lsskiff bucket rm
Delete a bucket and every file in it
skiff bucket rm <name> [flags]| Flag | Default | What it does |
|---|---|---|
-y, --yes | delete without asking |
skiff compose
Bring a Docker Compose project onto Skiff
skiff compose plan
Show what a Compose file would become, without changing anything
skiff compose plan [flags]| Flag | Default | What it does |
|---|---|---|
-f, --file | Compose file (default: compose.yaml or docker-compose.yml here) | |
--name | name for the stack (default: this folder's name) |
skiff dashboard
Serve a local web dashboard of your apps
skiff dashboard [flags]| Flag | Default | What it does |
|---|---|---|
--addr | :4000 | address to listen on |
skiff db
Manage and reach your team's databases
skiff db attach
Give an app the database's connection variables
skiff db attach <database> <app>skiff db connect
Open a private tunnel to a database for local clients
Listens on this machine and carries connections to the database over your dashboard's address. The database stays closed to the internet.
skiff db connect <name> [flags]| Flag | Default | What it does |
|---|---|---|
-p, --port | 0 | local port (default: the engine's usual port, or any free one) |
skiff db create
Create a database
skiff db create <name> [flags]| Flag | Default | What it does |
|---|---|---|
-e, --engine | postgres | postgres, pgvector (Postgres with vector search), timescaledb (Postgres for time series), mysql, mongodb, redis or clickhouse |
skiff db detach
Take the database's variables out of an app
skiff db detach <database> <app>skiff db ls
List your team's databases
skiff db lsskiff db rm
Delete a database, its data and its backups
skiff db rm <name> [flags]| Flag | Default | What it does |
|---|---|---|
-y, --yes | delete without asking |
skiff deploy
Build and deploy the current app to your server
Deploy builds your app, runs it, and serves it at a URL. Reads config from skiff.toml.
skiff deploy [flags]| Flag | Default | What it does |
|---|---|---|
--build-timeout | 15m0s | cancel the build if it runs longer than this |
-c, --config | skiff.toml | path to skiff.toml |
--context | directory to build from (default: the directory holding skiff.toml) | |
--name | override the app name (e.g. for preview environments) | |
--timeout | 0s | how long to wait for the new version to become healthy (default: health_timeout in skiff.toml, else 30s) |
skiff down
Stop and remove a deployed app
skiff down <app>skiff git-setup
Set up git push deploys for this app
skiff git-setup [flags]| Flag | Default | What it does |
|---|---|---|
-c, --config | skiff.toml | path to skiff.toml |
skiff init
Create a skiff.toml for the app in the current directory
skiff initskiff job
Manage an app's scheduled jobs
skiff job add
Add a job that runs on a schedule, when its webhook is called, or for each new file in a bucket
skiff job add <app> <name> [flags]| Flag | Default | What it does |
|---|---|---|
--bucket | start the job for each new file in this bucket of your team's | |
--catch-up | "skip" drops runs missed while the server was down (default: run once) | |
-c, --command | what the job runs | |
--prefix | only files under this folder of the bucket, like incoming/ | |
--retries | 0 | how many more times a failed run is tried, up to 10 |
-s, --schedule | cron schedule in the server's time zone, like "0 3 * * *" | |
--timeout | 0s | how long a run may take, like 2h (default 30m) |
--webhook | give the job an address that starts it when a signed request arrives |
skiff job ls
List an app's jobs
skiff job ls <app>skiff job rm
Remove a job
skiff job rm <app> <job>skiff job run
Run a job now and show its output
skiff job run <app> <job>skiff job runs
Show a job's recent runs, newest first
skiff job runs <app> <job>skiff login
Sign the CLI in to your Skiff dashboard
Opens your dashboard to approve this machine. Once signed in, deploys to that server show up under your team with who shipped them, and pick up the env vars set in the dashboard (skiff.toml still wins when both set a key).
skiff login [dashboard-url]skiff logout
Forget the dashboard sign-in on this machine
skiff logoutskiff logs
Show logs for a deployed app
skiff logs <app> [flags]| Flag | Default | What it does |
|---|---|---|
-f, --follow | stream new logs as they arrive | |
-n, --tail | 100 | number of recent lines to show first |
skiff ls
List deployed apps
skiff lsskiff mcp
Serve your Skiff projects to AI agents over MCP (stdio)
Runs a Model Context Protocol server on stdin/stdout so an agent can list projects, deploy, read logs and traffic, edit env vars, roll back, and manage workers, jobs, databases, buckets and volumes. Uses the dashboard you signed in to with skiff login, or SKIFF_URL (e.g. https://dash.example.com) and SKIFF_TOKEN (Settings → API tokens). With --read-only, or SKIFF_MCP_READONLY=1, the tools that change things (deploy, rollback, set_env, and the ones that create or change workers, jobs, databases, buckets and volumes) are left out. No tool deletes a database, bucket or volume.
skiff mcp [flags]| Flag | Default | What it does |
|---|---|---|
--read-only | leave out the tools that change things |
skiff open
Open a deployed app's URL in the browser
skiff open <app> [flags]| Flag | Default | What it does |
|---|---|---|
--print | print the URL instead of opening a browser |
skiff panel
Run the hosted control panel (deploy + manage from the browser)
skiff panel [flags]| Flag | Default | What it does |
|---|---|---|
--addr | 127.0.0.1:7070 | listen address (loopback by default — the edge router proxies to it) |
--domain | base domain for app URLs |
skiff proxy
Run the local router for *.localhost apps
skiff proxy [flags]| Flag | Default | What it does |
|---|---|---|
--addr | 127.0.0.1:8080 | address to listen on |
skiff router
Run the edge router (subdomain routing + auto HTTPS) — runs on the server
skiff router [flags]| Flag | Default | What it does |
|---|---|---|
--certs-dir | directory for issued certificates (default /var/lib/skiff/certs on Linux, ~/.skiff/certs elsewhere) | |
--domain | base domain — apps served at <app>.<domain> | |
--domains-file | file of custom host→app mappings (default ~/.skiff/domains.json) | |
--http-addr | HTTP-only test mode on this address (no TLS) | |
--mail-file | file of email forwarding rules (default ~/.skiff/mail.json) | |
--metrics-file | file to snapshot request metrics to (default ~/.skiff/metrics.json) | |
--panel | 127.0.0.1:7070 | fallback control panel address for dash.<domain> |
--panel-pointer | file holding the live panel address (default ~/.skiff/panel.addr) | |
--requests-dir | directory for the per-request log (default ~/.skiff/requests) | |
--site-app | www | app that serves the apex + www.<domain> |
--smtp-addr | :25 | address to receive forwarded email on (empty disables) |
skiff run
Run a command once in a fresh container from an app's latest build
Run a command once in a fresh container from an app's latest build, with its environment and limits, and print its output as it comes. Skiff exits with the command's exit code. Ctrl-C stops the run. skiff run shop-api -- npm run migrate skiff run shop-api --timeout 2h -- "python backfill.py && echo done"
skiff run <app> -- <command> [flags]| Flag | Default | What it does |
|---|---|---|
--timeout | 0s | how long it may take, like 2h (default 30m, up to 168h) |
skiff server
Manage deploy servers
skiff server reset-2fa
Turn off two-factor sign-in for an account that lost its device and recovery codes
Turns off two-factor sign-in for one dashboard account, so it can sign in with its password and set two-factor up again. Run it on the server, where access to the machine is the proof of identity.
skiff server reset-2fa <email>skiff server restore
Restore Skiff's own state onto this server from a control-plane backup
Restores the projects, settings, domains, tokens and history a control-plane backup holds into ~/.skiff. Run it on the new server before starting the panel. The recovery key is in the old dashboard under Server → Control-plane backup.
skiff server restore <backup.skiffbak> [flags]| Flag | Default | What it does |
|---|---|---|
--key | the recovery key (64 hex characters) |
skiff server setup
Install Docker on a fresh server over SSH
skiff server setup <user@host>skiff status
Show the status of deployed apps
skiff status [app]skiff sync
Reconcile containers with the registry (prune orphans, adopt live apps, drop dead entries)
skiff syncskiff version
Print the Skiff version
skiff versionskiff volume
Manage an app's volumes
skiff volume add
Give an app a volume, mounted on its next deploy
skiff volume add <app> <name> <path>skiff volume ls
List an app's volumes
skiff volume ls <app>skiff volume rm
Stop mounting a volume; its data is deleted after the next deploy
skiff volume rm <app> <name> [flags]| Flag | Default | What it does |
|---|---|---|
-y, --yes | remove without asking |
skiff whoami
Show which dashboard the CLI is signed in to
skiff whoamiskiff worker
Manage an app's background workers
skiff worker ls
List an app's workers
skiff worker ls <app>skiff worker rm
Stop and remove a worker
skiff worker rm <app> <worker>skiff worker set
Create a worker or change it
skiff worker set <app> <worker> [flags]| Flag | Default | What it does |
|---|---|---|
-c, --command | what the worker runs, like "node queue.js" | |
-r, --replicas | 1 | how many copies, from 1 to 10 |