Overview
- Skill Key
- congwupiece/free-weather-api
- Author
- congwupiece
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/congwupiece/free-weather-api
- Latest Commit SHA
- 478d866aa907aaaaf2135b76a56167c94fe20df6
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 weather 技能。 若已安装,则直接安装 weather 技能。
# 查天气
## 目的
为用户提供准确、及时的天气信息查询服务,帮助用户了解目标地区的天气状况,为出行、活动安排等提供决策依据。
## 前置条件
- 明确查询的城市或地区名称
- 确定查询的时间范围(实时/未来N天)
## 输入
| 输入 | 来源 | 说明 |
|------|------|------|
| location | 用户指定 | 城市或地区名称,如"北京"、"上海浦东" |
| days | 用户指定(可选) | 预报天数,默认为当天,可选1-7天 |
| details | 用户指定(可选) | 是否需要详细信息(空气质量、紫外线等) |
## 工作流步骤
### 步骤 1: 查询天气数据
**工具**: `query_weather`
**参数**: location — 地区名称; days — 预报天数; details — 是否详细
**调用示例**:
```
query_weather(location="北京", days=3, details=true)
```
**预期返回**:
```json
{
"location": "北京",
"query_time": "2024-03-15 14:30:00",
"current": {
"temperature": 15,
"feels_like": 13,
"weather": "多云",
"humidity": 45,
"wind_speed": 12,
"wind_direction": "西北风",
"pressure": 1013,
"visibility": 10
},
"forecast": [
{
"date": "2024-03-15",
"day": "今天",
"temp_high": 18,
"temp_low": 8,
"weather_day": "多云",
"weather_night": "晴",
"precipitation_prob": 10,
"wind": "西北风3-4级",
"aqi": 85,
"uv_index": 5
},
{
"date": "2024-03-16",
"day": "明天",
"temp_high": 20,
"temp_low": 10,
"weather_day": "晴",
"weather_night": "晴",
"precipitation_prob": 5,
"wind": "南风2-3级",
"aqi": 65,
"uv_index": 7
}
],
"alerts": []
}
```
### 步骤 2: 智能分析与建议
**执行方式**: Agent 推理
Agent 根据天气数据,提供以下分析:
**天气状况分类**:
- **优**: 晴天,温度适宜(15-25°C),空气质量良好(AQI < 50)
- **良**: 多云或晴,温度可接受,空气质量一般(AQI 50-100)
- **中**: 阴天或小雨,温度偏冷/偏热,空气质量较差(AQI 100-150)
- **差**: 雨雪天气,极端温度,空气污染(AQI > 150)
**出行建议**:
| 天气条件 | 建议 |
|----------|------|
| 降水概率 > 70% | 建议携带雨具 |
| 温差 > 10°C | 建议备好外套 |
| AQI > 100 | 建议佩...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.