Agent Skills
› FrancyJGLisboa/agent-skill-creator
› live-weather-briefing-skill
live-weather-briefing-skill
GitHub通过调用Open-Meteo API获取指定城市的实时天气简报,包含气温、风速等数据及来源链接。适用于查询当前天气状况,不处理历史数据或安全决策。
触发场景
查询某城市当前天气
生成特定地点的天气简报
安装
npx skills add FrancyJGLisboa/agent-skill-creator --skill live-weather-briefing-skill -g -y
SKILL.md
Frontmatter
{
"name": "live-weather-briefing-skill",
"license": "MIT",
"metadata": {
"author": "agent-skill-creator",
"created": 1787788800,
"version": "1.0.0",
"dependencies": [
{
"url": "https:\/\/geocoding-api.open-meteo.com\/v1\/search",
"name": "Open-Meteo Geocoding API",
"type": "service"
},
{
"url": "https:\/\/api.open-meteo.com\/v1\/forecast",
"name": "Open-Meteo Forecast API",
"type": "service"
}
],
"last_reviewed": 1787788800,
"review_interval_days": 30
},
"activation": "\/live-weather-briefing-skill",
"provenance": {
"created": 1787788800,
"version": "1.0.0",
"maintainer": "agent-skill-creator",
"source_references": [
"https:\/\/open-meteo.com\/en\/docs\/geocoding-api",
"https:\/\/open-meteo.com\/en\/docs"
]
},
"description": "Create a current, source-linked weather briefing for a named city using the Open-Meteo geocoding and forecast APIs. Activate for requests such as \"what is the weather in Sao Paulo?\", \"prepare a current weather briefing for Tokyo\", or \"get today's live conditions for New York\". Do not use for travel booking, weather alerts, historical climatology, or safety-critical decisions."
}
/live-weather-briefing-skill
Create a current weather briefing for one city. Resolve the city through Open-Meteo's geocoding API, then retrieve current conditions from its forecast API. Always show the resolved location, observation time, and source URLs.
Run
python3 scripts/run_pipeline.py --city "Sao Paulo, BR" --output briefing.md
The command makes two live, read-only API requests and writes a Markdown briefing. It never books travel, sends alerts, or changes external data.
Required behavior
- Use the first exact geocoding result and show its country and coordinates.
- Retrieve current temperature, apparent temperature, wind speed, weather code, and observation time.
- State that weather is advisory and include the source URLs.
- If a city cannot be resolved or an API response is incomplete, stop with an error; do not invent conditions.
Gotchas
- Current conditions are model data, not a safety alert. Check local official warnings before decisions involving risk.
- A city name can be ambiguous. Include a country or region in the request when the city is not unique.
- Conditions change after retrieval; the briefing's observation time identifies the freshness of this result.
References
版本历史
- 7f6bae2 当前 2026-08-28 13:33


