claude-code-best-practice is a repository of agents, commands, skills, hooks, plugins, and configuration guidance for Claude Code. It helps developers organize repeatable workflows and apply agentic engineering practices, including in monorepos. The catalogue entries are its reusable Claude Code workflow components.
Borrowing it
Nothing to install: this file belongs to shanraisshan/claude-code-best-practice. 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/shanraisshan/claude-code-best-practice/main/.claude/agents/weather-agent.mdgit clone --depth 1 https://github.com/shanraisshan/claude-code-best-practiceWrote 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/shanraisshan/claude-code-best-practice/weather-agent)<a href="https://agentmods.dev/agents/shanraisshan/claude-code-best-practice/weather-agent"><img src="https://agentmods.dev/badge/agents/shanraisshan/claude-code-best-practice/weather-agent/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.
<a href="https://agentmods.dev/agents/shanraisshan/claude-code-best-practice/weather-agent"><img src="https://agentmods.dev/badge/agents/shanraisshan/claude-code-best-practice/weather-agent.svg" alt="Reviewed on agentmods" width="80" 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.5 | $0.00016 | $0.00302 |
| Sonnet 5.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 1mo 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 Copies of this mod
1 near-identical copy found in the catalogue:
- weather-agent — 100% identical, 0 lines differ
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.
- 1mo ago First seen · 84 lines · 41 tokens per session scan A 3fa40ad12d50
weather-agent is an agent published in the GitHub repository shanraisshan/claude-code-best-practice (68,074 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 754 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
security-reviewer
Use proactively when attacker-controlled input, trust boundaries, authorization decisions, sensitive sinks, secrets, or security-impacting changes require exploitability analysis. Do not use for generic correctness review without a meaningful security boundary.
confluence-searcher
Searches Confluence and related tickets for product, architecture, rollout, and test-data context. Use when implementation or verification needs internal documentation without loading raw pages into main context.
Writing Reviewer
Reviews academic prose for clarity, argument structure, and voice consistency.
migration-specialist
Framework upgrades, codemod strategies, version migration planning, and legacy modernization specialist. Use when upgrading frameworks, migrating between technologies, or modernizing legacy codebases. Trigger phrases: migration, upgrade, framework migration, version upgrade, codemod, legacy, modernize, breaking…
architect
System architect responsible for component boundaries, integration points, data flow, ADRs, technology selection, and API contracts. Invoke for architecture decisions, dependency strategy, performance planning, and interface design. Read-only — produces decisions and documentation.
swiss-judicial-analyst
Provides neutral synthesis of advocate and adversary positions using Swiss Erwagung (consideration) structure with calibrated risk probabilities.