weather

weather is a skill for Claude Code, Codex from gabrielmoreira/agent-skills-mirror. It costs 91 tokens per session (918 once invoked), scanned A, original, MIT.

A weather lookup skill that uses the Open-Meteo service to find current conditions and forecasts for cities worldwide.

In plain words
What is it for?
Checking temperature, feels-like temperature, humidity, rain, wind, and a seven-day forecast for a city, along with optional clothing or travel advice.
Why use it?
It avoids manually checking a weather website or converting a city name into map coordinates. It provides weather details and forecasts in one response.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Checking temperature, feels-like temperature, humidity, rain, wind, and a seven-day forecast for a city, along with optional clothing or travel advice.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gabrielmoreira/agent-skills-mirror/weather
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gabrielmoreira/agent-skills-mirror --skill weather
Clone the repo
git clone --depth 1 https://github.com/gabrielmoreira/agent-skills-mirror

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for weather

README.md
[![agentmods](https://agentmods.dev/badge/skills/gabrielmoreira/agent-skills-mirror/weather/github.svg)](https://agentmods.dev/skills/gabrielmoreira/agent-skills-mirror/weather)
Your own site
<a href="https://agentmods.dev/skills/gabrielmoreira/agent-skills-mirror/weather"><img src="https://agentmods.dev/badge/skills/gabrielmoreira/agent-skills-mirror/weather/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for weather

Your own site · 80×15
<a href="https://agentmods.dev/skills/gabrielmoreira/agent-skills-mirror/weather"><img src="https://agentmods.dev/badge/skills/gabrielmoreira/agent-skills-mirror/weather.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 918 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 31
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.00918
Opus 5 $0.00046 $0.00459
Sonnet 5 $0.00018 $0.00184
Haiku 4.5 $0.00009 $0.00092

Measured 9d ago against content hash 4e32b0bce965, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

weather scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "https://geocoding-api.open-meteo.com/v1/search?name=Beijing&count=1&language=zh"
mirrors/repos/AgentTeam-TaichuAI@ScienceClaw/Skills/weather/SKILL.md · 85 lines

What it actually says

Weather — 天气查询与预报

使用免费的 Open-Meteo API 查询实时天气和 7 天预报,无需 API Key。

工作流程

1. 解析城市

从用户消息中提取城市名。如果未指定城市,询问用户或使用上次查询的城市(检查 CONTEXT.md)。

2. 获取坐标

使用 Open-Meteo Geocoding API 将城市名转为经纬度:

curl -s "https://geocoding-api.open-meteo.com/v1/search?name=Beijing&count=1&language=zh"

从返回的 JSON 中提取 latitude, longitude, name, country

3. 查询天气

实时天气 + 7天预报(一次请求全部获取):

curl -s "https://api.open-meteo.com/v1/forecast?latitude={lat}&longitude={lon}&current=temperature_2m,relative_humidity_2m,apparent_temperature,precipitation,weather_code,wind_speed_10m,wind_direction_10m&daily=weather_code,temperature_2m_max,temperature_2m_min,precipitation_sum,precipitation_probability_max,wind_speed_10m_max&timezone=auto&forecast_days=7"

4. 解读天气代码

weather_code 转为可读文字:

Code 天气 Code 天气
0 晴天 ☀️ 51-55 毛毛雨 🌧️
1-3 多云 ⛅ 61-65 雨 🌧️
45-48 雾 🌫️ 71-77 雪 ❄️
80-82 阵雨 🌦️
95-99 雷暴 ⛈️

5. 回复用户

用自然语言回复,包含:

实时天气

  • 城市名 + 当前温度 + 体感温度
  • 天气状况(晴/多云/雨等)
  • 湿度 + 风速风向
  • 降水量(如果有)

未来预报(按用户需求,默认 3 天):

  • 每天:最高/最低温度 + 天气 + 降水概率

实用建议(可选):

  • 穿衣建议(基于温度和风速)
  • 出行建议(基于降水概率)
  • 紫外线提醒(晴天高温时)

回复示例

🌤️ 北京今日天气

当前温度 22°C(体感 20°C),多云,湿度 45%,东南风 12 km/h。

📅 未来三天预报:
• 明天(周二):晴,18-26°C,降水概率 5%
• 后天(周三):多云转阴,15-22°C,降水概率 35%
• 大后天(周四):小雨,12-18°C,降水概率 80%

💡 建议:今天适合外出,明天气温回升可穿薄外套。周四建议带伞。

注意事项

  • Open-Meteo 免费无限制,无需 API Key
  • 温度单位默认摄氏度,如用户要求可切换华氏度(加 &temperature_unit=fahrenheit
  • 如果 geocoding 返回多个结果,选第一个(最相关),必要时确认
  • 对中文城市名,geocoding 参数加 &language=zh 获得中文结果
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 85 lines · 91 tokens per session scan A 4e32b0bce965

Subscribe to this mod's changes

weather is a skill published in the GitHub repository gabrielmoreira/agent-skills-mirror (17 stars, last pushed yesterday), licensed MIT. It adds 91 tokens to every session and 918 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens