Skip to Content
Docs

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 ls

skiff bucket rm

Delete a bucket and every file in it

skiff bucket rm <name> [flags]
FlagDefaultWhat it does
-y, --yesdelete 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]
FlagDefaultWhat it does
-f, --fileCompose file (default: compose.yaml or docker-compose.yml here)
--namename for the stack (default: this folder's name)

skiff dashboard

Serve a local web dashboard of your apps

skiff dashboard [flags]
FlagDefaultWhat it does
--addr:4000address 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]
FlagDefaultWhat it does
-p, --port0local port (default: the engine's usual port, or any free one)

skiff db create

Create a database

skiff db create <name> [flags]
FlagDefaultWhat it does
-e, --enginepostgrespostgres, 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 ls

skiff db rm

Delete a database, its data and its backups

skiff db rm <name> [flags]
FlagDefaultWhat it does
-y, --yesdelete 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]
FlagDefaultWhat it does
--build-timeout15m0scancel the build if it runs longer than this
-c, --configskiff.tomlpath to skiff.toml
--contextdirectory to build from (default: the directory holding skiff.toml)
--nameoverride the app name (e.g. for preview environments)
--timeout0show 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]
FlagDefaultWhat it does
-c, --configskiff.tomlpath to skiff.toml

skiff init

Create a skiff.toml for the app in the current directory

skiff init

skiff 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]
FlagDefaultWhat it does
--bucketstart 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, --commandwhat the job runs
--prefixonly files under this folder of the bucket, like incoming/
--retries0how many more times a failed run is tried, up to 10
-s, --schedulecron schedule in the server's time zone, like "0 3 * * *"
--timeout0show long a run may take, like 2h (default 30m)
--webhookgive 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 logout

skiff logs

Show logs for a deployed app

skiff logs <app> [flags]
FlagDefaultWhat it does
-f, --followstream new logs as they arrive
-n, --tail100number of recent lines to show first

skiff ls

List deployed apps

skiff ls

skiff 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]
FlagDefaultWhat it does
--read-onlyleave out the tools that change things

skiff open

Open a deployed app's URL in the browser

skiff open <app> [flags]
FlagDefaultWhat it does
--printprint the URL instead of opening a browser

skiff panel

Run the hosted control panel (deploy + manage from the browser)

skiff panel [flags]
FlagDefaultWhat it does
--addr127.0.0.1:7070listen address (loopback by default — the edge router proxies to it)
--domainbase domain for app URLs

skiff proxy

Run the local router for *.localhost apps

skiff proxy [flags]
FlagDefaultWhat it does
--addr127.0.0.1:8080address to listen on

skiff router

Run the edge router (subdomain routing + auto HTTPS) — runs on the server

skiff router [flags]
FlagDefaultWhat it does
--certs-dirdirectory for issued certificates (default /var/lib/skiff/certs on Linux, ~/.skiff/certs elsewhere)
--domainbase domain — apps served at <app>.<domain>
--domains-filefile of custom host→app mappings (default ~/.skiff/domains.json)
--http-addrHTTP-only test mode on this address (no TLS)
--mail-filefile of email forwarding rules (default ~/.skiff/mail.json)
--metrics-filefile to snapshot request metrics to (default ~/.skiff/metrics.json)
--panel127.0.0.1:7070fallback control panel address for dash.<domain>
--panel-pointerfile holding the live panel address (default ~/.skiff/panel.addr)
--requests-dirdirectory for the per-request log (default ~/.skiff/requests)
--site-appwwwapp that serves the apex + www.&lt;domain>
--smtp-addr:25address 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]
FlagDefaultWhat it does
--timeout0show 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]
FlagDefaultWhat it does
--keythe 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 sync

skiff version

Print the Skiff version

skiff version

skiff 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]
FlagDefaultWhat it does
-y, --yesremove without asking

skiff whoami

Show which dashboard the CLI is signed in to

skiff whoami

skiff 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]
FlagDefaultWhat it does
-c, --commandwhat the worker runs, like "node queue.js"
-r, --replicas1how many copies, from 1 to 10

On this page