weather

weather is a skill for Claude Code, Codex from trpc-group/trpc-agent-go. It costs 55 tokens per session (710 once invoked), scanned A, a copy of weather, Apache-2.0.

A weather lookup tool for current conditions and forecasts using a city, region, or airport code.

In plain words
What is it for?
Checking temperatures, rain, current conditions, and forecasts for today, tomorrow, or the week.
Why use it?
It provides weather information without requiring an API key or a dedicated weather app.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

About the project

tRPC-Agent-Go is a Go framework for building AI agent applications with language models, graph-based workflows, tools, memory, retrieval, evaluation, and observability. Go developers use it to create deployable agent systems that can integrate with A2A, AG-UI, and MCP. The catalogue add-ons provide reusable workflows and agent integrations for the framework.

trpc-group/trpc-agent-go · 1,763 stars · on GitHub · trpc-group.github.io

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/trpc-group/trpc-agent-go/weather
Any agent
npx skills add trpc-group/trpc-agent-go --skill weather
Clone the repo
git clone --depth 1 https://github.com/trpc-group/trpc-agent-go

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/trpc-group/trpc-agent-go/weather.svg)](https://agentmods.dev/skills/trpc-group/trpc-agent-go/weather)
Your own site
<a href="https://agentmods.dev/skills/trpc-group/trpc-agent-go/weather"><img src="https://agentmods.dev/badge/skills/trpc-group/trpc-agent-go/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 710 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 95% copy Near-identical to another mod 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.00055 $0.00710
Opus 5 $0.00028 $0.00355
Sonnet 5 $0.00011 $0.00142
Haiku 4.5 $0.00006 $0.00071

Measured 2d ago against content hash 0970f2a7ed28, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 2d 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: { "openclaw": { "emoji": "🌤️", "requires": { "bins": ["curl"] } } }
Origin

This is a copy

95% identical to weather — 27 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

openclaw/skills/weather/SKILL.md · 118 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

Units

  • Metric (recommended): add &m (°C, km/h)
  • US: add &u (°F, mph)

Current Weather

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

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

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

Forecasts

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

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

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

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&m"

"Will it rain?"

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

"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. 2d ago First seen · 118 lines · 55 tokens per session scan A 0970f2a7ed28

Subscribe to this mod's changes

weather is a skill published in the GitHub repository trpc-group/trpc-agent-go (1,763 stars, last pushed today), licensed Apache-2.0. It adds 55 tokens to every session and 710 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 95% identical to weather, differing in 27 lines, and is treated as a copy.

Related

Other skills, from other repositories

a2a-adapter

Use when building A2A Protocol agents, converting AI agents from any framework (LangChain, CrewAI, n8n, LangGraph, Ollama, or custom) into A2A-compatible servers, or working with the a2a-adapter Python SDK.

hybroai/a2a-adapter · 59 tokens

go

Idiomatic Go - package and interface design, error wrapping, table-driven tests, generics, the modern standard library (slices/maps/cmp/errors.Join), current syntax, and logging discipline. Use when writing, reviewing, or refactoring any Go code, especially code drifting toward Java/Spring shapes (deep layer trees…

inference-gateway/adk · 99 tokens

go-concurrency

Idiomatic Go concurrency - sync primitives, channel semantics, the select statement, and the standard channel patterns (cancellation/done-channel, fan-out/fan-in, pipeline, or-done, context, worker-pool). Use when writing or reviewing Go that spawns goroutines, shares state, or coordinates over channels, even if the…

inference-gateway/adk · 116 tokens

go-spec-reviewer

Review a Go design spec before implementation begins - dispatch a subagent that checks a design doc for completeness, consistency, and idiomatic Go (simplicity, small consumer-defined interfaces, explicit wrapped errors, context propagation). Use when a user has a Go spec to review, asks "is this spec ready?", or is…

inference-gateway/adk · 93 tokens

edgeone skill scanner

Scan any agent skill for security risks before you install or use it. Powered by Tencent Zhuque Lab A.I.G (AI-Infra-Guard). 100% local static analysis — no file contents or credentials leave your device. Compatible with CodeBuddy, Cursor, Windsurf, Claude Code, OpenClaw and more. Triggers on: 这个 skill 安全吗, skill 安全扫描…

Tencent/AI-Infra-Guard · 148 tokens

continual-learning

Nightly refinement of an existing per-repo review-style prompt using this reviewer's own finding outcomes. Read confirmed (resolved-by-commit / thumbs-up) and dismissed (thumbs-down) findings, promote the bug patterns the team actually fixes, demote the false-positive patterns, reconcile against the current prompt…

langchain-ai/open-swe · 89 tokens