Ask me what skills you need
What are you building?
Tell me what you're working on and I'll find the best agent skills for you.
腾讯云智能顾问架构风险巡检分析报告生成工具。用于分析用户在腾讯云智能顾问产品下的架构图风险巡检情况,从API拉取数据并生成移动端友好的HTML可视化报告,最终将HTML转换为PNG图片输出。当用户提到智能顾问架构巡检、风险分析、巡检报告、架构图风险、腾讯云巡检等关键词时或对当前报告内容修改时,请务必使用此插件。
本 skill 用于分析用户在腾讯云智能顾问产品下的架构图风险巡检情况,自动拉取数据并生成可视化报告。
重要:本 skill 仅允许调用以下
references/中定义的 4 个智能顾问接口,不得调用任何 references 之外的接口:
| # | Action | 说明 | 文档 |
|---|---|---|---|
| 1 | DescribeArchScanReportLastInfo | 获取最新巡检报告ID | {baseDir}/references/api/DescribeArchScanReportLastInfo.md |
| 2 | DescribeArchScanOverviewInfo | 查询巡检概览信息 | {baseDir}/references/api/DescribeArchScanOverviewInfo.md |
| 3 | DescribeArchRiskTrendInfo | 查询风险趋势信息 | {baseDir}/references/api/DescribeArchRiskTrendInfo.md |
| 4 | DescribeScanPluginRiskTrendListInfo | 查询风险明细列表 | {baseDir}/references/api/DescribeScanPluginRiskTrendListInfo.md |
所有接口统一通过 {baseDir}/scripts/tcloud_api.py 调用,服务名 advisor,API 版本 2020-07-21。
路径约定:下文使用
{pluginDir}表示{baseDir}/references/plugins/tas-risk,插件专用脚本(数据拉取、报告生成、截图转换)位于{pluginDir}/scripts/,公用脚本(环境检查、API调用、免密登录等)位于{baseDir}/scripts/。
辅助脚本说明:
{baseDir}/scripts/login_url.py和{baseDir}/scripts/setup_role.py为可选辅助脚本,使用 STS/CAM 通用服务接口(非智能顾问业务接口),仅用于免密登录链接生成和角色配置,不在核心数据流程中。
python3(3.6 及以上版本)TENCENTCLOUD_SECRET_ID、TENCENTCLOUD_SECRET_KEYnpx skills add LeoYeAI/openclaw-master-skills --skill tsa-riskHow clear and easy to understand the SKILL.md instructions are, rated from 1 to 5.
Clear and well structured, with only minor parts that might need a second read.
How directly an agent can act on the SKILL.md instructions, rated from 1 to 5.
Mostly actionable with clear steps; only a few small gaps remain.