digitalocean
由 rexlunae 提供
Web & Frontend Development简介
Manage DigitalOcean resources via API — Droplets (create/destroy/resize/power), DNS zones and records, Spaces.
描述
该技能的功能
Manages DigitalOcean infrastructure programmatically through the API. Covers Droplets, DNS zones and records, Spaces object storage, Databases, Firewalls, Load Balancers, and Kubernetes. Includes account and billing queries.
Automates repetitive infrastructure tasks from the command line instead of clicking through the DigitalOcean control panel.
何时使用
- Spinning up a new Ubuntu droplet for a side project
- Updating DNS A records after a server migration
- Taking a snapshot before a risky deployment
- Adding firewall rules to restrict droplet access
- Checking current account balance and billing history
示例工作流
User asks: Deploy a new web server at mydomain.com
- 1
Creates a new Ubuntu droplet in nyc1 with the specified size and SSH key
- 2
Retrieves the droplet IP address from the API
- 3
Adds an A record for mydomain.com pointing to the new IP
- 4
Creates a firewall allowing SSH, HTTP, and HTTPS inbound traffic
- 5
Attaches the firewall to the new droplet
A running droplet accessible at mydomain.com with firewall rules applied
前置要求
- DigitalOcean account
- DigitalOcean API token from https://cloud.digitalocean.com/account/api/tokens
安装
clawhub install rexlunae/digitalocean运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。