weather

weather is a skill for Claude Code, Codex from sipeed/picoclaw. It costs 17 tokens per session (726 once invoked), scanned A, original, MIT.

A weather skill for finding current conditions and forecasts for a specific location, with checks to ensure the city or region is matched correctly.

In plain words
What is it for?
Use it to retrieve current weather and forecasts, confirm the exact location, and report conditions with the appropriate local time zone.
Why use it?
It reduces errors caused by cities sharing the same name and reports the matched place and observation time alongside the weather information.

Skill for Claude CodeCodex

About the project

PicoClaw is a lightweight personal AI assistant written in Go and designed to run on compact, resource-constrained hardware. People use it as a deployable assistant for automating everyday tasks, with development still in an early stage. The catalogue skills extend how coding agents work with PicoClaw.

sipeed/picoclaw · 29,937 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/sipeed/picoclaw/weather
Any agent
npx skills add sipeed/picoclaw --skill weather
Clone the repo
git clone --depth 1 https://github.com/sipeed/picoclaw

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/sipeed/picoclaw/weather.svg)](https://agentmods.dev/skills/sipeed/picoclaw/weather)
Your own site
<a href="https://agentmods.dev/skills/sipeed/picoclaw/weather"><img src="https://agentmods.dev/badge/skills/sipeed/picoclaw/weather.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 726 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.00017 $0.00726
Opus 5 $0.00009 $0.00363
Sonnet 5 $0.00003 $0.00145
Haiku 4.5 $0.00002 $0.00073

Measured 5d ago against content hash 416c125afb7d, 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.

metadata: {"nanobot":{"emoji":"🌤️","requires":{"bins":["curl"]}}}
Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • weather — 100% identical, 0 lines differ
  • weather — 92% identical, 2 lines differ
workspace/skills/weather/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Weather

Use the most reliable location match first. For Chinese city names or other non-Latin input, prefer wttr.in with the original query because it resolves native names directly. Use Open-Meteo for structured current conditions and forecasts only after you have confirmed the exact city.

Accuracy Rules

  • Always restate the matched location, region/country, and observation time in the final answer.
  • Do not trust the first geocoding hit blindly. Check country, admin1, admin2, and population.
  • For Chinese city queries, do not send Hanzi directly to Open-Meteo geocoding unless the top result is obviously correct. Prefer wttr.in with the original Chinese name, or geocode the English/pinyin city name instead.
  • If multiple plausible matches remain, ask a follow-up question or state the assumption clearly.
  • Use timezone=auto when calling Open-Meteo so the reported time matches the location.

wttr.in (best for direct city-name queries)

Quick current conditions:

curl -s "https://wttr.in/London?format=%l:+%c+%t+%h+%w"

Chinese city example:

curl -s "https://wttr.in/%E6%88%90%E9%83%BD?format=%l:+%c+%t+%h+%w"
curl -s "https://wttr.in/%E4%B8%8A%E6%B5%B7?format=%l:+%c+%t+%h+%w"

JSON output if you need more detail:

curl -s "https://wttr.in/Chengdu?format=j1"

Tips:

  • URL-encode spaces: New York -> New+York
  • URL-encode non-ASCII text before sending the request
  • Use ?m for metric units and ?u for US units

Open-Meteo (best for structured forecasts)

  1. Geocode the city and verify the returned location metadata:
curl -s "https://geocoding-api.open-meteo.com/v1/search?name=Chengdu&count=3&language=en&format=json"
  1. Query current weather and today's forecast with the verified coordinates:
curl -s "https://api.open-meteo.com/v1/forecast?latitude=30.66667&longitude=104.06667&current=temperature_2m,relative_humidity_2m,weather_code,wind_speed_10m&daily=weather_code,temperature_2m_max,temperature_2m_min&forecast_days=1&timezone=auto"

Read the full file on GitHub · 60 lines

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 · 60 lines · 17 tokens per session scan A 416c125afb7d

Subscribe to this mod's changes

weather is a skill published in the GitHub repository sipeed/picoclaw (29,937 stars, last pushed yesterday), licensed MIT. It adds 17 tokens to every session and 726 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.

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

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens