Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Alibabacloud Httpdns

БесплатноЗапускает вложенные скриптыНе проверен

Alibaba Cloud HTTPDNS OpenAPI management skill. Use when the user needs to retrieve HTTPDNS account secret information, add/delete/list/configure HTTPDNS…

sdk-teamот sdk-team846 установок в других каталогах

Об этом скилле

Alibaba Cloud HTTPDNS OpenAPI Skill

1) Scenario Description & Architecture

This Skill helps agents operate Alibaba Cloud HTTPDNS management OpenAPIs with the aliyun CLI. It focuses on three scenarios:

  1. HTTPDNS account/key lookup with sensitive output handling.
  2. Domain management: add, delete, list, search, and refresh resolve cache.
  3. Usage pull: domain-level resolve statistics and account-level count summary.
flowchart LR
  A["Confirm scenario and parameters"] --> B["Pre-check aliyun CLI/profile"]
  B --> C["Enable AI mode user-agent"]
  C --> D{"Task type"}
  D --> E["Account secret: GetAccountInfo"]
  D --> F["Domain setting: Add/Delete/List/Refresh"]
  D --> G["Usage pull: GetResolveStatistics/GetResolveCountSummary/ListDomains"]
  E --> H["Mask sensitive fields unless explicitly requested"]
  F --> H
  G --> H
  H --> I["Verify output and disable AI mode"]

2) Prerequisites / Installation

Use aliyun CLI version >= 3.3.3.

aliyun version
aliyun configure set --auto-plugin-install true
aliyun plugin update

If the CLI is missing, read references/cli-installation-guide.md.

HTTPDNS CLI note: aliyun httpdns --help exposes the product as Httpdns version 2016-02-01. Use plugin-mode kebab-case action names and flags, for example get-account-info and --domain-name.

3) Credential Pre-check

Never read, print, or echo AK/SK files. Only verify the active profile with:

aliyun configure list

If the user asks to retrieve HTTPDNS account/key information, call get-account-info directly and return a masked result by default. Prefer scripts/httpdns-openapi.sh account-info, which masks secret-like fields in command output. Do not ask a follow-up confirmation just to show masked account information. Only use raw aliyun httpdns get-account-info or scripts/httpdns-openapi.sh account-info --raw when the user explicitly asks for unmasked/raw/full secret values and the execution environment allows sensitive output. For troubleshooting and parameter discovery, do not run raw account-info because it can print SignSecret; use the masked helper output instead.

4) AI-mode Lifecycle

Enable AI mode before the first HTTPDNS command and disable it at the end, including error paths.

aliyun configure ai-mode enable
aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-httpdns"
aliyun configure ai-mode disable

5) RAM Permissions

Minimum RAM actions are listed in references/ram-policies.md.

[MUST] Permission Failure Handling: When any command or API call fails due to permission errors at any point during execution, follow this process:

  1. Read references/ram-policies.md to get the full list of permissions
  2. Use ram-permission-diagnose skill to guide the user
  3. Pause and wait until the user confirms permissions have been granted

6) Parameter Confirmation

Confirm all user-controlled parameters before executing commands:

  • profile, if not using the current profile.
  • --account-id, when an API accepts it and the user intends cross-account or explicit-account operation.
  • --domain-name or --domains.
  • --granularity, --time-span, and optional --protocol-name for statistics.
  • --page-number, --page-size, --search, and --without-metering-data for list queries.

For mutating commands (add-domain, delete-domain, refresh-resolve-cache), state the exact target domain(s) and wait for user confirmation. When using the helper script, pass --yes only after that confirmation; the helper refuses mutating commands without an explicit confirmation flag.

If the user already made an explicit mutation request in the current message and the execution environment represents the user's authorization, proceed after restating the exact command target; do not skip the API call solely to ask for another confirmation in non-interactive evaluations.

7) Core Workflow

Prefer the helper script for common flows:

scripts/httpdns-openapi.sh account-info
scripts/httpdns-openapi.sh add-domain --domain example.com --yes
scripts/httpdns-openapi.sh list-domains --search example.com --page-number 1 --page-size 100
scripts/httpdns-openapi.sh delete-domain --domain example.com --yes
scripts/httpdns-openapi.sh list-domains --page-number 1 --page-size 20
scripts/httpdns-openapi.sh resolve-statistics --domain example.com --granularity day --time-span 7
scripts/httpdns-openapi.sh resolve-count-summary --granularity day --time-span 7

Use direct CLI commands for read-only custom queries:

aliyun httpdns list-domains --search example.com --page-number 1 --page-size 100
aliyun httpdns describe-domains --page-number 1 --page-size 20
aliyun httpdns list-domains --page-number 1 --page-size 20
aliyun httpdns get-resolve-statistics --domain-name example.com --granularity day --time-sp
Полный SKILL.md на ClawHub

Установить Alibabacloud Httpdns в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Alibabacloud Httpdns?

Alibaba Cloud HTTPDNS OpenAPI management skill. Use when the user needs to retrieve HTTPDNS account secret information, add/delete/list/configure HTTPDNS domains, refresh domain resolve cache, or pull HTTPDNS usage and resolve-count statistics through the `aliyun httpdns` CLI. Covers GetAccountInfo, AddDomain, DeleteDomain, DescribeDomains, ListDomains, GetResolveStatistics, GetResolveCountSummary, and RefreshResolveCache.

Как установить скилл Alibabacloud Httpdns?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Alibabacloud Httpdns запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Alibabacloud Httpdns с