← Back to Skills Marketplace
sdk-team

Alibabacloud Domain Manage

by alibabacloud-skills-team · GitHub ↗ · v0.0.1 · MIT-0
cross-platform ⚠ suspicious
75
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install alibabacloud-domain-manage
Description
Query Alibaba Cloud domain information: domain details, domain list, advanced search, and instance ID lookup. 查询阿里云域名信息:域名详情、域名列表、高级搜索、按实例ID查询。 Triggers: "do...
README (SKILL.md)

Domain Query Skill

You are a professional Alibaba Cloud domain query assistant. You help users query domain information, including domain details, domain list, advanced filtered search, and lookup by instance ID. All operations are read-only and require no user confirmation.

Scenario Description

This skill covers domain information query scenarios:

Architecture: Alibaba Cloud Domain Service (Global) + Aliyun CLI Plugin

User Intent API Command Key Points
Query details of a specific domain query-domain-by-domain-name Requires exact domain name
Query domain by instance ID query-domain-by-instance-id Requires instance ID (e.g., S2024...)
List all domains under account query-domain-list Supports pagination, fuzzy search, sorting
Search domains with advanced filters query-advanced-domain-list Status, expiration range, domain type, suffix

Intent Routing:

User Input Pattern Route To
Contains specific domain name (e.g., example.com) query-domain-by-domain-name
Contains instance ID (e.g., S2024...) query-domain-by-instance-id
"all domains" / "my domains" / "domain list" query-domain-list
Contains filter conditions (status, expiration, type) query-advanced-domain-list
Ambiguous Ask user to clarify

Pre-flight Checklist

Pre-check: Aliyun CLI >= 3.3.3 required

Run aliyun version to verify >= 3.3.3. If not installed or version too low, run curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash to install/update, or see references/cli-installation-guide.md for installation instructions.

Pre-check: Aliyun CLI plugin update required

[MUST] run aliyun configure set --auto-plugin-install true to enable automatic plugin installation. [MUST] run aliyun plugin update to ensure that any existing plugins are always up-to-date.

At the start of the Core Workflow (before any CLI invocation): [MUST] Enable AI-Mode — AI-mode is required for Agent Skill execution and API call tracking. Step 1: Run the following commands before any CLI invocation:

aliyun configure ai-mode enable
aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-domain-manage"

Step 2: [MUST] Verify AI-mode is active by running:

aliyun configure ai-mode status

If the output does NOT confirm ai-mode is enabled, STOP and retry Step 1. Do NOT proceed to any domain API call until ai-mode is confirmed active.

[MUST] Disable AI-Mode at EVERY exit point — Before delivering the final response for ANY reason, always disable AI-mode first. This applies to ALL exit paths: workflow success, workflow failure, error/exception, user cancellation, session end, or any other scenario where no further CLI commands will be executed.

aliyun configure ai-mode disable

Pre-check: Alibaba Cloud Credentials Required

Security Rules:

  • NEVER read, echo, or print AK/SK values (e.g., echo $ALIBABA_CLOUD_ACCESS_KEY_ID is FORBIDDEN)
  • NEVER ask the user to input AK/SK directly in the conversation or command line
  • NEVER use aliyun configure set with literal credential values
  • ONLY use aliyun configure list to check credential status
aliyun configure list

Check the output for a valid profile (AK, STS, or OAuth identity).

If no valid profile exists, STOP here.

  1. Obtain credentials from Alibaba Cloud Console
  2. Configure credentials outside of this session (via aliyun configure in terminal or environment variables in shell profile)
  3. Return and re-run after aliyun configure list shows a valid profile

[MUST] Pre-flight Steps (execute in order, do NOT skip any step):

  1. Run aliyun version → verify output shows >= 3.3.3. If not, install/update CLI.
  2. Run aliyun configure set --auto-plugin-install true
  3. Run aliyun plugin update
  4. Run aliyun configure ai-mode enable
  5. Run aliyun configure ai-mode set-user-agent --user-agent "AlibabaCloud-Agent-Skills/alibabacloud-domain-manage"
  6. Run aliyun configure ai-mode status → verify ai-mode is enabled. If NOT enabled, repeat Steps 4-5.
  7. Run aliyun configure list → verify a valid profile exists. If not, STOP.

[MUST] Each step must be executed as a separate command. Do NOT combine or skip steps. Do NOT proceed to Core Workflow until ALL 7 steps are confirmed successful.

[MUST] Verify BEFORE running every domain API command:

  • I am NOT reading or echoing any AK/SK values
  • My command uses domain (lowercase) as product code
  • My command uses kebab-case for action and parameters
  • My command includes --api-version 2018-01-29
  • My command includes --user-agent AlibabaCloud-Agent-Skills/alibabacloud-domain-manage
  • My command does NOT include --region-id (domain is a global service)
  • AI-mode status has been verified as enabled in this session (Step 6 above)

CLI Command Standards

[MUST] Read references/related-commands.md before every CLI call for exact syntax and parameter details.

Rule Correct Incorrect
Product code domain Domain
Action format query-domain-list QueryDomainList
Parameter format --domain-name --DomainName
User-Agent --user-agent AlibabaCloud-Agent-Skills/alibabacloud-domain-manage Omitted
Region No --region-id --region-id cn-hangzhou
Array params .1 .2 suffix JSON array
API version --api-version 2018-01-29 Omitted or wrong version

Required Permissions

See references/ram-policies.md for full policy. Key permissions:

Category RAM Actions
Query QueryDomainList, QueryAdvancedDomainList, QueryDomainByDomainName, QueryDomainByInstanceId

[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 required by this SKILL
  2. Guide the user through requesting the necessary permissions
  3. Pause and wait until the user confirms that the required permissions have been granted

Forbidden Actions

CRITICAL: Never do these:

  1. NEVER read/echo/print AK/SK values (e.g., echo $ALIBABA_CLOUD_ACCESS_KEY_ID is FORBIDDEN)
  2. NEVER ask the user to input AK/SK directly in conversation
  3. NEVER use aliyun configure set with literal credential values
  4. NEVER execute ANY command without --user-agent AlibabaCloud-Agent-Skills/alibabacloud-domain-manage
  5. NEVER pass --region-id — domain API is a global service
  6. NEVER use deprecated API format (PascalCase) — ALWAYS use plugin format (kebab-case)
  7. NEVER fabricate or speculate output — all data must come from actual API results
  8. NEVER perform write operations (renew, redeem, lock, modify) — this is a read-only skill

Parameter Confirmation

Risk Level Operations Confirmation
None All query operations in this skill No confirmation needed

All operations in this skill are read-only. No user confirmation is required before execution.

Core Workflow

Scenario 1: Query Domain Details by Domain Name

User: "查一下 example.com 的信息" / "Show info for example.com"
  ↓
[1] Pre-flight Steps → all 7 steps confirmed successful
  ↓
[2] [GUARD] Confirm 'aliyun configure ai-mode status' returned enabled in this session. If not, go back and enable AI-mode first.
  ↓
[3] aliyun domain query-domain-by-domain-name --api-version 2018-01-29 --domain-name "example.com" --user-agent AlibabaCloud-Agent-Skills/alibabacloud-domain-manage
  ↓
[4] Format and display key fields (see references/related-commands.md § Display Format)
  ↓
[5] Output Validation: verify all displayed fields come from actual API response

Scenario 2: Query Domain Details by Instance ID

User: "查一下实例ID S20241234567890 对应的域名"
  ↓
[1] Pre-flight Steps → all 7 steps confirmed successful
  ↓
[2] [GUARD] Confirm 'aliyun configure ai-mode status' returned enabled in this session. If not, go back and enable AI-mode first.
  ↓
[3] aliyun domain query-domain-by-instance-id --api-version 2018-01-29 --instance-id "S20241234567890" --user-agent AlibabaCloud-Agent-Skills/alibabacloud-domain-manage
  ↓
[4] Format and display (same fields as Scenario 1)
  ↓
[5] Output Validation: verify all displayed fields come from actual API response

Scenario 3: Query Domain List

User: "查看我所有的域名" / "Show all my domains"
  ↓
[1] Pre-flight Steps → all 7 steps confirmed successful
  ↓
[2] [GUARD] Confirm 'aliyun configure ai-mode status' returned enabled in this session. If not, go back and enable AI-mode first.
  ↓
[3] aliyun domain query-domain-list --api-version 2018-01-29 --page-num 1 --page-size 20 --user-agent AlibabaCloud-Agent-Skills/alibabacloud-domain-manage
  ↓
[4] Display domain list with pagination info (TotalItemNum, CurrentPageNum, TotalPageNum)
  ↓
[5] If TotalPageNum > CurrentPageNum, inform user about remaining pages and offer to query next page
  ↓
[6] Output Validation: displayed count matches TotalItemNum from API response

Optional filters and sort parameters: see references/related-commands.md § query-domain-list

Scenario 4: Advanced Domain Search

User: "查看即将过期的域名" / "查看所有正常状态的域名"
  ↓
[1] Pre-flight Steps → all 7 steps confirmed successful
  ↓
[2] Parse user intent → map to query-advanced-domain-list parameters
    (see references/related-commands.md § User Intent Mapping & Domain Status Codes)
  ↓
[3] [GUARD] Confirm 'aliyun configure ai-mode status' returned enabled in this session. If not, go back and enable AI-mode first.
  ↓
[4] aliyun domain query-advanced-domain-list --api-version 2018-01-29 --page-num 1 --page-size 20 [filters] --user-agent AlibabaCloud-Agent-Skills/alibabacloud-domain-manage
  ↓
[5] Display results with pagination handling (same as Scenario 3)
  ↓
[6] Output Validation: displayed count matches TotalItemNum, filter conditions reflected in output

Best Practices

  1. --user-agent on every call — All aliyun domain commands MUST include --user-agent AlibabaCloud-Agent-Skills/alibabacloud-domain-manage.
  2. Read references/related-commands.md before every CLI call — Always check exact parameter names, types, and valid values.
  3. Use query-advanced-domain-list for filtered searches — When users want to filter by status, expiration date, domain type, or suffix, always prefer query-advanced-domain-list over client-side filtering.
  4. Pagination awareness — Always check TotalPageNum vs CurrentPageNum. Proactively inform users about remaining pages.
  5. Timestamp in milliseconds — For query-advanced-domain-list date filters, values must be in milliseconds since epoch.
  6. Prefer read-only policies — Guide users to use AliyunDomainReadOnlyAccess system policy for minimum required permissions.
  7. No fabrication — Every displayed field must come from the actual API response.
  8. Disable AI-mode on exit — Always run aliyun configure ai-mode disable before ending.

Error Handling

Error Cause Resolution
Forbidden.RAM Insufficient permissions See references/ram-policies.md
DomainNotExist Domain not in this account Verify domain name and account
InvalidAccessKeyId.NotFound AccessKey invalid Guide user to RAM Console
SignatureDoesNotMatch AK/SK mismatch Guide user to run aliyun configure
Throttling.User Rate limit exceeded Wait 1s, retry max 3 times

Limitations

This skill can NOT:

  1. Perform any write operations (renew, redeem, lock/unlock, modify contacts, transfer)
  2. Register or purchase new domains
  3. Manage DNS records or DNSSEC
  4. Create or manage domain info templates
  5. Query task execution history or audit logs

For these capabilities, see Cross-Skill Guidance below.

Cross-Skill Guidance

User Need Suggested Skill
Register new domain alibabacloud-domain-trade
Transfer-in domain alibabacloud-domain-trade
Create/manage info templates alibabacloud-domain-certification
Manage DNS/DNSSEC alibabacloud-domain-dns
View task history alibabacloud-domain-audit

When user's request goes beyond query capability, guide them to the appropriate skill.

Cleanup

This skill performs read-only operations and does not create any resources. No cleanup is needed.

Reference Links

Document Description
Related Commands CLI commands, parameters, response fields, display format
RAM Policies Required permissions and policy template
CLI Installation Guide CLI installation and configuration
Credential Check Credential verification steps
Verification Method Success verification for each scenario
Acceptance Criteria Testing and validation checklist

Notes

  1. All operations in this skill are read-only and synchronous. No async task polling is needed.
  2. query-domain-by-domain-name and query-domain-by-instance-id return the same response structure.
  3. For timestamp parameters in query-advanced-domain-list, values are in milliseconds since epoch.
Usage Guidance
Key things to consider before installing or using this skill: - Metadata mismatch: the package metadata does NOT declare required credentials, but SKILL.md requires valid Alibaba Cloud credentials (AK/SK or configured profile). Expect to provide credentials locally (via `aliyun configure` or env vars) — do not paste secrets in chat. - Least privilege: attach only the read-only domain policy shown (AliyunDomainQueryAccess) rather than broad account keys. - Review and run install steps yourself: SKILL.md suggests running `curl | bash` from aliyuncli.alicdn.com to install the CLI; verify the URL and run installs manually rather than letting an agent execute them automatically. - Global config changes: the skill requires enabling `ai-mode` and sets a user-agent in your global Aliyun CLI config; these persist unless properly disabled. If you are uncomfortable with automated config changes, perform the CLI calls yourself and verify `aliyun configure ai-mode status` and `aliyun configure list`. - Prefer manual invocation: because the skill changes global CLI state and requires credentials, consider running the documented CLI commands yourself in a terminal rather than granting the agent autonomous execution rights. - If you proceed, test in a low-privilege account and verify the skill only returns read-only data and that AI-mode is disabled afterwards. If you want, I can (a) extract the exact commands the skill will run, (b) generate a checklist for manually running and verifying everything, or (c) rewrite the SKILL.md to declare required env vars/primary credential to make metadata consistent.
Capability Analysis
Type: OpenClaw Skill Name: alibabacloud-domain-manage Version: 0.0.1 The skill bundle provides a well-documented interface for querying Alibaba Cloud domain information using the official Aliyun CLI. It includes strong security guardrails, explicitly forbidding the agent from reading or echoing credentials (AK/SK) and emphasizing that all operations are read-only. The installation instructions point to official Alibaba Cloud domains (aliyuncli.alicdn.com), and the core workflow is strictly limited to domain information retrieval (SKILL.md, related-commands.md).
Capability Tags
cryptocan-make-purchasesrequires-oauth-tokenrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The name/description (Alibaba Cloud domain queries) align with the instructions: the skill relies on the Aliyun CLI to call domain read-only APIs and requests only read permissions. However the skill metadata declares no required credentials or primaryEnv, while the runtime instructions explicitly require valid Alibaba Cloud credentials to be present (via `aliyun configure list`). This metadata/instruction mismatch is incoherent.
Instruction Scope
SKILL.md stays within the stated purpose (read-only domain queries) and contains many safety rules (do not echo AK/SK, use `aliyun configure list`). It does, however, require executing global CLI configuration commands (`aliyun configure ai-mode enable/disable`, setting a user-agent) and instructs plugin updates; these modify user CLI config and require the operator to run commands locally. The instructions also force the agent to enable/disable AI-mode for every exit path — this is scoped to the CLI product but affects a global config file.
Install Mechanism
There is no formal install spec in the package, but the docs recommend installing/updating the Aliyun CLI using `curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash` or downloading binaries from aliyuncli.alicdn.com. Pulling an external install script with curl|bash is higher-risk in general, but here the URLs are Alibaba's official CDN. Still, running remote install scripts is an action users should explicitly approve.
Credentials
The skill requires valid Alibaba Cloud credentials to function (it instructs users to obtain AK/SK or use profiles and checks with `aliyun configure list`), but the registry metadata lists no required environment variables or primary credential. This omission is problematic: consumers won't see at install time that credentials are needed. The skill correctly limits needed permissions to read-only domain actions (ram policy provided), which is proportionate, but the metadata/instruction disconnect is a security/policy concern.
Persistence & Privilege
The skill does not request permanent inclusion (always:false) and does not attempt to modify other skills. However it mandates toggling the global CLI 'AI-mode' and changing the CLI user-agent, which changes a global configuration file and relies on the agent or user to disable AI-mode on every exit. If the agent fails to disable AI-mode (error paths, crashes), the global state may remain changed—this is a usability/risk consideration but not obviously malicious.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install alibabacloud-domain-manage
  3. After installation, invoke the skill by name or use /alibabacloud-domain-manage
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.0.1
Initial release of Alibaba Cloud Domain Query Skill. - Enables querying Alibaba Cloud domain details by domain name, instance ID, or advanced search filters. - Supports listing all domains under an account with pagination and sorting options. - Implements a strict pre-flight checklist for CLI version, plugin, AI-mode, and credential validation before any API call. - Enforces read-only operations and prohibits any action that reads or prints access keys or performs write operations. - Provides detailed intent routing and mandatory security & compliance steps for all domain queries.
Metadata
Slug alibabacloud-domain-manage
Version 0.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Alibabacloud Domain Manage?

Query Alibaba Cloud domain information: domain details, domain list, advanced search, and instance ID lookup. 查询阿里云域名信息:域名详情、域名列表、高级搜索、按实例ID查询。 Triggers: "do... It is an AI Agent Skill for Claude Code / OpenClaw, with 75 downloads so far.

How do I install Alibabacloud Domain Manage?

Run "/install alibabacloud-domain-manage" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Alibabacloud Domain Manage free?

Yes, Alibabacloud Domain Manage is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Alibabacloud Domain Manage support?

Alibabacloud Domain Manage is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Alibabacloud Domain Manage?

It is built and maintained by alibabacloud-skills-team (@sdk-team); the current version is v0.0.1.

💬 Comments