Getting Started

Developer Quickstart & CLI

This developer preview lets you deploy services, use S3, and run PostgreSQL with pgvector. GPU inference is coming soon.

1Install the Global CLI

Install the unified Skiff CLI directly via npm:

bash
npm install -g skiff-cloud

2Authenticate with Your Cloud Tenant

Sign in to your organization or register a new sovereign workspace:

bash
skiff login

Follow the interactive prompt to enter your tenant email and password. Your API key and JWT are securely stored in ~/.skiff/config.json.

3Verify Platform Telemetry

bash
skiff status

4Create an account in the console

Open www.skiffcloud.app/register. You get a session token and an access key. Copy the secret when it is shown. It is not displayed again. Use the session token as Authorization: Bearer for the API. Use the access key id and secret for S3. The access key id is not a bearer token.

5Deploy something small

bash
curl -X POST https://api.skiffcloud.app/api/services \
  -H "Authorization: Bearer $SKIFF_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name":"hello","image":"nginx:alpine","port":80,"memory_mb":256}'

When the deployment is live, the app is at https://hello.skiffcloud.app. GitHub repos work the same way with repo_url instead of image.

Developer preview limits

This is one machine. Limits keep it usable for everyone. Signup closes when the node is full.

  • 2 services, sharing 1 GB of RAM and 1 vCPU. A single service defaults to 512 MB and 1 vCPU, and cannot ask for more than 2 GB or 2 vCPU.
  • 1 GB of object storage.
  • 2 data instances. One cluster uses both: a Postgres database and a Valkey cache.
  • GPU inference is not included.

Postgres and Valkey listen only on Skiff's private Docker network. Connection strings work from your services. From a laptop, use the HTTP API, or an SSH tunnel. There is no TLS on the database port.

Autonomous AI

Model Context Protocol (MCP) Integration

Connect Claude Desktop or Cursor to Skiff. Agents can deploy services and query PostgreSQL. GPU inference is coming soon.

Claude Desktop Configuration

Add Skiff to your claude_desktop_config.json:

json
{
  "mcpServers": {
    "skiff": {
      "command": "npx",
      "args": ["-y", "skiff-cloud", "mcp"]
    }
  }
}

Cursor / Windsurf Setup

Run the dedicated stdio transport command:

bash
skiff mcp
Micro-Compute

Compute Services: Git & Docker Deploys

Deploy a Git repository or Docker image like Vercel, Render or Railway. Skiff clones and builds your code (Dockerfile, Next.js, Node, Python, Go or static sites are auto-detected), starts it with hard CPU and memory limits, health-checks it, then switches traffic over with zero downtime. Every deploy is kept so you can roll back instantly.

Deploy via CLI

bash
skiff deploy --repo vercel/next-learn --name my-app
skiff deploy --image nginx:alpine --port 80 --name web

Deploy via REST API

bash
curl -X POST https://api.skiffcloud.app/api/services \
  -H "Authorization: Bearer <YOUR_JWT_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "my-app",
    "repo_url": "https://github.com/owner/repo",
    "branch": "main",
    "env": { "NODE_ENV": "production" },
    "memory_mb": 512
  }'

# Follow the build log
curl -N -H "Authorization: Bearer <YOUR_JWT_TOKEN>" \
  "https://api.skiffcloud.app/api/services/<id>/deployments/<deployment_id>/logs?stream=1"
Public URL & deploy on push

Every service gets its own public hostname. Connect GitHub when creating the service and Skiff registers a push webhook, so each push to the tracked branch builds and deploys automatically.

https://<service-name>.skiffcloud.app

Your app must listen on 0.0.0.0 and the port you set (port in the API, or the PORT environment variable Skiff injects).

What you can set

  • env is injected into the container. attached_db is a database or cluster id. Skiff adds DATABASE_URL from it.
  • install_command, build_command, and start_command override auto-detection. root_dir is a subdirectory of the repo.
  • healthcheck_path must return HTTP 200 before traffic moves to the new deployment. Leave it empty to skip the check.
  • Private GitHub repos need github_token. With a token, Skiff registers a push webhook on that repo.

After it is running

  • GET /api/services/:id/logs and .../deployments/:id/logs?stream=1 for the build and runtime log.
  • POST /api/services/:id/deployments deploys again. POST .../deployments/:id/rollback serves an older deployment.
  • POST /api/services/:id/stop and .../start pause and resume the container.
  • Feedback for that app is at https://<name>.skiffcloud.app/_skiff/feedback. The page loads even when the app is down.
Coming soon

GPU inference

Coming soon. This developer preview does not include model inference. Deploy services, Postgres, and S3 instead.

Object Storage

S3-Compatible Object Storage

Skiff S3 implements AWS Signature V4 (header and presigned requests), multipart uploads and range reads. Use any AWS SDK, boto3 or the AWS CLI. Buckets are private to your account. Use path-style addressing: the endpoint is https://s3.skiffcloud.app (or https://api.skiffcloud.app/s3). Create an access key under IAM to get a key ID and secret.

Python (Boto3) Example

python
import boto3
from botocore.config import Config

s3 = boto3.client(
    "s3",
    endpoint_url="https://s3.skiffcloud.app",
    aws_access_key_id="<YOUR_ACCESS_KEY_ID>",
    aws_secret_access_key="<YOUR_SECRET_ACCESS_KEY>",
    region_name="us-east-1",
    config=Config(signature_version="s3v4", s3={"addressing_style": "path"}),
)

# Upload an object
s3.put_object(
    Bucket="production-assets",
    Key="weights/model.bin",
    Body=open("model.bin", "rb"),
)

AWS CLI Configuration

bash
aws configure set aws_access_key_id <YOUR_KEY_ID>
aws configure set aws_secret_access_key <YOUR_SECRET_KEY>
aws configure set default.region us-east-1
aws configure set default.s3.addressing_style path

# List buckets
aws --endpoint-url https://s3.skiffcloud.app s3 ls

Keys, addresses, and presigning

  • Create the key under IAM. Send the secret as aws_secret_access_key. Do not send the access key id as a bearer token.
  • Use path-style URLs (/bucket/key). Virtual-hosted buckets (bucket.s3.skiffcloud.app) are not served.
  • Presigned GET and PUT URLs work for up to 7 days. Header auth accepts UNSIGNED-PAYLOAD and a hex payload hash.
  • Deleting a key takes effect immediately. A wrong secret returns 403 SignatureDoesNotMatch. An unknown key id returns InvalidAccessKeyId.
  • You can also use the JSON API: POST /api/storage/buckets and POST /api/storage/buckets/:name/objects with a bearer token, for small objects.
Relational & Embeddings

Managed PostgreSQL with pgvector and a Valkey cache

Each cluster is a dedicated PostgreSQL database (with the pgvector extension) plus a Valkey (Redis-compatible) cache, running in Docker on the node. Database roles are private to your account. Connection strings are reachable from your Skiff services over a private network; attach a cluster to a service and it is injected as DATABASE_URL.

DATA CLUSTER: POSTGRESQL + PGVECTOR + VALKEY

Every data cluster bundles PostgreSQL, pgvector and a Valkey cache, and exposes an HTTP API for SQL, vector search and cache keys (https://api.skiffcloud.app/api/data).

1. Unified TypeScript SDK (skiff-cloud)Node.js · Bun · Edge

typescript
import { SkiffData } from "skiff-cloud";

// One endpoint, one API key for SQL, Vectors & Cache
const db = new SkiffData({
  endpoint: "https://api.skiffcloud.app",
  token: process.env.SKIFF_TOKEN,
});

// 1. Key-value cache (Valkey)
await db.cache.set("session:usr_99", JSON.stringify({ role: "admin" }));
const cached = await db.cache.get("session:usr_99");

// 2. SQL, with optional result caching in Valkey
const users = await db.sql("SELECT * FROM users WHERE active = true", {
  cacheTtlSec: 60, // cached in Valkey; invalidated by writes
});

// 3. pgvector similarity search
const matches = await db.vector({
  table: "documents",
  queryVector: [0.024, -0.012, 0.491],
  limit: 5,
});

2. SQL via the REST APIPOST /api/data/:id/sql

bash
curl -X POST https://api.skiffcloud.app/api/data/<CLUSTER_ID>/sql \
  -H "Authorization: Bearer <YOUR_JWT_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "SELECT id, title FROM documents LIMIT 5",
    "cache_ttl_sec": 60
  }'

3. Create the cluster, then a table for vectors

POST /api/data with {"name":"notes"} returns the Postgres URI, the Valkey URI, and the cluster id. Vector search runs ORDER BY embedding <=> $1. The table must have id, content (text), and embedding vector(N) where N matches the query. Writes clear cached SQL for that cluster.

sql
CREATE EXTENSION IF NOT EXISTS vector;
CREATE TABLE documents (
  id serial PRIMARY KEY,
  content text,
  embedding vector(3)
);

4. Cache keys and a database on its own

POST /api/data/:id/cache with {"key","value"} sets a key. GET /api/data/:id/cache/:key reads it.POST /api/databases creates Postgres without a cache. POST /api/sider creates Valkey on its own. Each of those counts toward the same limit of 2. The CLI equivalents are skiff db create --name app and skiff data create --name cache.

Identity & Security

Multi-Tenant IAM & SigV4 Keys

Each account only sees its own services, databases, and buckets. Passwords are stored with Argon2id. Sessions are JWTs.

  • POST /api/auth/register needs tenant_name, email, and a password of at least 8 characters. Signup is rate-limited and capped.
  • POST /api/auth/login with email and password returns a bearer token.
  • POST /api/iam/keys returns an access key id and a secret. Save the secret. DELETE /api/iam/keys/:id revokes it immediately, including S3.
  • The secret can also be sent as Authorization: Bearer. The access key id cannot.

Generate a New Access Key

bash
curl -X POST https://api.skiffcloud.app/api/iam/keys \
  -H "Authorization: Bearer <YOUR_JWT_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "CI/CD Pipeline Key",
    "role": "developer"
  }'

Feedback

Every console page has a Feedback button. Every deployed service has a page at /_skiff/feedback, and that page is served by Skiff even when the container is stopped.

bash
curl -X POST https://api.skiffcloud.app/api/ops/feedback \
  -H "Content-Type: application/json" \
  -d '{"service":"hello","path":"/compute","message":"The deploy log stopped at npm install."}'

When a running service's container stops, the system root account gets an in-app alert on Activity. Notes and page views show up there as they happen.

Complete Specification

REST API Reference

Direct HTTP endpoints exposed on the Cloud Gateway at https://api.skiffcloud.app.

MethodEndpointAuthDescription
GET/healthPublicNode and gateway status check
POST/api/auth/registerPublicRegister new tenant and admin user
POST/api/auth/loginPublicObtain sovereign JWT access token
GET/api/node/telemetryBearerCPU, memory, disk, and GPU readings. Add ?stream=true for a 1s SSE feed
GET/api/servicesBearerList compute services for current tenant
POST/api/servicesBearerCreate a service from a Git repo or image and deploy it
DELETE/api/services/:idBearerDelete a service, its containers and images
GET/api/dataBearerList data clusters (PostgreSQL + pgvector + Valkey)
POST/api/dataBearerProvision a data cluster
POST/api/data/:id/sqlBearerExecute SQL, optionally cached in Valkey (cache_ttl_sec)
POST/api/data/:id/vectorBearerCosine search. The table needs id, content text, and embedding vector(N)
ALL/api/data/:id/cacheBearerKey-value cache operations (Valkey)
GET/api/services/:id/logsBearerRuntime log for a service
POST/api/services/:id/deploymentsBearerBuild and deploy again
POST/api/databasesBearerCreate a Postgres database with pgvector
POST/api/siderBearerCreate a Valkey cache
POST/api/iam/keysBearerCreate an S3 access key. The secret is returned once
POST/api/ops/feedbackPublicSend a short note about a page or service
GET/api/ops/streamRootLive activity for the system root account
POST/v1/chat/completionsBearerGPU inference (coming soon)
GET/PUT/s3/:bucket/:keySigV4AWS S3-compatible blob storage operations