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

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/prakhar1114/ai_mime/example_skill
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.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.svg" alt="Measured on agentmods" 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. 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.1 $0.00019 $0.00629
Opus 5 $0.00010 $0.00315
Sonnet 5 $0.00004 $0.00126
Haiku 4.5 $0.00002 $0.00063

Measured 5d ago against content hash 4e3c690fcf4c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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. 5d 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 (56 stars, last pushed 15d ago), licensed MIT. It adds 19 tokens to every session and 629 once invoked, about $0.0001 per session on Opus 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

Control a whole Mac from one persistent Python session with screenshots, PID-targeted input, an animated virtual pointer, targeted Apple Accessibility, Apple Events, Browser Harness CDP, and filesystem access. Use for native, Electron, browser, dialog, file, or cross-app tasks without moving the physical cursor or…

browser-use/macos-harness · 71 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

omnigraffle

Generate native OmniGraffle .graffle files programmatically. Use this skill whenever the user asks to create, build, or generate an OmniGraffle diagram, network diagram, architecture diagram, flowchart, or any visual diagram that should be saved as a .graffle file. Also trigger when the user mentions "OmniGraffle"…

openanvil/omnigraffle-generator · 211 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

computer-use

Windows 桌面自动化执行规则。使用 screeninteractor 观察与操作原生桌面应用。.

Plocr/Reasonix-computer-use · 23 tokens

screenclaw

用“截图 + 坐标网格”的方式操作任意桌面软件:截带网格的图,让任意多模态大模型读出目标的坐标数字,再调用点击/输入/按键等 API ,模拟人类视觉化操作软件。还能录制一次操作并沉淀成可复用的场景模板,下次直接复用。不依赖目标软件提供 API 或 CLI。 出现以下情况时使用: - 自动化操作 Windows 桌面软件(微信、风控严格的网页如小红书/抖音、手机模拟器、游戏、任意 Windows 程序),尤其是 Playwright/CDP/CLI/应用 API 无法覆盖的软件或元素(如隐藏按钮、游戏画面、验证码等) - 用户说“帮我操作/点/输入 XX”“自动操作…

GinSing1226/ScreenClaw · 298 tokens