10-of-my-most-popular-text-to-image-series-prompts-78b0897e
generate a bunch of images, then you curate the results to handpick the best ones
天气查询与预报(query_weather)
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install congwupiece/free-weather-api打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
为用户提供准确、及时的天气信息查询服务,帮助用户了解目标地区的天气状况,为出行、活动安排等提供决策依据。
| 输入 | 来源 | 说明 |
|---|---|---|
| location | 用户指定 | 城市或地区名称,如"北京"、"上海浦东" |
| days | 用户指定(可选) | 预报天数,默认为当天,可选1-7天 |
| details | 用户指定(可选) | 是否需要详细信息(空气质量、紫外线等) |
工具: query_weather
参数: location — 地区名称; days — 预报天数; details — 是否详细
调用示例:
query_weather(location="北京", days=3, details=true)
预期返回:
{
"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": []
}
执行方式: Agent 推理
Agent 根据天气数据,提供以下分析:
天气状况分类:
出行建议:
| 天气条件 | 建议 |
|---|---|
| 降水概率 > 70% | 建议携带雨具 |
| 温差 > 10°C | 建议备好外套 |
| AQI > 100 | 建议佩... |
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# 查天气
## 目的
为用户提供准确、及时的天气信息查询服务,帮助用户了解目标地区的天气状况,为出行、活动安排等提供决策依据。
## 前置条件
- 明确查询的城市或地区名称
- 确定查询的时间范围(实时/未来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 | 建议佩...generate a bunch of images, then you curate the results to handpick the best ones
generate a bunch of images, then you curate the results to handpick the best ones
Productivity system based on Maya calendar with 13 natural tones for project management and personal development
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.