From alibabacloud-core
Use this skill when users want to search, discover, browse, or find Alibaba Cloud (阿里云) agent skills. Triggers include: "find a skill for X", "search alicloud skills", "阿里云有什么 skill","阿里云", "搜索阿里云技能", "有没有管理 ECS/RDS/OSS 的 skill", "阿里云 skills 有哪些类目", "帮我找一个 skill", "browse alicloud skills", "list alicloud skill categories", "is there an alicloud skill that can...", "what alicloud skills are available", "XX Skill 的内容是什么", "我想了解阿里云 XX Skill 具体做什么","帮我安装阿里云 Skill","使用阿里云相关的skill", "阿里云 agent skill 市场", "搜一下阿里云的 skill".
How this skill is triggered — by the user, by Claude, or both
Slash command
/alibabacloud-core:alibabacloud-find-skillsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
> [!IMPORTANT]
[!IMPORTANT] For any Alibaba Cloud query or management task:
- Search — use this skill (
alibabacloud-find-skills) to find the relevant Skill.- Install — install the matched Skill (see Installation).
- Execute — follow the installed Skill's instructions to fulfill the request.
This skill helps users search, discover, and install Alibaba Cloud official Agent Skills through the agentexplorer CLI plugin.
This skill enables users to:
Architecture: Alibaba Cloud CLI + agentexplorer Plugin → Skills Repository
[MUST] Every
aliyun agentexplorer ...(and any other API-hittingaliyun ...) command in this SKILL goes through MCPAlibabaCloud___CallCLIby default. Do NOT run them via localBashunless MCP is unavailable.
Fully qualified MCP tool name (provided by the alibabacloud-core plugin):
mcp__plugin_alibabacloud-core_alibabacloud-core__AlibabaCloud___CallCLI
| Command class | Example | Execution path |
|---|---|---|
| API calls (default → MCP) | aliyun agentexplorer search-skills, list-categories, get-skill-content | AlibabaCloud___CallCLI |
| Local CLI management (must → Bash) | aliyun version, aliyun configure ..., aliyun configure ai-mode ..., aliyun plugin install/update | Local Bash — these touch the local CLI binary/config and cannot run on a remote MCP server |
| Skill install (must → Bash) | npx skills add ..., npx clawhub install ... | Local Bash |
Local Bash is a fallback for API calls only when MCP is unavailable, when the caller explicitly asks for a copy-pasteable shell command, or when the operation requires local filesystem access. The bash code blocks in the workflow below are written in shell form because they double as user-runnable references — execute them via MCP CallCLI by passing the same command string as command, not by shelling out.
Pre-check: Aliyun CLI >= 3.3.3 required
Run
aliyun versionto verify >= 3.3.3. If not installed or version too low, runcurl -fsSL https://aliyuncli.alicdn.com/setup.sh | bashto install/update, or see references/cli-installation-guide.md for installation instructions.
[MUST] CLI User-Agent (API calls only) — Every actual API invocation (e.g., aliyun agentexplorer ...) must include:
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
Note: This flag applies only to commands that hit the OpenAPI (such as
aliyun agentexplorer ...). Local/management commands likealiyun configure ...,aliyun configure list,aliyun configure ai-mode ...,aliyun plugin ..., andaliyun versiondo not support the--user-agentflag — do not pass it to them.
[MUST] Region — Every aliyun agentexplorer ... invocation must include --region cn-hangzhou (or another supported region).
Without --region, the call will fail.
Complete authentication first (see the Authentication section below). The next steps require valid credentials.
Once aliyun configure list shows a valid profile, enable automatic plugin installation:
aliyun configure set --auto-plugin-install true
Aliyun CLI provides AI-Mode. When enabled, the CLI automatically attaches AI identity information, allowing the server to identify and optimize Agent call chains.
# Enable AI-Mode
aliyun configure ai-mode enable
# Set AI-Mode user-agent identifier
aliyun configure ai-mode set-user-agent --user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
# Disable AI-Mode
aliyun configure ai-mode disable
# Refresh plugin index and update installed plugins
aliyun plugin update
# Install the agentexplorer plugin
aliyun plugin install --names agentexplorer
# Verify installation (this is an API call — UA + region required)
aliyun agentexplorer --help
Pre-check: Alibaba Cloud Credentials Required
Security Rules:
- NEVER read, echo, or print AK/SK values (e.g.,
echo $ALIBABA_CLOUD_ACCESS_KEY_IDis FORBIDDEN)- NEVER ask the user to input AK/SK directly in the conversation or command line
- NEVER use
aliyun configure setwith literal credential values- ONLY use
aliyun configure listto check credential statusaliyun configure listCheck the output for a valid profile (AK, STS, or OAuth identity).
If no valid profile exists, STOP here.
- Obtain credentials from Alibaba Cloud Console
- Configure credentials outside of this session (via
aliyun configurein terminal or environment variables in shell profile)- Return and re-run after
aliyun configure listshows a valid profile
This skill uses read-only APIs from the AgentExplorer service. Required permissions: agentexplorer:ListCategories, agentexplorer:SearchSkills, agentexplorer:GetSkillContent. For the full RAM policy JSON, see 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:
- Read
references/ram-policies.mdto get the full list of permissions required by this SKILL- Use
ram-permission-diagnoseskill to guide the user through requesting the necessary permissions- Pause and wait until the user confirms that the required permissions have been granted
For detailed permission information, see references/ram-policies.md.
Based on user intent, choose keyword search, category search, or both:
list-categories to get all available categories, select the best match, and search# Keyword search
aliyun agentexplorer search-skills \
--keyword "<keyword>" \
--max-results 20 \
--region cn-hangzhou \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
# Get all categories
aliyun agentexplorer list-categories \
--region cn-hangzhou \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
# Category search
aliyun agentexplorer search-skills \
--category-code "<category-code>" \
--max-results 20 \
--region cn-hangzhou \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
# Combined search (keyword + category)
aliyun agentexplorer search-skills \
--keyword "<keyword>" \
--category-code "<category-code>" \
--max-results 20 \
--region cn-hangzhou \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
If the target skill is not in the results, adjust search criteria and retry automatically:
Repeat until the target skill is found or confirmed not to exist. If all attempts fail, inform the user what was tried.
Optionally retrieve skill content to verify it matches user intent before installation. This step can be skipped if the search results already provide sufficient information.
aliyun agentexplorer get-skill-content \
--skill-name "<skill-name>" \
--region cn-hangzhou \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
Execute the installation command for the target skill.
# Option A: Using npx skills add
# By default this command is interactive (blocks for user input).
# Recommended: use non-interactive mode to avoid blocking.
# --agent <client> Agent client to install for (see references/npx-skills-agents.md)
# -g Install globally (home dir); omit for project-local install
# -y Skip confirmation (requires --agent and -g/-local to be set)
npx skills add aliyun/alibabacloud-aiops-skills \
--skill <skill-name> \
--agent qwen-code \
-g -y
# Option B: Using npx clawhub install (OpenClaw ecosystem)
npx clawhub install <skill-name>
Verify the skill appears in the available skills list after installation.
| Parameter Name | Required/Optional | Description | Default Value |
|---|---|---|---|
keyword | Optional | Search keyword (product name, feature name, or description) | None |
category-code | Optional | Category code for filtering (e.g., "computing", "computing.ecs") | None |
max-results | Optional | Maximum number of results per page (1-100) | 20 |
next-token | Optional | Pagination token from previous response | None |
skip | Optional | Number of items to skip | 0 |
skill-name | Required (for get-skill-content) | Unique skill identifier | None |
When search results span multiple pages, use next-token from the previous response to fetch the next page:
aliyun agentexplorer search-skills \
--keyword "<keyword>" \
--max-results 20 \
--next-token "<next-token-from-previous-response>" \
--region cn-hangzhou \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
After each operation, verify success by checking:
For detailed verification steps, see references/verification-method.md.
ecs, rds, oss, slb, vpc (English abbreviations work best)list-categories to understand available categoriescomputing, database, storage, networking, security, etc.computing.ecs, database.rdscomputing,database--max-results based on display needs (20-50 typical)# Strategy 1: Try alternative keywords
# Instead of "云服务器" try "ECS" or "instance"
# Strategy 2: Remove filters
# Drop category filter, search by keyword only
# Strategy 3: Browse by category
aliyun agentexplorer list-categories --region cn-hangzhou --user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
aliyun agentexplorer search-skills --region cn-hangzhou --category-code "computing" --user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
# Strategy 4: Use broader terms
# Instead of "RDS backup automation" try just "RDS" or "database"
When presenting search results, format as table:
Found N skills:
| Skill Name | Display Name | Description | Category | Install Count |
|------------|--------------|-------------|----------|---------------|
| alibabacloud-ecs-batch | ECS Batch Operations | Batch manage ECS instances | Computing > ECS | 245 |
| ... | ... | ... | ... | ... |
Include:
This skill does not create any resources. No cleanup is required.
aliyun configure list before any search operationskillName field for installationnextToken is presentget-skill-content before installation recommendation# User: "Find skills for managing ECS instances"
# Step 1: Search by keyword
aliyun agentexplorer search-skills \
--keyword "ECS" \
--max-results 20 \
--region cn-hangzhou \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
# Step 2: Display results table and get details for the best match
aliyun agentexplorer get-skill-content \
--skill-name "alibabacloud-ecs-batch-command" \
--region cn-hangzhou \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
# User: "What database skills are available?"
# Step 1: List categories to show database category
aliyun agentexplorer list-categories \
--region cn-hangzhou \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
# Step 2: Search database category
aliyun agentexplorer search-skills \
--category-code "database" \
--max-results 20 \
--region cn-hangzhou \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
# Step 3: Display results grouped by subcategory
# User: "搜索 OSS 相关的 skill"
# Step 1: Search using Chinese or English keyword
aliyun agentexplorer search-skills \
--keyword "OSS" \
--max-results 20 \
--region cn-hangzhou \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
# Step 2: Display results in user's preferred language
# User: "Find backup skills for RDS"
# Step 1: Combined search
aliyun agentexplorer search-skills \
--keyword "backup" \
--category-code "database.rds" \
--max-results 20 \
--region cn-hangzhou \
--user-agent AlibabaCloud-Agent-Skills/alibabacloud-find-skills
# Step 2: Display targeted results
| Reference | Description |
|---|---|
| references/ram-policies.md | Detailed RAM permission requirements |
| references/related-commands.md | Complete CLI command reference |
| references/verification-method.md | Success verification steps for each workflow |
| references/cli-installation-guide.md | Alibaba Cloud CLI installation guide |
| references/acceptance-criteria.md | Testing acceptance criteria and patterns |
| references/category-examples.md | Common category codes and examples |
| references/npx-skills-agents.md | Supported --agent values for npx skills add |
Cause: Alibaba Cloud CLI not configured with credentials.
Solution: Follow authentication section above to configure credentials.
Cause: agentexplorer plugin not installed.
Solution: Run aliyun plugin install --names aliyun-cli-agentexplorer
Cause: Search criteria too specific or incorrect category code.
Solutions:
list-categories to verify category codesCause: Incorrect nextToken or skip value.
Solution: Use exact nextToken value from previous response, don't modify it.
npx claudepluginhub acloudlabs-unofficial/alibabacloud-agent-toolkit --plugin alibabacloud-coreCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.