weather

weather is a skill for Claude Code, Codex from HKUDS/nanobot. It costs 13 tokens per session (550 once invoked), scanned A, original, MIT.

A skill for retrieving current weather conditions and forecasts for a location. It uses free services and does not require an API key.

In plain words
What is it for?
Checking current conditions, today's weather, and multi-day forecasts in metric or US units.
Why use it?
It provides weather information without requiring account setup or paid weather data access.

Skill for Claude CodeCodex

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

Good fit Checking current conditions, today's weather, and multi-day forecasts in metric or US units.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hkuds/nanobot/weather
About the project

nanobot is a small, self-hosted personal AI agent framework written in Python, providing an agent runtime that can operate through a WebUI, terminal, or chat applications. Users use it to connect language models with tools, memory, MCP integrations, scheduled automation, and multi-agent workflows. The catalogue add-ons provide skills and instructions for working with nanobot.

HKUDS/nanobot · 47,925 stars · on GitHub · nanobot.wiki

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 HKUDS/nanobot --skill weather
Clone the repo
git clone --depth 1 https://github.com/HKUDS/nanobot

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/hkuds/nanobot/weather/github.svg)](https://agentmods.dev/skills/hkuds/nanobot/weather)
Your own site
<a href="https://agentmods.dev/skills/hkuds/nanobot/weather"><img src="https://agentmods.dev/badge/skills/hkuds/nanobot/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/hkuds/nanobot/weather"><img src="https://agentmods.dev/badge/skills/hkuds/nanobot/weather.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 550 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
  • Snyk pass 7 Sept 2026
  • 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 61
    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.00013 $0.00550
Opus 5 $0.00006 $0.00275
Sonnet 5 $0.00003 $0.00110
Haiku 4.5 $0.00001 $0.00055

Measured 10d ago against content hash 964e97c904e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 10d 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.

metadata: {"nanobot":{"emoji":"🌤️","requires":{"bins":["curl"]}}}
nanobot/skills/weather/SKILL.md · 67 lines

What it actually says

Weather

Two free services, no API keys needed.

wttr.in (primary)

Choose one request that matches the user's scope. Do not fetch current conditions separately when a today or forecast request already includes them.

Platform notes:

  • On Windows PowerShell, use curl.exe; bare curl may resolve to Invoke-WebRequest.
  • On macOS and Linux, use curl.

Current conditions only:

curl -s "https://wttr.in/London?format=3"
# Output: London: ⛅️ +8°C

Custom current conditions format:

curl -s "https://wttr.in/London?format=%l:+%c+%t+%h+%w"
# Output: London: ⛅️ +8°C 71% ↙5km/h

Today's weather, including current conditions (use this single request for questions about today's weather):

curl -s "https://wttr.in/London?1&m"

Full forecast:

curl -s "https://wttr.in/London?T&m"

On Windows PowerShell, replace curl with curl.exe in the commands above.

Format codes: %c condition · %t temp · %h humidity · %w wind · %l location · %m moon

Tips:

  • URL-encode spaces: wttr.in/New+York
  • Airport codes: wttr.in/JFK
  • Units: ?m (metric) ?u (USCS)
  • Today only: ?1 · Current only: ?0
  • PNG (macOS/Linux): curl -s "https://wttr.in/Berlin.png" -o weather.png
  • PNG (Windows PowerShell): curl.exe -s "https://wttr.in/Berlin.png" -o weather.png

Open-Meteo (fallback, JSON)

Free, no key, good for programmatic use:

curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12&current_weather=true"

Find coordinates for a city, then query. Returns JSON with temp, windspeed, weathercode.

Docs: https://open-meteo.com/en/docs

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. 10d ago First seen · 67 lines · 13 tokens per session scan A 964e97c904e9

Subscribe to this mod's changes

weather is a skill published in the GitHub repository HKUDS/nanobot (47,925 stars, last pushed today), licensed MIT. It adds 13 tokens to every session and 550 once invoked, about $0.0001 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.