用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tools-only/X-Skills --skill weather命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Index of Build Systems Skills
Coordination patterns for distributed dataflow systems including barriers, epochs, and distributed snapshots
Windowing, sessionization, time-series aggregation, and late data handling for streaming systems
基于 SOC 职业分类
正在显示 SKILL.md
| name | weather |
| description | 查询城市天气信息。当用户询问某个城市的天气、温度、湿度等信息时使用。 |
| license | MIT |
| compatibility | Requires Python 3.x, network access |
| metadata | {"author":"skillLite","version":"3.0"} |
查询指定城市的真实天气信息。开箱即用,无需配置任何 API Key!
| 优先级 | 数据源 | 需要 Key | 说明 |
|---|---|---|---|
| 1 | 中华万年历 | ❌ 不需要 | 国内免费稳定,默认使用 |
| 2 | sojson天气 | ❌ 不需要 | 备用免费源,含空气质量 |
| 3 | 和风天气 | ✅ 需要 | 数据详细 |
| 4 | 高德天气 | ✅ 需要 | 国内稳定 |
| 5 | wttr.in | ❌ 不需要 | 国外服务,可能超时 |
无需任何配置,直接查询即可获取真实天气数据!
如需更详细的天气数据,可配置以下 API:
export AMAP_API_KEY=your_key # https://lbs.amap.com
export QWEATHER_API_KEY=your_key # https://dev.qweather.com
输入: {"city": "深圳"}
输出:
{
"city": "深圳",
"temperature": "18°C",
"weather": "多云",
"high": "20°C",
"low": "14°C",
"wind": "东北风 3-4级",
"tip": "天气较凉,注意添加衣物",
"source": "中华万年历",
"success": true
}