weather

weather is a skill for Claude Code, Codex from the-open-agent/openagent. It costs 55 tokens per session (659 once invoked), scanned A, original, Apache-2.0.

A weather lookup skill that provides current conditions and forecasts for a named city, region, or airport using wttr.in or Open-Meteo. It does not cover historical weather, severe alerts, or detailed meteorology.

In plain words
What is it for?
Use it to check temperatures, rain, current conditions, and forecasts for travel or everyday planning.
Why use it?
It avoids manually checking separate weather websites when you need a current outlook or short forecast.

Skill for Claude CodeCodex

About the project

OpenAgent is a self-hostable personal AI assistant that combines language models, document-based retrieval, and autonomous agent loops. It lets people connect model providers and their own knowledge bases, then have agents browse the web, run code, use computers, and call MCP-compatible tools.

the-open-agent/openagent · 5,599 stars · on GitHub

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.

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

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/the-open-agent/openagent/weather.svg)](https://agentmods.dev/skills/the-open-agent/openagent/weather)
Your own site
<a href="https://agentmods.dev/skills/the-open-agent/openagent/weather"><img src="https://agentmods.dev/badge/skills/the-open-agent/openagent/weather.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 659 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00055 $0.00659
Opus 5 $0.00028 $0.00329
Sonnet 5 $0.00011 $0.00132
Haiku 4.5 $0.00006 $0.00066

Measured 5d ago against content hash 48a805ff48c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

"requires": { "bins": ["curl"] }
Origin

Copies of this mod

8 near-identical copies found in the catalogue:

  • weather — 97% identical, 8 lines differ
  • weather — 97% identical, 6 lines differ
  • weather — 95% identical, 6 lines differ
  • weather — 95% identical, 6 lines differ
  • weather — 95% identical, 5 lines differ
  • weather — 95% identical, 27 lines differ
  • weather — 95% identical, 5 lines differ
  • weather — 94% identical, 6 lines differ
skills/weather/SKILL.md · 117 lines

What it actually says

Weather Skill

Get current weather conditions and forecasts.

When to Use

USE this skill when:

  • "What's the weather?"
  • "Will it rain today/tomorrow?"
  • "Temperature in [city]"
  • "Weather forecast for the week"
  • Travel planning weather checks

When NOT to Use

DON'T use this skill when:

  • Historical weather data → use weather archives/APIs
  • Climate analysis or trends → use specialized data sources
  • Hyper-local microclimate data → use local sensors
  • Severe weather alerts → check official NWS sources
  • Aviation/marine weather → use specialized services (METAR, etc.)

Location

Always include a city, region, or airport code in weather queries.

Commands

Current Weather

# One-line summary
curl "wttr.in/London?format=3"

# Detailed current conditions
curl "wttr.in/London?0"

# Specific city
curl "wttr.in/New+York?format=3"

Forecasts

# 3-day forecast
curl "wttr.in/London"

# Week forecast
curl "wttr.in/London?format=v2"

# Specific day (0=today, 1=tomorrow, 2=day after)
curl "wttr.in/London?1"

Format Options

# One-liner
curl "wttr.in/London?format=%l:+%c+%t+%w"

# JSON output
curl "wttr.in/London?format=j1"

# PNG image
curl "wttr.in/London.png"

Format Codes

  • %c — Weather condition emoji
  • %t — Temperature
  • %f — "Feels like"
  • %w — Wind
  • %h — Humidity
  • %p — Precipitation
  • %l — Location

Quick Responses

"What's the weather?"

curl -s "wttr.in/London?format=%l:+%c+%t+(feels+like+%f),+%w+wind,+%h+humidity"

"Will it rain?"

curl -s "wttr.in/London?format=%l:+%c+%p"

"Weekend forecast"

curl "wttr.in/London?format=v2"

Notes

  • No API key needed (uses wttr.in)
  • Rate limited; don't spam requests
  • Works for most global cities
  • Supports airport codes: curl wttr.in/ORD
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. 5d ago First seen · 117 lines · 55 tokens per session scan A 48a805ff48c6

Subscribe to this mod's changes

weather is a skill published in the GitHub repository the-open-agent/openagent (5,599 stars, last pushed yesterday), licensed Apache-2.0. It adds 55 tokens to every session and 659 once invoked, about $0.0003 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-08-30.