Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

SST CLI

$ sst Official High Risk
SST (Anomaly Innovations) · Cloud & Infra · MIT · macos / linux / windows

SST CLI (sst) deploys full-stack applications across AWS, Cloudflare, and other providers using TypeScript sst.config.ts definitions backed by Pulumi/Terraform providers, featuring sst diff, --stage environment isolation, and sst state export.

FCRS-1.0 Score
81 /100
Good
Medium Confidence
Zero-Friction Install
brew install anomalyco/tap/sst
CLI vs MCP Decision CLI Preferred vs MCP

sst evaluates local sst.config.ts files and bundles app code on the host, requiring local CLI execution.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 18 / 25

Supports sst diff, --yes, and JSON sst state export, though diff/deploy stream formatted terminal logs rather than JSON.

  • sst diff dry-run and JSON sst state export; TUI-heavy sst dev
Trust & Safety 20 / 25

sst diff previews changes before apply and --stage isolates personal/dev/prod stacks cleanly.

  • Mandatory --stage namespaces and sst diff preview
Setup & Portability 14 / 15

Fast Go-backed CLI installable via npm, npx, Homebrew tap, or sst.dev/install.

  • Available via npm, npx sst, and Homebrew
Utility & Efficiency 12 / 15

Unifies frontend builds, serverless functions, and multi-cloud IaC in TypeScript.

  • Single sst.config.ts orchestrates full-stack resources
Maintenance & Lineage 9 / 10

Official sst/sst repository actively maintained under MIT.

  • Official sst/sst repository
Docs & Verifiability 8 / 10

Clean sst.dev/docs/reference/cli/ documentation and TypeScript type definitions.

  • Official SST v3 CLI docs

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Inherits provider credentials from ~/.aws/credentials, AWS_PROFILE, CLOUDFLARE_API_TOKEN, and encrypted state in cloud object storage.

Side Effects
Read-Only Local Write Remote Write Destructive Billing Impact
Cost & Quotas

CLI is free (MIT); deployed AWS/Cloudflare resources incur provider billing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# SST CLI Agent Rules
- ALWAYS pass `--stage <name>` explicitly and run `sst diff --stage <name>` before `sst deploy`.
- Never run `sst deploy --stage production` or `sst remove` without explicit human approval.
- Avoid `sst dev` (interactive multiplex TUI) in headless agent shells.

Agent-Ready Command Recipes

Safe Read-Only Queries

Preview infrastructure changes with sst diff
sst diff --stage dev

Computes planned infrastructure creates, updates, and deletes for the dev stage without applying.

Export current stage state as JSON
sst state export --stage dev

Dumps the remote deployment state JSON for offline inspection.

Controlled Writes & Previews

Deploy explicitly to an isolated --stage
sst deploy --stage dev --yes

Deploys only to the named dev stage with non-interactive confirmation.

Strengths for Agents

  • + sst diff gives a reliable infrastructure preview prior to sst deploy.
  • + --stage prevents dev experiments from colliding with production.
  • + sst state export dumps full deployment state as inspectable JSON.

Caveats & Pitfalls

  • ! sst dev launches an interactive multiplexer unsuitable for headless shells.
  • ! sst diff and sst deploy lack a --json structured output option.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI