Agent SkillsFrancyJGLisboa/agent-skill-creator › live-weather-briefing-skill

live-weather-briefing-skill

GitHub

基于Open-Meteo API生成指定城市的实时天气简报,包含位置、观测时间及来源链接,适用于查询当前天气状况的场景。

references/examples/live-weather-briefing-skill/SKILL.md FrancyJGLisboa/agent-skill-creator

触发场景

查询某城市当前天气 获取特定地点的实时气象数据

安装

npx skills add FrancyJGLisboa/agent-skill-creator --skill live-weather-briefing-skill -g -y
更多选项

非标准路径

npx skills add https://github.com/FrancyJGLisboa/agent-skill-creator/tree/main/references/examples/live-weather-briefing-skill -g -y

不安装直接使用

npx skills use FrancyJGLisboa/agent-skill-creator@live-weather-briefing-skill

指定 Agent (Claude Code)

npx skills add FrancyJGLisboa/agent-skill-creator --skill live-weather-briefing-skill -a claude-code -g -y

安装 repo 全部 skill

npx skills add FrancyJGLisboa/agent-skill-creator --all -g -y

预览 repo 内 skill

npx skills add FrancyJGLisboa/agent-skill-creator --list

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

  1. Use the first exact geocoding result and show its country and coordinates.
  2. Retrieve current temperature, apparent temperature, wind speed, weather code, and observation time.
  3. State that weather is advisory and include the source URLs.
  4. 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.
  • Treat a trailing two-letter country code as a geographic qualifier, not part of the city name.
  • Treat a trailing two-letter country code as a geographic qualifier, not part of the city name.
  • Treat a trailing two-letter country code as a geographic qualifier, not part of the city name.

References

版本历史

  • 7f6bae2 当前 2026-08-28 13:33

同 Skill 集合

.agents/skills/live-weather-briefing-skill/SKILL.md
references/examples/github-release-briefing-skill/SKILL.md
references/examples/pr-blocker-summarizer/SKILL.md
references/examples/stock-analyzer/SKILL.md
references/examples/weekly-crm-report/SKILL.md

元信息

文件数
0
版本
7f6bae2
Hash
cb963269
收录时间
2026-08-28 13:33

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-04 07:26
浙ICP备14020137号-1 $访客地图$