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

DigitalOcean doctl

$ doctl Official High Risk
DigitalOcean · Cloud & Infra · Apache-2.0 · macos / linux / windows

DigitalOcean's official CLI (doctl) manages Droplets, Kubernetes clusters, App Platform, Databases, and Spaces from a single Go binary with --output json (-o json), --format field selection, named --context switching, and --force guards on deletes.

FCRS-1.0 Score
88 /100
Good
Medium Confidence
Zero-Friction Install
brew install doctl
CLI vs MCP Decision CLI Preferred vs MCP

doctl provides fast single-binary --output json coverage of DigitalOcean APIs with trivial shell ergonomics.

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 23 / 25

Clean --output json (-o json) and --format column selection across commands, backed by fast Go binary startup.

  • Supports -o json and --format globally
Trust & Safety 20 / 25

Named --context isolation and mandatory --force confirmation gate on destructive deletes protect against accidental deletion.

  • Destructive delete commands prompt unless --force is passed
Setup & Portability 14 / 15

Single static Go binary available via Homebrew, Snap, and release tarballs across macOS, Linux, and Windows.

  • Single Go binary via brew install doctl
Utility & Efficiency 13 / 15

Covers DigitalOcean Compute, DOKS, App Platform, and Networking cleanly.

  • Unified control over DigitalOcean infrastructure
Maintenance & Lineage 9 / 10

Official digitalocean/doctl repository actively maintained under Apache-2.0.

  • First-party digitalocean/doctl repository
Docs & Verifiability 9 / 10

Consistent --help output and well-organized DigitalOcean reference docs.

  • Complete online reference at docs.digitalocean.com

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Stores named context tokens in ~/.config/doctl/config.yaml or reads DIGITALOCEAN_ACCESS_TOKEN.

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

CLI is free (Apache-2.0); creating Droplets or managed clusters incurs DigitalOcean billing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# doctl Agent Rules
- Always pass `--output json` and verify `doctl account get --output json` first.
- Pin `--context` when working across multiple DigitalOcean teams.
- Never pass `--force` (`-f`) on `delete` subcommands without user confirmation.

Agent-Ready Command Recipes

Safe Read-Only Queries

Verify authenticated DigitalOcean account
doctl account get --output json

Returns account email, status, and droplet limits as clean JSON.

List Droplets in JSON format
doctl compute droplet list --output json

Lists active Droplets with IPs, regions, and status in structured JSON.

Strengths for Agents

  • + Fast single Go binary with universal --output json support.
  • + Destructive delete commands require explicit --force in non-interactive runs.
  • + Named --context switching keeps personal and team tokens separated.

Caveats & Pitfalls

  • ! Lacks a native --dry-run flag on resource provisioning commands.
  • ! --output json ignores --format column filters, emitting full resource JSON.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI