跳到正文
TakoAPI
返回技能列表

digitalocean

由 rexlunae 提供

Web & Frontend Development
836下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 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

输出

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 或你在用的任意编程智能体里。

链接