tencent-weather
天气信息查询工具,覆盖中国市级和区县级行政区。当用户查询实况天气、天气预报或天气预警信息时使用。 Skill: tencent-weather Owner: tencentnewsteam Summary: 天气信息查询工具,覆盖中国市级和区县级行政区。当用户查询实况天气、天气预报或天气预警信息时使用。 Tags: latest:1.0.5 Version history: v1.0.5 | 2026-08-31T07:35:32.353Z | user Version 1.0.5 — Adds precise, user-friendly error handling and updates for weather query logic. - Added strict, actionable user guidance for environment errors (CLI未安装、API Key 未配置/无效等),明确指令与操作说明取代泛泛出错提示。 - 明确业务场景下对天气预警查询的分工:常规天气问询中出现预警即展示,
Rank
62
Safety
84
Downloads
1.1k
Updated
Oct 11, 2026
Version
1.0.5
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 1.1K downloadsadoption · observed Oct 11, 2026
- Latest release
- 1.0.5release · observed Aug 31, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s175jt7z9z0j4h1tzctzf5n05983k5q9:tencent-weather- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-tencentnewsteam-tencent-weather/snapshot"
Documentation
CLAWHUB
31,705 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
--- name: tencent-weather description: 天气信息查询工具,覆盖中国市级和区县级行政区。当用户查询实况天气、天气预报或天气预警信息时使用。 description_zh: 中国各地实时天气、天气预报和天气预警信息查询。 description_en: Weather information lookup tool covering Chinese cities and counties. Use when the user queries current weather, forecasts, or weather alerts. version: 1.0.5 author: TencentNews tags: [weather, tencent, forecast, temperature, precipitation, wind, air quality] --- # 腾讯天气查询 通过 `tencent-news-cli` 的天气能力完成天气查询。 > **核心原则**:基础设施交给脚本处理;智能体只负责依据当前 CLI 能力选择命令和参数。**除 `cli-state` 外,所有 CLI 调用都通过 `run-cli` 执行;始终先读 `help weather`,不要硬编码任何业务命令。** ## 平台约定 | 平台 | 脚本运行方式 | 示例 | |------|------------|------| | macOS / Linux | `sh scripts/<name>.sh` | `sh scripts/cli-state.sh` | | Windows | `powershell scripts/<name>.ps1` | `powershell scripts/cli-state.ps1` | 以下所有脚本调用均以 macOS / Linux 为例,Windows 将 `.sh` 替换为 `.ps1`,`sh` 替换为 `powershell`。 除 `cli-state` 外,所有 CLI 命令都通过 `run-cli` 脚本执行: | 平台 | CLI 调用模板 | |------|-------------| | macOS / Linux | `sh scripts/run-cli.sh <command> [args]` | | Windows | `powershell scripts/run-cli.ps1 <command> [args]` | ## 环境异常时的用户指引(强制门禁) 用户直接提出业务问题时,也必须先检查环境。CLI 或 API Key 未就绪时,当前轮停止业务查询,不得只回复“数据加载失败”、原始错误或泛化的“请检查配置”,必须给出可直接操作的指引: - **CLI 未安装/不可用**(`cliExists: false`、`cliSource: none`、`cli not found`、`command not found`、`not recognized`):说明本查询依赖腾讯新闻 CLI,当前设备尚未安装或未被识别;按平台提供安装命令:macOS/Linux 使用 `curl -fsSL https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.sh | sh`;Windows PowerShell 使用 `irm https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.ps1 | iex`。提醒安装后重新打开终端并重新提问。 - **API Key 未配置**(`apiKey.status: missing`、`未设置 API Key`、`API Key not set`):说明 CLI 已安装但尚未配置 Key;引导访问 `https://news.qq.com/exchange?scene=appkey` 获取,然后执行 `tencent-news-cli apikey-set YOUR_KEY`,再执行 `tencent-news-cli apikey-get` 验证。 - **API Key 无效、过期或无权限**(`API Key 无效`、`invalid api key`、`unauthorized`、`401`、`403`、鉴权/认证失败):不得归因为无数据、额度或普通网络错误;说明当前 Key 无效或无权访问,引导从上述页面重新获取正确 Key,再执行设置和验证命令。 - **状态不确定**(状态脚本失败、`apiKey.status: error` 或无法解析):先按错误文本匹配以上类型;仍无法判断时,同时给出安装命令及 Key 获取、设置、验证步骤。 - `YOUR_KEY` 只能由用户在本地替换;不得索要、代填、回显或记录真实 Key。环境未就绪时不得改用其他数据源。上述基础设施指引优先于业务输出格式限制,但不得展示内部日志、参数、traceid。 ## Phase 1:环境就绪 > 环境已就绪时直接跳到 Phase 2。 ### 1. 状态检查 ```sh sh scripts/cli-state.sh ``` 解析返回的 JSON,关注以下字段: | 字段 | 含义 | |------|------| | `platform.cliPath` | 底层实际使用的 CLI 完整路径,供诊断错误或权限问题时参考 | | `platform.cliSource` | `global`(优先命中 PATH 中可用的全局命令,否则命中默认全局安装目录)/ `local`(旧版 skill 目录内安装,兼容兜底)/ `none`(以上路径都未找到) | | `cliExists` | CLI 是否存在 | | `update.needUpdate` | 当前版本是否需要更新 | | `update.error` | `version` 检查失败时的错误信息 | | `apiKey.present` | API Key 是否已配置 | | `apiKey.status` | `configured` / `missing` / `error` | | `apiKey.error` | `apikey-get` 执行异常或输出异常时的错误信息 | ### 2. 安装 CLI(`cliExists` 为 `false` 时) > 仅当 `cliSource` 为 `none` 时才需要安装;`local` 表示命中了旧版本地安装,可继续使用但建议后续迁移到全局安装。 按照 [`references/installation-guide.md`](references/installation-guide.md) 中的安装命令执行安装。 安装成功后重新执行 `sh scripts/cli-state.sh`(Windows 用 `powershell scripts/cli-state.ps1`)刷新状
_meta.json
{
"ownerId": "kn70xzzfc3tbkcnmfbbj3nbq2x83ke20",
"slug": "tencent-weather",
"version": "1.0.5",
"publishedAt": 1788161732353
}references/env-setup-guide.md
# tencent-news-cli API Key 配置指南 ## 获取 API Key 1. 打开浏览器访问 [API Key 获取页面](https://news.qq.com/exchange?scene=appkey) 2. 按页面引导完成获取 ## 设置 API Key 打开终端(macOS / Linux)或 PowerShell(Windows),执行: ```sh tencent-news-cli apikey-set YOUR_KEY ``` > `YOUR_KEY` 替换为实际获取到的 Key 值,不需要加引号。 验证: ```sh tencent-news-cli apikey-get ``` ## 清除 API Key 仅在需要重置时执行: ```sh tencent-news-cli apikey-clear ``` ## 常见问题 - **未设置 API Key / `API Key not set`** → 前往上述获取页面取得 Key,执行 `tencent-news-cli apikey-set YOUR_KEY`,再执行 `tencent-news-cli apikey-get` 验证 - **`API Key 无效` / `invalid api key` / `unauthorized` / `401` / `403` / 鉴权失败** → 当前 Key 无效、过期或无权访问;重新前往获取页面生成正确 Key,再执行设置和验证命令。不得把此类错误解释成“无数据”“额度用完”或普通网络失败 - **`operation not permitted`** → 确认在有写入权限的终端中执行命令 - **找不到 `tencent-news-cli` 命令** → 重新打开终端,或参考 [安装指南](installation-guide.md) 重新安装 > `YOUR_KEY` 仅作为占位符。真实 Key 只能由用户在本地终端填写,不应发送给智能体,也不得在回复、日志或报告中回显。
references/installation-guide.md
# tencent-news-cli 手动安装指南 ## macOS / Linux 打开终端,执行以下命令: ```sh curl -fsSL https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.sh | sh ``` 脚本会自动完成:识别系统和架构 → 下载 CLI → 验证 → 配置环境变量 → 检测 API Key 状态。 安装完成后重新打开终端(或执行 `source ~/.zshrc`),运行 `tencent-news-cli help` 确认安装成功。 ## Windows 打开 PowerShell,执行以下命令: ```powershell irm https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.ps1 | iex ``` 安装完成后重新打开 PowerShell,运行 `tencent-news-cli help` 确认安装成功。 ## 故障排查 - **macOS 安全提示**("无法打开" / "未验证的开发者")→ 前往「系统设置 → 隐私与安全性」,点击「仍要打开」 - **Windows SmartScreen 拦截** → 在系统提示中选择「更多信息」后允许运行 - **下载失败** → 检查网络连接,确认 CDN 地址 `mat1.gtimg.com` 可达 - **`unsupported os` 或 `unsupported architecture`** → 当前平台不在支持范围内
references/update-guide.md
# tencent-news-cli 手动更新指南 ## 直接更新 打开终端,执行以下命令: ```sh tencent-news-cli update ``` 如果你手里拿到的是 CLI 完整路径,也可以直接在该路径后追加 `update`。 ## 更新命令不可用时 说明当前 CLI 版本过旧或未正确安装。此时改用安装脚本重新安装最新版本: macOS / Linux: ```sh curl -fsSL https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.sh | sh ``` Windows: ```powershell irm https://mat1.gtimg.com/qqcdn/qqnews/cli/hub/tencent-news/setup.ps1 | iex ``` ## 验证更新 更新完成后重新打开终端,运行以下命令查看版本信息: ```sh tencent-news-cli version ``` ## 故障排查 - **更新后仍显示旧版本** → 确认终端已重新打开,或运行 `source ~/.zshrc`(macOS/Linux)刷新环境 - **下载失败** → 检查网络连接,确认 CDN 地址 `mat1.gtimg.com` 可达 - **Windows 更新失败** → 检查是否被 SmartScreen、杀软或文件占用拦截
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/tencentnewsteam/skills/tencent-weather",
"sourceUrl": "https://clawhub.ai/tencentnewsteam/skills/tencent-weather",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T06:50:18.211Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-tencentnewsteam-tencent-weather/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-tencentnewsteam-tencent-weather/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T06:50:18.211Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.1K downloads",
"href": "https://clawhub.ai/tencentnewsteam/tencent-weather",
"sourceUrl": "https://clawhub.ai/tencentnewsteam/tencent-weather",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T06:50:18.211Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.5",
"href": "https://clawhub.ai/tencentnewsteam/tencent-weather",
"sourceUrl": "https://clawhub.ai/tencentnewsteam/tencent-weather",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-31T07:35:32.353Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-tencentnewsteam-tencent-weather/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-tencentnewsteam-tencent-weather/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.5",
"description": "Version 1.0.5 — Adds precise, user-friendly error handling and updates for weather query logic. - Added strict, actionable user guidance for environment errors (CLI未安装、API Key 未配置/无效等),明确指令与操作说明取代泛泛出错提示。 - 明确业务场景下对天气预警查询的分工:常规天气问询中出现预警即展示,若仅查询预警则交由 tencent-weather-alert skill。 - 更新了命令选择和输出规则,说明当前 CLI 行为及分段返回内容(实况、预报、限行、预警等),要求全部原样输出。 - 强化多场景对 Adcode 地点参数的唯一性和处理流程要求。 - 移除 skill-card.md 文件,无功能影响。 - CLI 或环境未就绪时,强制门禁,禁止回落为其他数据源。",
"href": "https://clawhub.ai/tencentnewsteam/tencent-weather",
"sourceUrl": "https://clawhub.ai/tencentnewsteam/tencent-weather",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-31T07:35:32.353Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
