Token导航 LogoToken导航

Agent Skill · 研究检索

alibabacloud-resourcecenter-search(阿里云资源中心搜索)

alibabacloud-resourcecenter-search 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

alibabacloud-resourcecenter-search 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 38,423。

总安装 1,560周安装 67GitHub Stars 79下载 547核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:alibabacloud-resourcecenter-search(阿里云资源中心搜索)
来源仓库:https://github.com/aliyun/alibabacloud-aiops-skills
仓库路径:skills/alibabacloud-resourcecenter-search
安装命令:
npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-resourcecenter-search
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-resourcecenter-search

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

alibabacloud-resourcecenter-search 用于在阿里云资源中心搜索云资源实例。适用于跨账号、跨区域的资源发现与管理场景,快速定位目标资源。通过 aliyun CLI 调用 ResourceCenter API,支持按名称、标签或状态筛选。

需配置阿里云 AK/SK 并授予 ResourceCenter 只读权限,CLI 版本须 >= 3.3.1。严禁在日志或输出中暴露 AK/SK,建议使用临时凭证降低安全风险。

来源仓库内路径:skills/alibabacloud-resourcecenter-search

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill aliba…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

alibabacloud-resourcecenter-search 怎么安装?

在终端执行 npx skills add https://github.com/aliyun/alibabacloud-aiops-skills --skill alibabacloud-re…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

alibabacloud-resourcecenter-search 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

alibabacloud-resourcecenter-search 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

alibabacloud-resourcecenter-search 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

alibabacloud-resourcecenter-search 用的人多吗?

公开数据是累计安装 1,560 次,近一周安装 67 次,下载 547 次,GitHub 79 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

alibabacloud-resourcecenter-search 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
alibabacloud-resourcecenter-search

阿里云资源中心搜索 · 本页

1,56079接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

1. Prerequisites

Pre-check: Aliyun CLI >= 3.3.1 required Run aliyun version to verify >= 3.3.1. If not installed or version too low, see references/cli-installation-guide.md for installation instructions. Then [MUST] run aliyun configure set --auto-plugin-install true to enable automatic plugin installation.
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 ``bash 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](https://ram.console.aliyun.com/manage/ak) 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

2. Parameter Confirmation

IMPORTANT: Parameter Confirmation — Before executing any command or API call, ALL user-customizable parameters (e.g., RegionId, instance names, CIDR blocks, passwords, domain names, resource specifications, etc.) MUST be confirmed with the user. Do NOT assume and use default values without explicit user approval.
ParameterRequired/OptionalDescriptionDefault Value
ScopeRequired (cross-account)Cross-account search scope: Resource Directory ID, Root Folder ID, Folder ID, or Member IDNone
ResourceTypeOptionalResource type (e.g., ACS::ECS::Instance)None (all types)
RegionIdOptionalResource Region ID (e.g., cn-hangzhou)None (all regions)
ResourceIdOptionalResource IDNone
ResourceNameOptionalResource nameNone
VpcIdOptionalVPC ID (e.g., vpc-xxx)None
VSwitchIdOptionalVSwitch (e.g., vsw-xxx)None
IpAddressOptionalIP addressNone
GroupByKeyOptionalStatistics grouping dimension: ResourceType, RegionId, ResourceGroupIdNone
MaxResultsOptionalPage size for paginated APIs.20

3. RAM Policy

See references/ram-policies.md for full permission lists.

Recommended system policies:

  • Read-only: AliyunResourceCenterReadOnlyAccess
  • Full access: AliyunResourceCenterFullAccess
Opening Resource Center will auto-create the service-linked role AliyunServiceRoleForResourceMetaCenter.

Resource Visibility Scope

RAM policies (defined in ram-policies.md) control whether a user can call a Resource Center API. However, for search APIs (SearchResources, GetResourceCounts, GetResourceConfiguration, SearchMultiAccountResources, GetMultiAccountResourceCounts, GetMultiAccountResourceConfiguration), the scope of resources visible in results is determined by each cloud product's own permissions:

Single Account
  • Cloud resource read permissions: A RAM user can only see resources in Resource Center for which they have read-only access on the corresponding cloud product. For example, granting ReadOnlyAccess lets the user see all resources they have access to; granting only AliyunVPCReadOnlyAccess limits visibility to VPC resources.
  • Resource group scoped permissions: If resources are organized by resource groups, you can grant a RAM user read access scoped to a specific resource group. The user will only see resources within that group, achieving resource isolation.
Cross-Account
  • Grant the system policy AliyunResourceCenterFullAccess to the RAM user of the Resource Directory management account to enable cross-account resource search.

4. Core Workflow

Step 1: Identify APIs Based on User Requirements

Determine which APIs are needed based on the user's specific scenario. Refer to the scenario cards below.

Step 2: [MUST] Read API Documentation Before Every CLI Call

CRITICAL WARNING: DO NOT execute any aliyun resourcecenter command without first reading the exact parameter format in references/related-apis.md. Failure Pattern: Guessing parameters like --filter format will cause errors. The correct JSON structure MUST be copied from the documentation. Mandatory Action: Open and read the specific API section in references/related-apis.md BEFORE constructing any CLI command.

Scenario Cards

Scenario 1: Service Activation
RequirementAccount TypeAPIDescription
Check if enabledSingle-accountget-resource-center-service-statusReturns service status
Enable serviceSingle-accountenable-resource-centerRequired for first-time use
Check cross-account statusResource Directoryget-multi-account-resource-center-service-statusMulti-account scenario
Enable cross-account serviceResource Directoryenable-multi-account-resource-centerRequires management account or delegated admin

Scenario 2: ResourceType Discovery
RequirementAccount TypeScriptDescription
Find resource type codes by keywordSingle-accountscripts/query-resource-types.pySearch across ResourceType, ProductName, and ResourceTypeName fields

Decision Logic:

  • When you needs to filter by resource type but doesn't know the exact code -> Use this script first
  • After discovering the correct ResourceType code -> Use it in search or count API with --filter parameter

Scenario 3: Resource Search
RequirementAccount ScopeAPIKey Parameters
Search resources by criteriaCurrent accountsearch-resources--filter
Cross-account resource searchResource Directorysearch-multi-account-resources--scope + --filter
Search including deleted resourcesCurrent accountsearch-resources--include-deleted-resources=true

Scenario 4: View Resource Details
RequirementAccount ScopeAPIUse Case
Get single resource configurationCurrent accountget-resource-configurationGet complete configuration details
Batch get multiple resource configurationsCurrent accountbatch-get-resource-configurationsGet multiple resources at once
Get resource configuration from another accountResource Directoryget-multi-account-resource-configurationCross-account view

Scenario 5: Statistics and Analysis
RequirementAccount ScopeAPIGrouping Dimensions
Count resourcesCurrent accountget-resource-countsResourceType, RegionId, ResourceGroupId
Cross-account statisticsResource Directoryget-multi-account-resource-countsResourceType, RegionId, ResourceGroupId

Scenario 6: Tag Discovery
RequirementAccount ScopeAPIDescription
List all tag keysCurrent accountlist-tag-keysBrowse tag catalog
List values for a specific tag keyCurrent accountlist-tag-valuese.g., list all values for env
Cross-account tag keysResource Directorylist-multi-account-tag-keysMulti-account scenario
Cross-account tag valuesResource Directorylist-multi-account-tag-valuesMulti-account scenario

5. Success Verification

See references/verification-method.md for detailed verification steps and commands for each workflow step.


6. Precautions

[MUST] High-Risk Operation Confirmation — Before executing disable-resource-center or disable-multi-account-resource-center: 1. MUST explicitly inform the user of the impacts: - Disable Impact - After disabling Resource Center, resource data will no longer be viewable in Resource Center. Specifically: - For a single Alibaba Cloud account, after disabling Resource Center, resource data in the current account will no longer be viewable. - For the management account of a Resource Directory and the delegated administrator account of Resource Center, disabling Resource Center will also disable the cross-account resource search feature. Resource data in the current account and members of the Resource Directory will no longer be viewable. Additionally, members will not be able to view resource data in their own accounts. - After disabling Resource Center, the resource management module on the console homepage, Config Audit service, and other related scenarios will also be unable to view resource data. - Disable Restrictions - If the management account of a Resource Directory or the delegated administrator account of Resource Center has cross-account resource features enabled by another account, Resource Center cannot be disabled. - If there are cloud products or features that have strong dependencies on Resource Center, such as Config Audit and associated resource transfer, you must first disable those cloud products or features before you can disable Resource Center. 1. MUST obtain explicit user confirmation (e.g., user types "confirm disable" or similar clear affirmation) 2. DO NOT proceed without user's explicit acknowledgment
Disable Resource Center
Warning: Disabling will remove all resource data and affect dependent services (e.g., Config Audit). Must first disable cross-account if enabled.
aliyun resourcecenter disable-resource-center \
  --user-agent AlibabaCloud-Agent-Skills
Disable Cross-Account Resource Center
Must be done before disabling single-account resource center (if cross-account is enabled). Requires management account or delegated admin.
aliyun resourcecenter disable-multi-account-resource-center \
  --user-agent AlibabaCloud-Agent-Skills

7. Best Practices

  1. --user-agent on every Resource Center CLI call — All aliyun resourcecenter examples in this skill include --user-agent AlibabaCloud-Agent-Skills. When executing commands for this skill, always pass the same flag so usage is consistent with verification, maintainers’ expectations, and any automated checks.
  2. Use filters for targeted search — Combining ResourceType, RegionId, and Tag filters improves search efficiency
  3. Use GroupByKey for quick statistics — Get resource distribution by type, region, or resource group without iterating
  4. Cross-account scope selection — Use the most specific scope (member ID > folder ID > root folder ID > directory ID) to narrow search results
  5. Wait after enabling — Resource Center needs a few minutes to build data after activation; large accounts may take longer
  6. Prefer read-only policies — For daily search and statistics operations, use AliyunResourceCenterReadOnlyAccess for security
  7. ResourceType discovery — When the exact resource type code is unknown, use the helper script documented in Section 8 (run from the skill root directory).
  8. Tag discovery vs tag-filtered search — For “what tag keys/values exist”, use list-tag-keys / list-tag-values (and multi-account variants with --scope). Reserve search-resources for finding resources that match tag conditions.

8. Available scripts

ScriptPurposeUsage
scripts/query-resource-types.pyQueries resource types by keyword from Alibaba Cloud Resource Center; stdout is JSON (resourceTypes, count, keyword, language; failures use success: false and error)python3 scripts/query-resource-types.py <keyword> [--language LANGUAGE]

9. Troubleshooting

When a Resource Center API call or aliyun resourcecenter command fails, read the response’s HTTP status, Code (error code), and Message, then match them against the catalog.

Full error list: references/error-codes.md


10. Reference Links

ReferenceDescription
references/related-apis.mdAll CLI commands list
references/ram-policies.mdRAM permission policies
references/verification-method.mdVerification steps for each workflow
references/error-codes.mdDeduplicated Resource Center API error code catalog (HTTP, Code, Message) and lookup hints
references/cli-installation-guide.mdAliyun CLI installation guide
references/acceptance-criteria.mdFor maintainers/CI only: Skill testing acceptance criteria, correct CLI command patterns, parameter validation rules. Note: This document is intended for human maintainers and automated testing, not required reading for end users.

平台分布

Claude

32.6%
按下载量换算178

Codex

32.22%
按下载量换算176

Cursor

16.74%
按下载量换算92

Gemini CLI

9.07%
按下载量换算50

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills