Agent Skills
› FrancyJGLisboa/agent-skills-platform
› live-weather-briefing-skill
live-weather-briefing-skill
GitHub根据城市名调用 Open-Meteo API 生成包含来源链接的实时天气简报,支持地理编码与当前气象数据获取。
Trigger Scenarios
查询某地当前天气
请求特定城市的天气简报
Install
npx skills add FrancyJGLisboa/agent-skills-platform --skill live-weather-briefing-skill -g -y
SKILL.md
Frontmatter
{
"name": "live-weather-briefing-skill",
"license": "MIT",
"metadata": {
"author": "agent-skills-platform",
"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-skills-platform",
"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
Version History
- 46191ce Current 2026-09-09 10:13
- 7f6bae2 2026-08-28 13:33


