digitalocean

digitalocean is a skill for Claude Code, Codex from ericrisco/rsc-harness. It costs 96 tokens per session (2,936 once invoked), scanned B, original, MIT.

A guide to deploying and operating applications on DigitalOcean, a cloud hosting provider. It covers Droplets, App Platform, Functions, managed databases, private networking, object storage, and the command-line tool doctl.

In plain words
What is it for?
Use it to choose between a virtual machine, managed app hosting, or serverless functions; configure app specifications; and connect managed Postgres, MySQL, Valkey, Spaces, and a CDN.
Why use it?
It helps match a workload to the right hosting model and connect compute, databases, storage, and networking. It also clarifies which tasks belong to general deployment, Docker image creation, or DNS management.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/ericrisco/rsc-harness/digitalocean
Any agent
npx skills add ericrisco/rsc-harness --skill digitalocean
Clone the repo
git clone --depth 1 https://github.com/ericrisco/rsc-harness

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for digitalocean

README.md
[![agentmods](https://agentmods.dev/badge/skills/ericrisco/rsc-harness/digitalocean.svg)](https://agentmods.dev/skills/ericrisco/rsc-harness/digitalocean)
Your own site
<a href="https://agentmods.dev/skills/ericrisco/rsc-harness/digitalocean"><img src="https://agentmods.dev/badge/skills/ericrisco/rsc-harness/digitalocean.svg" alt="Measured on agentmods" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,936 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.02936
Opus 5 $0.00048 $0.01468
Sonnet 5 $0.00019 $0.00587
Haiku 4.5 $0.00010 $0.00294

Measured 2d ago against content hash 0b759bdd1a1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade B, and why

digitalocean scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/verify.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

# tar xf doctl-*.tar.gz && sudo mv doctl /usr/local/bin
skills/digitalocean/SKILL.md · 228 lines

How it starts

The opening of the file, as written. The whole thing — 228 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DigitalOcean — Droplet vs App Platform, doctl, Managed DBs, Spaces

You own one decision: where on DO does this run, and how do I ship it. Host-agnostic CI/CD, release gating and rollback strategy are ../deployment/SKILL.md; authoring the Dockerfile is docker; DNS records and the registrar are domains-dns; a bare Hetzner box and its economics are hetzner. Pick the compute model first, then wire data and storage, then the ops that bite in production.

workload → [Droplet | App Platform | Functions] → Managed DB (VPC private host) → Spaces (S3 + CDN)
              raw VPS    managed PaaS   event fn        Postgres/MySQL/Valkey         object store

The core decision: Droplet vs App Platform vs Functions

Settle this before writing a single command. Most web apps want App Platform; reach for a Droplet only when you need the box itself.

Axis Droplet (VPS) App Platform (PaaS) Functions
Control Full root, any daemon, any port Build+run only, no SSH Per-invocation, no host
Ops burden You patch/secure/restart it DO runs it, auto TLS, auto deploy Zero infra
Price floor Per-second billing since 2026-01-01, min 60s or $0.01 3 static sites free; dynamic from $5/mo per service Pay per call
Scaling Resize/clone/load-balance yourself Set instance count + size, autoscale Implicit
Best for Stateful daemons, cron hosts, custom networking, "give me a Linux box" Web service / API / worker / static site from a repo Event glue, webhooks

Rules of thumb:

  • Stateless web service or API from a Git repo → App Platform. It builds, deploys, gives you TLS and a URL, and re-deploys on push. No box to patch. Static frontend → App Platform static site (free, up to 3); don't run a Droplet to serve HTML.
  • You need root, a long-lived stateful daemon, custom ports, or a cron host → Droplet.
  • A managed Postgres/MySQL/Valkey → always the Managed Database product, never a DB you hand-install on a Droplet, unless you have a hard reason.

Read the full file on GitHub · 228 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 228 lines · 96 tokens per session scan B 0b759bdd1a1f

Subscribe to this mod's changes

digitalocean is a skill published in the GitHub repository ericrisco/rsc-harness (64 stars, last pushed 3d ago), licensed MIT. It adds 96 tokens to every session and 2,936 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

app-platform-router

Routes DigitalOcean App Platform tasks to specialized sub-skills. Use when working with App Platform deployments, migrations, database configuration, networking, or troubleshooting.

digitalocean-labs/do-app-platform-skills · 34 tokens

deployment

Deploy applications to DigitalOcean App Platform via GitHub Actions with proper environment management and secrets handling. Use when setting up CI/CD pipelines, configuring staging/production environments, managing deployment secrets, or creating GitHub Actions workflows.

digitalocean-labs/do-app-platform-skills · 46 tokens

app-platform-designer

Transform natural language application descriptions into production-ready DigitalOcean App Platform specifications. Use when designing apps, creating app specs, generating deploy.template.yaml, or architecting multi-component applications.

digitalocean-labs/do-app-platform-skills · 40 tokens

app-platform-migration

Migrate applications from Heroku, AWS, Render, Railway, Fly.io, or Docker Compose to DigitalOcean App Platform. Use when converting existing apps, mapping services, refactoring platform-specific code, or creating app specs from other platform configurations.

digitalocean-labs/do-app-platform-skills · 54 tokens

spaces

Configure DigitalOcean Spaces (S3-compatible object storage) for App Platform apps. Use when setting up file uploads, static assets, CDN, access logging, or per-app credential management.

digitalocean-labs/do-app-platform-skills · 39 tokens

planner

Generate staged project plans from design through deployment. Use when planning App Platform projects, breaking complex deployments into resumable stages, or tracking multi-step infrastructure setup.

digitalocean-labs/do-app-platform-skills · 33 tokens