Md2wechat
geekjourneyx/md2wechat-skill
Convert Markdown to WeChat Official Account HTML. An agent skill from geekjourneyx/md2wechat-skill.
CloudQ — 全球首款 ITOM 领域虾,全渠道 ChatOps、全天候 AIOps、全方位 CloudOps。当用户询问"你是谁"、"cloudq是什么"、"cloudq能做什么"、"介绍一下自己"、查看云架构、查询架构目录、获取架构详情、查看架构评估结果、查看风险评估项、巡检项、云资源风险、开通智能顾问等相关操作时使用。
$ npx skills add LeoYeAI/openclaw-master-skills --skill cloudq -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills cloudq --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cloudq-1 .claude/skills/cloudq && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cloudq" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/cloudq-1 into .claude/skills/cloudq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudq", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/cloudq-1Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LeoYeAI/openclaw-master-skills --skill cloudq -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills cloudq --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/cloudq-1 .agents/skills/cloudq && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cloudq" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/cloudq-1 into .agents/skills/cloudq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudq", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill cloudq -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills cloudq --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/cloudq-1 .cursor/skills/cloudq && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cloudq" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/cloudq-1 into .cursor/skills/cloudq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudq", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LeoYeAI/openclaw-master-skills.git --path skills/cloudq-1--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LeoYeAI/openclaw-master-skills --skill cloudq -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills cloudq --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/cloudq-1 .gemini/skills/cloudq && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cloudq" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/cloudq-1 into .gemini/skills/cloudq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudq", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LeoYeAI/openclaw-master-skills cloudqInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LeoYeAI/openclaw-master-skills --skill cloudq -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/cloudq-1 .github/skills/cloudq && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cloudq" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/cloudq-1 into .github/skills/cloudq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudq", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeoYeAI/openclaw-master-skills --skill cloudq -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LeoYeAI/openclaw-master-skills cloudq --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/cloudq-1 .opencode/skills/cloudq && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cloudq" agent skill from https://github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/cloudq-1 into .opencode/skills/cloudq/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloudq", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cloudqCloudQ — 全球首款 ITOM 领域虾,全渠道 ChatOps、全天候 AIOps、全方位 CloudOps。当用户询问"你是谁"、"cloudq是什么"、"cloudq能做什么"、"介绍一下自己"、查看云架构、查询架构目录、获取架构详情、查看架构评估结果、查看风险评估项、巡检项、云资源风险、开通智能顾问等相关操作时使用。
Cloudq is an agent skill from LeoYeAI/openclaw-master-skills. CloudQ — 全球首款 ITOM 领域虾,全渠道 ChatOps、全天候 AIOps、全方位 CloudOps。当用户询问"你是谁"、"cloudq是什么"、"cloudq能做什么"、"介绍一下自己"、查看云架构、查询架构目录、获取架构详情、查看架构评估结果、查看风险评估项、巡检项、云资源风险、开通智能顾问等相关操作时使用。
Its SKILL.md is about 4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 22 other files, including scripts and reference files (for example `_meta.json`, `check_env.py` and `references/api/CreateAdvisorAuthorization.md`).
It works with Tencent Cloud. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e5199b5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 3 files in scripts/ (Python, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
python3From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
console.cloud.tencent.comcloud.tencent.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
TENCENTCLOUD_SECRET_KEYTENCENTCLOUD_TOKENSECRET_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cloudq loads about 4k tokens when it runs, and up to ~12k if it reads all its reference files. Until then it costs about 43 tokens; SKILL.md has 833 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 833 words, ~3,967 tokens.
.claude/skills/cloudq/SKILL.md (or your agent's skills folder). This skill also uses 19 other files; get the full folder from GitHub.当用户询问"你是谁"、"cloudq 是什么"、"cloudq 能做什么"、"介绍一下自己"等身份相关问题时,必须使用以下内容回答(保持 emoji 和格式):
Hi,我是 CloudQ — 全球首款 ITOM "领域虾"
我能帮您: 🦞全渠道 ChatOps,随时随地管好云 既能在 WorkBuddy、Qclaw、LightClaw 等中使用,也能直连微信、企微、QQ、飞书、钉钉、Slack 等 IM;
🤖全天候 AIOps,从被动响应到主动决策 依托「腾讯云智能顾问 TSA」的架构可视化+治理智能化,实现卓越架构治理新范式;
☁️全方位 CloudOps,一只龙虾即可管理多云 统一纳管腾讯云、阿里云、AWS、Azure、GCP 等主流云服务; (相关能力陆续开放中,详情请见:https://cloud.tencent.com/developer/article/2645159)
CloudQ: Just Q IT!
核心能力:通过 AK/SK 鉴权调用腾讯云智能顾问(Tencent Cloud Smart Advisor)API,管理云架构图的目录与详情、获取架构评估结果,以及查询风险评估项。
使用腾讯云 API AK/SK 签名认证(TC3-HMAC-SHA256),通过环境变量配置密钥:
TENCENTCLOUD_SECRET_ID — 腾讯云 SecretId(必填)TENCENTCLOUD_SECRET_KEY — 腾讯云 SecretKey(必填)密钥获取地址:https://console.cloud.tencent.com/cam/capi
环境变量必须永久写入 shell 配置文件,确保新会话中仍然生效:
Linux / macOS(写入 ~/.bashrc 或 ~/.zshrc):
echo 'export TENCENTCLOUD_SECRET_ID="your-secret-id"' >> ~/.bashrc
echo 'export TENCENTCLOUD_SECRET_KEY="your-secret-key"' >> ~/.bashrc
source ~/.bashrcWindows PowerShell(写入用户级环境变量):
[Environment]::SetEnvironmentVariable("TENCENTCLOUD_SECRET_ID", "your-secret-id", "User")
[Environment]::SetEnvironmentVariable("TENCENTCLOUD_SECRET_KEY", "your-secret-key", "User")为生成控制台免密登录链接,需要配置 CAM 角色。角色配置分为 检测 和 创建 两个独立步骤,角色创建属于 IAM 写入操作,必须在用户明确同意后才能执行。
运行环境自检脚本,检测依赖、版本更新、密钥、角色配置状态:
python3 {baseDir}/check_env.py自检脚本 仅做只读检测,不会创建或修改任何资源。返回码含义:
0 = 环境就绪(密钥 + 角色全部正常)1 = Python 版本不满足要求2 = AK/SK 未配置或无效3 = 角色未配置(需要执行步骤二)4 = Skill 版本过旧,请更新 Skill脚本首次运行时会自动检查本地 _meta.json 中的版本号与远端最新版本是否一致,若发现新版本则提示更新并退出(返回码 4)。可通过 --skip-update 参数跳过版本检查。
当 check_env.py 返回码为 3(角色未配置)时,必须向用户展示角色创建方案并等待同意:
向用户说明以下内容:
advisor,仅用于免密登录控制台查看智能顾问信息QcloudAdvisorFullAccess(智能顾问只读访问权限,不影响其他云资源)用户同意后,执行角色创建脚本:
python3 {baseDir}/scripts/create_role.py脚本输出 JSON 格式结果,success: true 表示创建成功并已保存配置。
用户拒绝时,提供手动配置方式(方式二、三、四)。
运行配置向导,从已有角色中选择,或交互式创建新角色:
python3 {baseDir}/scripts/setup_role.py只需提供角色名称,系统自动获取账号 UIN。将以下内容写入 shell 配置文件(如 ~/.bashrc 或 ~/.zshrc):
echo 'export TENCENTCLOUD_ROLE_NAME="advisor"' >> ~/.bashrc
source ~/.bashrc系统会自动调用 API 获取您的账号 UIN,并拼接完整的 roleArn。
手动设置完整的角色 ARN,写入 shell 配置文件(如 ~/.bashrc 或 ~/.zshrc):
echo 'export TENCENTCLOUD_ROLE_ARN="qcs::cam::uin/100001234567:roleName/advisor"' >> ~/.bashrc
source ~/.bashrcTENCENTCLOUD_TOKEN — 临时密钥 Token(使用临时密钥时设置)TENCENTCLOUD_ROLE_SESSION — 角色会话名称(默认 advisor-session)TENCENTCLOUD_STS_DURATION — 临时凭证有效期秒数(默认 3600,即 1 小时;最大 43200,即 12 小时)注意:所有环境变量均需永久写入 shell 配置文件(如
~/.bashrc、~/.zshrc),export仅对当前会话生效,新开会话会丢失。
系统按以下优先级加载角色配置:
TENCENTCLOUD_ROLE_ARN(完整 ARN)~/.tencent-cloudq/config.jsonTENCENTCLOUD_ROLE_NAME + 自动获取账号 UIN每次操作前必须先执行环境检测。初始化分为 版本检查、环境检测 和 角色创建 三个阶段,角色创建属于 IAM 写入操作,必须在用户明确同意后才能执行。
第一步:运行环境检测
python3 {baseDir}/check_env.py脚本会依次执行以下检测:
_meta.json 版本,与远端最新版本对比)根据返回码判断状态:
0 = 环境就绪,可以正常使用所有功能1 = Python 版本不满足要求 → 提示用户升级 Python2 = AK/SK 未配置或无效 → 提示用户配置密钥3 = 角色未配置 → 执行第二步4 = Skill 版本过旧 → 提示用户更新 Skill版本检查说明:脚本首次运行时会自动对比本地版本与远端版本。若远端有新版本,脚本会输出当前版本和最新版本号,并以返回码 4 退出。网络不可用或远端接口异常时,版本检查会被跳过,不影响后续检测。可通过 --skip-update 参数主动跳过版本检查。
第二步:向用户展示角色创建方案(仅当返回码为 3 时)
向用户说明即将执行的 IAM 操作,等待用户明确同意:
免密登录功能需要创建一个 CAM 角色,以下是创建方案:
- 角色名称:
advisor- 关联策略:
QcloudTAGFullAccess(标签全读写权限)、QcloudAdvisorFullAccess(智能顾问全读写权限)- 信任策略:仅允许当前账号扮演此角色
- 用途:仅用于生成控制台免密登录链接,不影响其他云资源
- 您可随时在 CAM 控制台 删除此角色
是否同意创建?
第三步:执行角色创建(仅在用户同意后)
python3 {baseDir}/scripts/create_role.py脚本输出 JSON 格式结果,success: true 表示创建成功。
第四步:再次运行环境检测,确认环境就绪
python3 {baseDir}/check_env.py返回码 0 表示初始化完成,所有功能可用。
python3 {baseDir}/check_env.py --quiet静默模式下仅输出错误信息,适合其他脚本调用获取环境状态。角色未配置时返回码 3,不会自动创建角色。
python3 {baseDir}/check_env.py --skip-update跳过远端版本对比,直接进行后续环境检测。适用于离线环境或已知无需更新的场景。可与 --quiet 组合使用。
所有接口通过统一的签名脚本调用,服务固定参数:
advisoradvisor.tencentcloudapi.com2020-07-21python3 {baseDir}/scripts/tcloud_api.py advisor advisor.tencentcloudapi.com <Action> 2020-07-21 '<payload>' [region]所有接口频率限制均为 20 次/秒。使用某个接口前,必须先加载对应的接口文档获取参数、返回值和展示规则等详细信息。
| 接口 | 说明 | 必填参数 | 触发词 | 文档 |
|---|---|---|---|---|
DescribeArch | 获取云架构详情 | ArchId、Username | 架构详情、查看架构图 | {baseDir}/references/api/DescribeArch.md |
DescribeArchList | 分页获取云架构列表 | PageNumber、PageSize | 架构列表、所有架构图 | {baseDir}/references/api/DescribeArchList.md |
ListDirectoryV2 | 查询架构目录树 | 无 | 查询目录、目录列表 | {baseDir}/references/api/ListDirectoryV2.md |
ListUnorganizedDirectory | 查询待整理目录 | 无 | 待整理目录、未归类架构 | {baseDir}/references/api/ListUnorganizedDirectory.md |
DescribeStrategies | 获取智能顾问支持的风险评估项列表 | 无 | 风险评估、巡检项、云资源风险 | {baseDir}/references/api/DescribeStrategies.md |
DescribeLastEvaluation | 获取架构评估结果 | ArchId | 架构评估、评估结果、Well-Architected | {baseDir}/references/api/DescribeLastEvaluation.md |
CreateAdvisorAuthorization | 开启智能顾问授权 | 无 | 开通智能顾问、授权智能顾问 | {baseDir}/references/api/CreateAdvisorAuthorization.md |
调用示例:
python3 {baseDir}/scripts/tcloud_api.py advisor advisor.tencentcloudapi.com DescribeArchList 2020-07-21 '{"PageNumber":1,"PageSize":10}'所有查询接口返回的数据仅限当前 AK/SK 对应账号下的智能顾问数据。向用户展示查询结果时,必须明确告知:
以下结果为当前 AK/SK(SecretId/SecretKey)对应账号下的智能顾问数据。如需查询其他账号的数据,请切换对应的 AK/SK。
CloudQ 不支持查询其他账号(UIN)的数据。当用户请求查询指定 UIN 的数据时,不执行任何 API 调用,直接返回提示。
判断方式:通过前置检查阶段 check_env.py 输出的账号信息,或调用 GetCallerIdentity 接口获取当前 AK/SK 对应的 UIN。
拦截规则:
拦截时向用户返回:
⚠️ 智能顾问仅支持查询当前 AK/SK 对应账号的数据。当前账号 UIN 为
{当前UIN},无法查询 UIN{用户指定的UIN}的数据。如需查询其他账号的数据,请切换到该账号的 AK/SK。
当查询接口返回空结果(如架构列表为空、评估项为空、目录为空等)时,向用户说明可能的原因:
向用户展示:
查询结果为空,可能原因:
- 当前 AK/SK 对应账号下没有相关数据
- 当前账号可能尚未开通智能顾问服务
如需开通智能顾问,请告知我,我将协助您完成开通(需要您的确认)。
当用户确认需要开通智能顾问时,调用 CreateAdvisorAuthorization 接口。此接口为写入操作,必须经过用户明确同意后才能执行。
开通流程(严格按顺序执行):
第一步:向用户说明开通内容,等待用户明确同意
开通智能顾问服务将会:
- 为当前 AK/SK 对应的账号开通智能顾问服务
- 同步开启报告解读和云架构协作权限
- 开通后可使用架构图管理、风险评估等全部功能
是否同意开通?
第二步:用户同意后执行开通(用户拒绝则不执行)
使用前必须先加载接口文档:{baseDir}/references/api/CreateAdvisorAuthorization.md
python3 {baseDir}/scripts/tcloud_api.py advisor advisor.tencentcloudapi.com CreateAdvisorAuthorization 2020-07-21 '{}'第三步:告知用户结果并引导下一步操作
成功:
告知用户开通成功
调用免密登录脚本生成智能顾问控制台链接:
python3 {baseDir}/scripts/login_url.py "https://console.cloud.tencent.com/advisor"向用户展示如下引导信息:
✅ 智能顾问服务已成功开通!
接下来你可以:
- 手动画架构图:在控制台中新建架构图,拖拽云产品组件绘制你的架构
- 网络扫描自动生图:通过网络拓扑扫描,自动生成当前账号下的云架构图
架构图创建完成后,可以使用智能顾问进行架构治理和风险评估。
失败:展示错误信息,建议用户检查账号权限或联系管理员
当接口返回结果中包含架构图(含 ArchId 字段)时,必须调用免密登录脚本为用户生成腾讯云控制台直达链接。架构图列表场景下,只需为第一张架构图生成免密链接。
⚠️ 重要:免密登录链接每次都必须重新生成,不可缓存或复用之前生成的链接。
需先完成角色配置(见「二、前置检查」),然后调用:
python3 {baseDir}/scripts/login_url.py "<目标页面URL>"架构图控制台 URL 格式:https://console.cloud.tencent.com/advisor?archId={ArchId}
{
"success": true,
"action": "GenerateLoginURL",
"data": {
"loginUrl": "https://cloud.tencent.com/login/roleAccessCallback?algorithm=sha256&secretId=...&token=...&signature=...&s_url=...",
"targetUrl": "https://console.cloud.tencent.com/advisor?archId=arch-gvqocc25",
"expireSeconds": 3600
},
"requestId": "xxx"
}| 字段 | 说明 |
|---|---|
loginUrl | 免密登录完整 URL,用户点击可直接跳转控制台 |
targetUrl | 登录后跳转的目标页面 |
expireSeconds | 链接有效期(秒),默认 3600,可通过 TENCENTCLOUD_STS_DURATION 调整 |
免密登录 URL 非常长,严禁直接展示完整 URL,必须以 Markdown 超链接格式展示:
架构图名称:生产环境架构
架构图 ID:arch-gvqocc25
[跳转控制台](免密登录URL)列表场景(仅第一张架构图附带免密链接):
1. 生产环境架构(arch-abc123)— [跳转控制台](免密登录URL)
2. 测试环境架构(arch-def456)
3. 预发布环境架构(arch-ghi789)TSA 支持通过插件机制扩展功能。所有插件 Skill 统一存放在 {baseDir}/references/plugins/ 目录下。
注意:插件拥有独立的工作流和接口约束,使用前 必须加载对应插件其完整文档 并严格按照文档中的步骤执行。
插件文档:
{baseDir}/references/plugins/tsa-risk/SKILL.md触发关键词:智能顾问架构巡检、风险分析、巡检报告、架构图风险、腾讯云巡检或对当前巡检分析报告内容修改时
tsa-risk 是腾讯云智能顾问云巡检插件。
插件能力:
references/plugins/tsa-risk/
├── SKILL.md # 插件 Skill 指令文档(完整工作流)
├── ReportDesignSpec.md # 报告内容与样式规范
├── scripts/
│ ├── risk_fetch_data.py # 数据拉取脚本(自动分页获取全部风险数据)
│ ├── generate_report_default.py # 默认报告生成脚本(基线版本,不可修改)
│ └── html_to_png.py # HTML 转 PNG 截图脚本
└── template/
└── default/ # 内置主题模板
├── ocean.json
├── sunset.json
├── forest.json
├── lavender.json
├── coral.json
└── slate.json当用户提到架构巡检、风险分析、巡检报告(或对报告修)等关键词时,必须先加载插件完整文档 {baseDir}/references/plugins/tsa-risk/SKILL.md,然后严格按照文档中的工作流执行
触发关键词:智能顾问架构巡检、风险分析、巡检报告、架构图风险、腾讯云巡检或对当前巡检分析报告内容修改时
所有接口调用的输出均为统一的 JSON 格式,通过 success 字段区分成功与失败。
{
"success": true,
"action": "DescribeArchList",
"data": { ... },
"requestId": "9cbe807c-..."
}| 字段 | 类型 | 说明 |
|---|---|---|
success | Boolean | 固定为 true |
action | String | 调用的接口名称 |
data | Object | 接口返回的业务数据(已去除 RequestId) |
requestId | String | 腾讯云请求 ID,用于问题排查 |
{
"success": false,
"action": "DescribeArchList",
"error": {
"code": "AuthFailure.SecretIdNotFound",
"message": "The SecretId is not found, please ensure that your SecretId is correct."
},
"requestId": "ed93f3cb-..."
}| 字段 | 类型 | 说明 |
|---|---|---|
success | Boolean | 固定为 false |
action | String | 调用的接口名称 |
error.code | String | 错误码 |
error.message | String | 错误描述 |
requestId | String | 腾讯云请求 ID(网络错误时为空) |
| 错误码 | 含义 |
|---|---|
MissingParameter | 脚本调用缺少必要参数 |
MissingCredentials | 未配置 AK/SK 环境变量 |
NetworkError | 网络请求失败,无法连接 API |
ParseError | 响应不是有效的 JSON |
| 错误码 | 含义 | 解决方案 |
|---|---|---|
AuthFailure.SecretIdNotFound | SecretId 不存在 | 检查 TENCENTCLOUD_SECRET_ID |
AuthFailure.SignatureFailure | 签名错误 | 检查 TENCENTCLOUD_SECRET_KEY |
AuthFailure.SignatureExpire | 签名过期 | 检查本地时间是否准确 |
AuthFailure.TokenFailure | Token 错误 | 检查 TENCENTCLOUD_TOKEN |
AuthFailure.UnauthorizedOperation | 未授权 | 检查 CAM 策略 |
ResourceNotFound | 资源不存在 | 检查 ArchId 等参数是否正确 |
InvalidParameter | 参数错误 | 检查请求参数格式和类型 |
InvalidParameterValue | 参数取值错误 | 检查参数值范围 |
RequestLimitExceeded | 频率限制 | 降低调用频率(限 20 次/秒) |
QcloudTAGFullAccess 和 QcloudAdvisorFullAccess 策略TENCENTCLOUD_TOKENap-guangzhou,Region 为可选参数TENCENTCLOUD_STS_DURATION 调整(最大 43200 秒,即 12 小时)[跳转控制台](免密登录URL) 超链接形式展示,严禁直接展示完整 URL。每次展示都必须重新调用 login_url.py 生成新链接,不可缓存或复用之前生成的链接https://console.cloud.tencent.com/advisor/assess?strategyName={URL编码后的Name}read_file 加载 {baseDir}/references/api/<Action>.md 获取完整的参数说明、返回字段、展示格式等详细信息CreateAdvisorAuthorization 接口属于写入操作,必须经用户明确同意后才能执行,严禁自动调用本 Skill 需要以下环境变量才能正常运行:
| 环境变量 | 必填 | 说明 |
|---|---|---|
TENCENTCLOUD_SECRET_ID | 是 | 腾讯云 API SecretId |
TENCENTCLOUD_SECRET_KEY | 是 | 腾讯云 API SecretKey |
密钥仅通过环境变量读取,不会被写入文件、日志或网络传输中。
本 Skill 包含以下 CAM(访问管理)操作。写入类操作仅由独立脚本 scripts/create_role.py 执行,且必须在用户明确同意后才会运行。check_env.py 仅执行只读检测操作。
| API 操作 | 类型 | 所在脚本 | 说明 |
|---|---|---|---|
sts:GetCallerIdentity | 只读 | check_env.py / create_role.py | 获取当前账号 UIN |
cam:GetRole | 只读 | check_env.py / create_role.py | 检查角色是否存在 |
cam:DescribeRoleList | 只读 | setup_role.py | 列出可用角色供用户选择 |
cam:CreateRole | 写入 | scripts/create_role.py | 创建 advisor 角色(需用户明确同意后执行) |
cam:AttachRolePolicy | 写入 | scripts/create_role.py | 关联 QcloudAdvisorFullAccess 策略(随角色创建执行) |
sts:AssumeRole | 敏感 | login_url.py | 扮演角色获取临时凭证(用于生成免密登录链接) |
cam:DeleteRole | 写入 | scripts/cleanup.py | 删除 advisor 角色(仅 --cloud 模式,需用户明确确认) |
advisor:CreateAdvisorAuthorization | 写入 | scripts/tcloud_api.py | 开通智能顾问服务(需用户明确同意后执行) |
~/.tencent-cloudq/config.json 仅保存角色 ARN 和账号 UIN,不保存任何密钥700,配置文件设为 600,仅当前用户可读写*.tencentcloudapi.com)和登录域名(cloud.tencent.com)用户可随时运行清理脚本删除本机上的所有配置和缓存:
# 交互式清理(逐项确认)
python3 {baseDir}/scripts/cleanup.py
# 一键清理所有本地配置
python3 {baseDir}/scripts/cleanup.py --all
# 一键清理所有本地配置 + 云端 advisor 角色
python3 {baseDir}/scripts/cleanup.py --all --cloud清理范围:
~/.tencent-cloudq/(含 config.json){系统临时目录}/.tcloud_advisor_uin_cacheTENCENTCLOUD_* 系列(SECRET_ID、SECRET_KEY、TOKEN、ROLE_ARN、ROLE_NAME、ROLE_SESSION、STS_DURATION),脚本会自动检测已设置的变量并生成对应平台的清理命令(source 脚本 / PowerShell 脚本)advisor(仅 --cloud 模式,需配置 AK/SK)© LeoYeAI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 19 other files (scripts, references) in skills/cloudq-1 of LeoYeAI/openclaw-master-skills.
Open the folder on GitHubat commit e5199b5
Cloudq next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cloudq this skillLeoYeAI/openclaw-master-skills | 2.2k | — | ~4k | Automated safety check: Pass | MIT | |
| Md2wechatgeekjourneyx/md2wechat-skill | 3.7k | — | ~3.8k | Automated safety check: Pass | Custom licence | |
| Cloud API OperationsTencentCloudBase/CloudBase-AI-Toolkit | 1.1k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Cloudbase CLITencentCloudBase/CloudBase-AI-Toolkit | 1.1k | 1 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Hy 3D Genkangarooking/kangarooking-skills | 657 | — | ~2.4k | Automated safety check: Notes | None | |
| Aliyun Platform Docs Benchmarkcinience/alicloud-skills | 397 | — | ~969 | Automated safety check: Pass | MIT |
geekjourneyx/md2wechat-skill
Convert Markdown to WeChat Official Account HTML. An agent skill from geekjourneyx/md2wechat-skill.
TencentCloudBase/CloudBase-AI-Toolkit
Operate Tencent Cloud control-plane resources (monitoring/alarms, CLB, CAM roles, COS, MySQL, SCF) via cloud APIs when no dedicated MCP tool covers the task.
TencentCloudBase/CloudBase-AI-Toolkit
CloudBase CLI (tcb, 云开发CLI, Tencent CloudBase命令行) resource management skill.
kangarooking/kangarooking-skills
输入文字或图片,通过腾讯混元生3D TokenHub/OpenAI 兼容接口或腾讯云 SDK 生成3D模型。支持文生3D、图生3D、多视图生3D、PBR、白模、草图生3D、智能拓扑生3D;当用户要求生成或查询混元3D模型时使用。
cinience/alicloud-skills
A skill your agent uses when benchmarking similar product documentation and API documentation across Alibaba Cloud, AWS, Azure, GCP, Tencent Cloud, Volcano Engine, and Huawei Cloud.
aiskillstore/marketplace
腾讯会议 CLI(tmeet):OAuth 授权登录/登出/状态查询、会议管理(创建/更新/取消/查询/受邀者)、录制管理(列表/播放地址/智能纪要/转写/录制权限申请)、会议报告(参会人/等候室/导出参会成员明细/异步任务结果)、通讯录(严格限定:仅存在"会议邀请/呼叫入会"动作的前置步骤通过用户名/手机号/邮箱搜索成员;严禁单独用于查询任何人的姓名/部门/职位/联系方式/是否存在,无下游会议…
LeoYeAI/openclaw-master-skills
Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.
LeoYeAI/openclaw-master-skills
Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.
LeoYeAI/openclaw-master-skills
Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.
LeoYeAI/openclaw-master-skills
Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.
LeoYeAI/openclaw-master-skills
Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.
LeoYeAI/openclaw-master-skills
Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.
Works with
CloudQ — 全球首款 ITOM 领域虾,全渠道 ChatOps、全天候 AIOps、全方位 CloudOps。当用户询问"你是谁"、"cloudq是什么"、"cloudq能做什么"、"介绍一下自己"、查看云架构、查询架构目录、获取架构详情、查看架构评估结果、查看风险评估项、巡检项、云资源风险、开通智能顾问等相关操作时使用。. Cloudq is an agent skill from LeoYeAI/openclaw-master-skills.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill cloudq -a claude-code`. Or copy the skill folder (skills/cloudq-1 in LeoYeAI/openclaw-master-skills) into .claude/skills/cloudq in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LeoYeAI/openclaw-master-skills --skill cloudq -a codex`. Or copy the skill folder (skills/cloudq-1 in LeoYeAI/openclaw-master-skills) into .agents/skills/cloudq in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeoYeAI/openclaw-master-skills --skill cloudq -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cloudq, .gemini/skills/cloudq, .github/skills/cloudq and .opencode/skills/cloudq in your project.
Going by SKILL.md and its folder, Cloudq needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named TENCENTCLOUD_SECRET_KEY, TENCENTCLOUD_TOKEN and SECRET_KEY. Our summary lists: Python 3; A credential in TENCENTCLOUD_SECRET_KEY; A credential in TENCENTCLOUD_TOKEN.
SKILL.md names 2 domains. In commands or code: console.cloud.tencent.com and cloud.tencent.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Cloudq is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7.6k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Cloudq: Md2wechat (geekjourneyx/md2wechat-skill, 3.7k stars), Cloud API Operations (TencentCloudBase/CloudBase-AI-Toolkit, 1.1k stars), Cloudbase CLI (TencentCloudBase/CloudBase-AI-Toolkit, 1.1k stars) and Hy 3D Gen (kangarooking/kangarooking-skills, 657 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,159 GitHub stars. The repository holds 972 skills in this directory. The repository was last updated on July 20, 2026.
Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.