Weather And Environmental AI Agent — AI skill for Claude Code
An autonomous AI agent built with Claude and the free Open-Meteo APIs.
How to install Weather And Environmental AI Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open sharath1992/Weather-And-Environmental-AI-Agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Weather And Environmental AI Agent does
An autonomous AI agent built with Claude and the free Open-Meteo APIs. Give it a city name and it plans its own steps: it finds the coordinates, pulls the weather forecast, air quality, and marine data, writes a styled HTML dashboard, and saves the report to disk.
Alternatives in AI
- WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
- Anthropic SDK TypeScript — Access to Anthropic's safety-first language model APIs in TypeScript 2.1k ★
- Room — Open-source earning-focused swarm intelligence engine 838 ★
README
Weather & Environmental Reporting Agent
An autonomous AI agent built with Claude and the free Open-Meteo APIs. Give it a city name and it plans its own steps: it finds the coordinates, pulls the weather forecast, air quality, and marine data, writes a styled HTML dashboard, and saves the report to disk.
The project is a hands-on example of the ReAct (Reason + Act) pattern, tool use with the Claude API, and agent orchestration in plain Python, with no agent framework.
Agent Workflow
!
Features
- Autonomous planning. Claude decides which tools to call, in what order, and when it has enough data to finish.
- Five tools. Geocoding, weather forecast, air quality, marine conditions, and saving the HTML file.
- Graceful adaptation. Inland cities have no marine data, so the agent notices this and leaves that section out instead of failing.
- Layered error handling. Tool failures, network errors, and API rate limits are caught and handled without crashing the agent.
- Retries with exponential backoff. Temporary Claude API errors are retried automatically (2s → 4s → 8s).
- Safety limits. An iteration cap stops runaway loops, and filename sanitization prevents path traversal.
- Visible reasoning. Claude's thinking between tool calls is printed to the console.
How It Works
Orchestration
The agent has three parts, and each has a clear job:
**Python (`run_weather_agent`)** - Orchestrator - Runs the loop, calls the Claude API, executes tools, stores the conversation history, and enforces the safety limits. **Claude (`claude-sonnet-4-6`)** - Decision maker - Reads the conversation, decides which tool to call next and with what arguments, interprets the results, and writes the HTML report. **Tools + Open-Meteo APIs** - Workers - Fetch real data or write the file, and return results as dictionari
Related Skills
Osint Skill
OSINT Skill for AI agents (Claude Code, OpenClaw, Codex, OpenCode) — from a name to a scored dossier with psyc
Eat Skill
🍜 eat-skill - An AI Skill that solves "what should I eat today?" — picks food, finds restaurants, plans route
Environmental Impact Tracker
A Claude Code skill that translates AI token usage into real-world environmental impact (energy, water) with r
Air
AI Review — automated code review with verification, pattern learning, and team knowledge
Agentii Investment Intelligence
Claude-type skills for institutional equity research — 25 AI agent skills with SEC filings, XBRL financials, e
30 Ngay AI Agent
Bo 12 AI Agent Van Phong + Lo trinh 30 ngay hoc — CES Global. Kem huong dan cai dat cho Claude Code.
Related Agents
Regulatory Analyst
Analyzes the 7 regulatory factors: permitting timeline, environmental review, tax incentives, air permits, dat
Timps Agri Commodity Forecaster
Forecast Indian agri-commodity prices (mandi arrivals, MSP, weather, festival demand). Returns direction, conf
Gsc Backlinks
GSC domain-authority analyst. Pulls Tranco rank (free, no key) and Open PageRank (free API key) for the proper