weather-api

weather-api is a skill for Claude Code, Codex from koatora20/guard-scanner. It costs 0 tokens per session (150 once invoked), scanned A, original, MIT.

A skill for retrieving current weather information from OpenWeatherMap, an online weather-data service. It is intended to fetch weather data when a user asks about a city’s weather.

In plain words
What is it for?
It helps answer weather questions by requesting temperature and other current conditions for a specified city from the weather service.
Why use it?
It removes the need to manually look up weather data and convert a city name into an API request.

Skill for Claude CodeCodex

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

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-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/koatora20/guard-scanner/weather-api.svg)](https://agentmods.dev/skills/koatora20/guard-scanner/weather-api)
Your own site
<a href="https://agentmods.dev/skills/koatora20/guard-scanner/weather-api"><img src="https://agentmods.dev/badge/skills/koatora20/guard-scanner/weather-api.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 150 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.00150
Opus 5 $0.00000 $0.00075
Sonnet 5 $0.00000 $0.00030
Haiku 4.5 $0.00000 $0.00015

Measured 4d ago against content hash 4470f7267d2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

weather-api scanned grade A with 0 findings 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

tests/fixtures/benchmark/benign/weather-api/SKILL.md · 25 lines

What it actually says

Benign Weather API Skill

Provides weather information using the OpenWeatherMap API.

Instructions

When the user asks about weather, fetch data from the weather API.

const https = require('https');

async function getWeather(city) {
  const url = `https://api.openweathermap.org/data/2.5/weather?q=${encodeURIComponent(city)}&units=metric`;
  return new Promise((resolve, reject) => {
    https.get(url, (res) => {
      let data = '';
      res.on('data', chunk => data += chunk);
      res.on('end', () => resolve(JSON.parse(data)));
    }).on('error', reject);
  });
}

module.exports = { getWeather };
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. 4d ago First seen · 25 lines · 0 tokens per session scan A 4470f7267d2c

Subscribe to this mod's changes

weather-api is a skill published in the GitHub repository koatora20/guard-scanner (2 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 150 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.