weather-forecast
查天气预报。香港用香港天文台官方 API(最准、秒回),全球用 Open-Meteo(免 key)。当用户说"天气"、"天气预报"、"今天天气"、"明天天气"、"几天天气"、"会不会下雨"、"weather"、"forecast"、"香港天气"、"某城市天气"等关键词时触发。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
查天气预报。香港用香港天文台官方 API(最准、秒回),全球用 Open-Meteo(免 key)。当用户说"天气"、"天气预报"、"今天天气"、"明天天气"、"几天天气"、"会不会下雨"、"weather"、"forecast"、"香港天气"、"某城市天气"等关键词时触发。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
NVIDIA NVL72 (GB200/GB300) GPU 集群验收测试。Profile 驱动的端到端质检:硬件自检、DCGM 诊断、NCCL 带宽、cuBLAS GEMM、单域/跨域多节点 NCCL、日志分析、报告生成、故障节点处理。含验收 baseline 阈值与判定标准。当用户说"验收测试"、"GPU QA"、"质检"、"跑一下 hw-check"、"NCCL benchmark"、"节点健康检查"、"GPU 集群测试"、"NVL72 测试"、"GB300 QA"、"GB200 QA"等关键词时触发。
Build polished, on-brand slide decks (python-pptx → Google Slides) and richly formatted Google Docs, with a reusable design system, matplotlib charts, AI-generated imagery (Nano Banana), a render-verify loop, and link-stable Drive uploads (PATCH same fileId so the share link never changes). Use when the user wants to create or iterate a presentation / briefing deck / exec one-pager / formatted Google Doc — especially customer or executive briefings that go into Google Drive. Also covers extracting user-pasted images from the session transcript and converting decks/docs to PNG for visual self-check.
Generate music using Google Lyria 3 (DeepMind). Use for "生成音乐", "作曲", "写一首曲子", "generate music", "create a song", "compose", "piano piece", "钢琴曲", "make a beat", "生成钢琴曲", "来一首歌".
Read WeChat Official Account (微信公众号) articles. Trigger when user shares any mp.weixin.qq.com URL, or says "微信文章", "公众号文章", "读一下这个微信链接", "WeChat article". Bypasses WeChat's anti-scraping CAPTCHA by emulating the WeChat in-app browser. MUST be used instead of WebFetch/Jina for any mp.weixin.qq.com link — those tools WILL fail with "环境异常" CAPTCHA.
Compute Hong Kong salaries tax partial exemption for share awards (GSU / RSU / stock options) under DIPN No. 38 paragraphs 43-46 and section 8(1A)(a) of the Inland Revenue Ordinance. Full lifecycle: (1) auto-extract vest data from Morgan Stanley / IRD / IR56B via Chrome MCP, (2) compute DIPN 38 time apportionment, (3) cross-check IR56B vs IRD assessment to detect unclaimed exemptions, (4) generate APPENDIX-EQUITY PDF for eTAX submission, (5) generate HTML audit report for personal review, (6) guide eTAX BIR60 filing or 70A retrospective claim. Triggers: HK salaries tax, BIR60, IR56B, share award apportionment, DIPN 38, 'partial exemption', cross-border GSU/RSU vest, '报税分析', '股票减税', 'GSU 豁免', '从内地转来香港', '70A', 'time apportionment', '股票报税'.
Guide for selecting and configuring distributed training strategies in NeMo AutoModel, including FSDP2, Megatron FSDP, DDP, and parallelism settings.
| name | weather-forecast |
| description | 查天气预报。香港用香港天文台官方 API(最准、秒回),全球用 Open-Meteo(免 key)。当用户说"天气"、"天气预报"、"今天天气"、"明天天气"、"几天天气"、"会不会下雨"、"weather"、"forecast"、"香港天气"、"某城市天气"等关键词时触发。 |
多源快速天气查询。优先用免费、秒回、无需 key 的官方数据源。
python3 ~/.claude/skills/weather-forecast/scripts/weather.py # 默认香港
python3 ~/.claude/skills/weather-forecast/scripts/weather.py hk # 香港天文台
python3 ~/.claude/skills/weather-forecast/scripts/weather.py "Tokyo" # 任意城市
python3 ~/.claude/skills/weather-forecast/scripts/weather.py 22.3 114.17 # 经纬度
python3 ~/.claude/skills/weather-forecast/scripts/weather.py hk --json # 原始 JSON
脚本已格式化好输出,直接转述给用户即可(聊天平台保持简洁,长预报可裁剪到 3-5 天)。
| 源 | 用途 | 端点 | 认证 |
|---|---|---|---|
| 香港天文台 HKO | 香港地区(最准) | data.weather.gov.hk/weatherAPI/opendata/weather.php | 无 |
| Open-Meteo | 全球任意地点 | api.open-meteo.com/v1/forecast | 无 |
HKO dataType 参数:
flw 本港地区天气预报(今明)fnd 九天天气预报rhrread 实时天气(气温/湿度/雨量/各区)warnsum 现行警告摘要swt 特别天气提示tc(繁) / sc(简) / en(英)天气图标:HKO 返回 ForecastIcon 编号,对应 https://www.hko.gov.hk/images/HKOWxIconOutline/pic{编号}.png
Apple WeatherKit — 苹果天气同款数据源(聚合多家气象局,含 HKO)。
weatherkit.apple.com/api/v1/weather/{lang}/{lat}/{lon}Google Weather API(Maps Platform,2025 GA)
weather.googleapis.com/v1/currentConditions:lookup、/forecast/days:lookup、/forecast/hours:lookup?key=)墨迹天气 — 无免费公开 API,走 B2B 商业授权(企业版/开放平台),需付费商务合作。香港地区数据不如天文台准,不推荐个人使用。
要启用 WeatherKit/Google,在 scripts/weather.py 加对应 fetch 函数并把 key 放环境变量;本 skill 默认不依赖任何 key,开箱即用。
天文台官网 hko.gov.hk 是渲染页(含大量 JS/图表),抓取慢。换成上面的 opendata JSON API 直连即可秒回(实测各端点几百毫秒)。