Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

digitalocean

bởi rexlunae

Web & Frontend Development
836Lượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Manage DigitalOcean resources via API — Droplets (create/destroy/resize/power), DNS zones and records, Spaces.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: Deploy a new web server at mydomain.com

AGENT
  1. 1

    Creates a new Ubuntu droplet in nyc1 with the specified size and SSH key

  2. 2

    Retrieves the droplet IP address from the API

  3. 3

    Adds an A record for mydomain.com pointing to the new IP

  4. 4

    Creates a firewall allowing SSH, HTTP, and HTTPS inbound traffic

  5. 5

    Attaches the firewall to the new droplet

ĐẦU RA

A running droplet accessible at mydomain.com with firewall rules applied

Yêu cầu

  • DigitalOcean account
  • DigitalOcean API token from https://cloud.digitalocean.com/account/api/tokens

Cài đặt

clawhub install rexlunae/digitalocean

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết