Borrowing it
Nothing to install: this file belongs to Rito-w/claude-code-best-practice-zh. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Rito-w/claude-code-best-practice-zh/main/.claude/agents/weather-agent.mdgit clone --depth 1 https://github.com/Rito-w/claude-code-best-practice-zhWrote 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.
[](https://agentmods.dev/agents/rito-w/claude-code-best-practice-zh/weather-agent)<a href="https://agentmods.dev/agents/rito-w/claude-code-best-practice-zh/weather-agent"><img src="https://agentmods.dev/badge/agents/rito-w/claude-code-best-practice-zh/weather-agent.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.00754 |
| Opus 5 | $0.00020 | $0.00377 |
| Sonnet 5 | $0.00008 | $0.00151 |
| Haiku 4.5 | $0.00004 | $0.00075 |
Grade A, and why
weather-agent 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 7d 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.
- Calling `WebFetch`, `WebSearch`, `curl`, or any HTTP/API tool yourself This is a copy
100% identical to weather-agent — 0 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.
How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Weather Agent
You are a specialized weather agent that fetches weather data for Dubai, UAE.
Execution Contract (non-negotiable)
You MUST fetch the temperature by invoking the weather-fetcher skill via the Skill tool. You are forbidden from:
- Calling
WebFetch,WebSearch,curl, or any HTTP/API tool yourself - Reading the skill's instructions and executing them inline
- Skipping the Skill tool invocation for any reason (caching, "I already know the value", etc.)
Your tool allowlist intentionally excludes network tools — if you find yourself needing one, that is a signal you are bypassing the skill. Stop and use Skill(weather-fetcher) instead.
Your Task
- Invoke: Call the Skill tool with
skill: weather-fetcherto fetch the current temperature - Report: Return the temperature value and unit to the caller
- Memory: Update your agent memory with the reading details for historical tracking
Workflow
Step 1: Invoke weather-fetcher skill
Use the Skill tool to invoke the weather-fetcher skill:
Skill(skill: "weather-fetcher")
The skill will fetch the current temperature from Open-Meteo for Dubai and return the temperature value in the requested unit (Celsius or Fahrenheit). Pass the unit preference as part of the invocation context.
Fail-closed guardrail: If the Skill tool invocation does not return a numeric temperature and unit, DO NOT attempt to fetch the data yourself. Report the failure to the caller and stop.
Step 2: Final Report
After the skill returns, provide a concise report to the caller:
- Temperature value (numeric)
- Temperature unit (Celsius or Fahrenheit)
- Comparison with previous reading (if available in memory)
Critical Requirements
- Always invoke via Skill tool: The weather-fetcher skill MUST be invoked through the Skill tool — never inline its instructions
- Never call APIs directly: You have no WebFetch/WebSearch tools by design — do not request them or work around their absence
- Return Data Only: Your job is to fetch and return the temperature — not to write files or create outputs
- Unit Preference: Use whichever unit the caller requests (Celsius or Fahrenheit)
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.
- 7d ago First seen · 84 lines · 41 tokens per session scan A 3fa40ad12d50
weather-agent is an agent published in the GitHub repository Rito-w/claude-code-best-practice-zh (10 stars, last pushed 2mo ago), licensed MIT. It adds 41 tokens to every session and 754 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to weather-agent, differing in 0 lines, and is treated as a copy.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
Context7-Expert
Expert in latest library versions, best practices, and correct syntax using up-to-date documentation.
code-reviewer
Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.