fetch-weather-report

fetch-weather-report is a skill for Claude Code, Codex from prakhar1114/ai_mime. It costs 19 tokens per session (629 once invoked), scanned A, original, MIT.

A weather lookup tool that gets the current forecast for a named location and returns the place, temperature, and conditions in a structured format.

In plain words
What is it for?
Use it to retrieve weather for a city or country, choosing metric or imperial units. It runs from a Bash script and requires a prepared Python environment when building or repairing the skill.
Why use it?
It avoids manually checking a weather website and turning the result into data your program can use.

Skill for Claude CodeCodex

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

Good fit Use it to retrieve weather for a city or country, choosing metric or imperial units. It runs from a Bash script and requires a prepared Python environment when building or repairing the skill.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/prakhar1114/ai_mime/example_skill
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 prakhar1114/ai_mime --skill example_skill
Clone the repo
git clone --depth 1 https://github.com/prakhar1114/ai_mime

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 fetch-weather-report

README.md
[![agentmods](https://agentmods.dev/badge/skills/prakhar1114/ai_mime/example_skill/github.svg)](https://agentmods.dev/skills/prakhar1114/ai_mime/example_skill)
Your own site
<a href="https://agentmods.dev/skills/prakhar1114/ai_mime/example_skill"><img src="https://agentmods.dev/badge/skills/prakhar1114/ai_mime/example_skill/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 fetch-weather-report

Your own site · 80×15
<a href="https://agentmods.dev/skills/prakhar1114/ai_mime/example_skill"><img src="https://agentmods.dev/badge/skills/prakhar1114/ai_mime/example_skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 629 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00019 $0.00629
Opus 5.5 $0.00008 $0.00252
Sonnet 5.5 $0.00004 $0.00126
Haiku 4.5 $0.00002 $0.00063

Measured 1mo ago against content hash 4e3c690fcf4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fetch-weather-report 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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (run.sh, scripts/run.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

src/ai_mime/agent_runner/instructions/example_skill/SKILL.md · 62 lines

How it starts

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

Fetch Weather Report Skill

Inputs

  • location (required, string): The city and state/country to search weather for (e.g. "San Francisco, CA").
  • units (optional, string): The unit system to use, either "metric" or "imperial". Default is "metric".

Run

Run via the executable bash script:

./run.sh [path/to/inputs.json]

Python runtime contract:

  • run.sh uses the first available interpreter in this order: skill .venv/bin/python, workflow .venv/bin/python, then required $AI_MIME_PYTHON_PATH.
  • If requirements.txt exists, include these exact build/repair commands for the developer to set up the virtualenv before packaging or for manual troubleshooting:
    "$AI_MIME_UV_PATH" venv .venv --python "$AI_MIME_PYTHON_PATH"
    "$AI_MIME_UV_PATH" pip install -r requirements.txt --python .venv/bin/python
    
  • State clearly that the install commands are for skill build or manual repair. The automated runtime does not create or repair .venv when executing the skill.

Outputs

  • weather_summary (dict):
    • location (string): Resolved location name.
    • temperature (float): Current temperature.
    • condition (string): Weather condition description.

Progress logs

The script outputs progress logs on stderr to track execution progress. All logs must be written in clear, natural language suitable for an end-user overlay. Do not use structured JSON logs.

  • "Fetching weather from API..."
  • "It is sunny with 18.5 C"
  • "Error: API timeout"

Fallback

If the weather API fails or is unreachable, the execution falls back to performing a Google search for current weather and scraping the temperature using browser_harness. See references/fallback_plan.md for manual or automated fallback instructions.

ask_llm decision points

  1. Weather Condition Parsing: If the weather condition string returned by the API is fuzzy, the script calls ask_llm to categorize the weather condition into standard types ("Sunny", "Cloudy", "Rainy", "Snowy", "Unknown").
    from llm_resolver import ask_llm
    decision = ask_llm(
        prompt=f"Categorize this weather description: '{raw_desc}'",
        schema={
            "type": "object",
            "properties": {
                "category": {"type": "string", "enum": ["Sunny", "Cloudy", "Rainy", "Snowy", "Unknown"]}
            },
            "required": ["category"]
        }
    )
    

Read the full file on GitHub · 62 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 62 lines · 19 tokens per session scan A 4e3c690fcf4c

Subscribe to this mod's changes

fetch-weather-report is a skill published in the GitHub repository prakhar1114/ai_mime (62 stars, last pushed 2mo ago), licensed MIT. It adds 19 tokens to every session and 629 once invoked, about $0.0001 per session on Opus 5.5. 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-30.

Related

Other skills, from other repositories

macos-harness

Read and operate the apps on this Mac from the shell. Use it when a task needs an app's UI and no API, CLI or purpose-built tool can do it.

browser-use/macos-harness · 40 tokens

wx-favorites-report

A workflow that decrypts and reads WeChat’s local Favorites database, then creates an interactive HTML report. WeChat is a messaging app whose saved items can include collected content.

zhuyansen/wx-favorites-report · 81 tokens

host-computer-use

Beta desktop control through the connected A0 CLI host. Use for the user's host/local computer screenshots, screen inspection, menus, native app UI, OS-level clicking, scrolling, typing, or checking computeruseremote status. Use instead of linux-desktop for host/local machine control. Do not use for ordinary browser…

agent0ai/agent-zero · 78 tokens

document-editing

Edit and format existing documents in native or web document editors through Hunch, using precise selections and incremental in-document changes.

PrithviSeran/hunch-mcp · 28 tokens

nova-grounding

AX-first reading and grounded activation workflow for Nova desktop automation on macOS and Windows. Use for reading UI, clicking controls, OCR fallback, screenshots, and coordinate input without guessing.

bigduu/Nova · 40 tokens

programming-swift

Provides the complete content of 'The Swift Programming Language (6.4)' book by Apple. Use this skill when you need to verify Swift syntax, look up language features, understand concurrency, resolve compiler errors, or consult the formal language reference.

kylehughes/the-unofficial-swift-programming-language-skill · 54 tokens