weather

weather is a skill for Claude Code, Codex from HKUDS/nanobot. It costs 8 tokens per session (545 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 · 49,304 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 8 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 545 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.00008 $0.00545
Opus 5.5 $0.00003 $0.00218
Sonnet 5.5 $0.00002 $0.00109
Haiku 4.5 $0.00001 $0.00055

Measured 8d ago against content hash 5f0a17119b12, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 8d 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. 8d ago Changed · -5 tokens per session 5f0a17119b12
  2. 1mo 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 (49,304 stars, last pushed today), licensed MIT. It adds 8 tokens to every session and 545 once invoked, about $0.0000 per session on Opus 5.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.

Related

Other skills, from other repositories

agenticx-custom-project

A project guide for building applications with AgenticX, an agent-building platform, and deciding whether a bug or feature belongs in your own repository or the platform's upstream repository. It also covers drafting issues and pull requests.

DemonDamon/AgenticX · 115 tokens

connector-assistant

A conversation skill for creating and managing connectors, which link external systems such as APIs, remote tool servers, or databases to an agent. It distinguishes these connections from separate agent identities and ordinary tool installations.

DemonDamon/AgenticX · 110 tokens

agenticx-query-data-source

Use when the user asks about verifiable quantitative facts (stock prices, financial indicators, macro data, company registry, academic metrics, legal statutes) that must come from a live data source rather than training memory.

DemonDamon/AgenticX · 49 tokens

agenticx-a2a-connector

Guide for using the A2A (Agent-to-Agent) communication protocol in AgenticX including agent discovery, skill invocation, remote agent cards, and distributed agent systems. Use when the user wants agents to communicate with each other, set up distributed agent systems, invoke remote agent skills, or build…

DemonDamon/AgenticX · 73 tokens

agenticx-memory-architect

Guide for setting up and using the AgenticX memory system including Mem0 integration, long-term memory, context management, and memory-enhanced agents. Use when the user wants to add memory to agents, persist conversation history, build memory-aware workflows, or integrate with Mem0 for long-term recall.

DemonDamon/AgenticX · 67 tokens

agenticx-workflow-designer

Guide for designing and running AgenticX workflows including sequential pipelines, parallel execution, graph-based orchestration, conditional routing, and trigger services. Use when the user wants to create workflows, orchestrate multiple agents, design agent pipelines, or set up complex multi-step processes.

DemonDamon/AgenticX · 62 tokens