Skip to content

Weather-Webcam-V2

Verified

Fetches current weather from Open-Meteo API and automatically captures a live webcam image from Meteoblue or Windy for the requested location. Use it when th...

99

Install

Claude Code

Add to .claude/skills/

About This Skill

# Weather Location

This skill automates weather data retrieval using Open-Meteo and live webcam image capture using agent-browser.

Workflow

  1. Get Coordinates (Geocoding):
  2. - Execute `curl -s "https://geocoding-api.open-meteo.com/v1/search?name=[Location]&count=1&language=es&format=json"` to resolve city name to coordinates.
  1. Get weather (Open-Meteo):
  2. - Execute `curl -s "https://api.open-meteo.com/v1/forecast?latitude=[Lat]&longitude=[Lon]&current=temperature_2m,relative_humidity_2m,apparent_temperature,weather_code,wind_speed_10m"` to get real-time data.
  1. Search for Webcam:
  2. - Web search for `site:meteoblue.com [Location] webcam` or `site:windy.com [Location] webcam`.
  3. - Select the direct link to the location's webcam page.
  1. Capture Image (Agent Browser Method):
  2. - Use agent-browser to navigate and interact:
  3. ```bash
  4. /home/user/.npm-global/bin/agent-browser --session-name webcam open "[URL]"
  5. ```
  6. - Interaction:
  7. - Click "OK/Accept" on cookie banners using `snapshot` + `click @ref`.
  8. - Extraction:
  9. - Use `eval` to find the highest resolution URL (look for `/full/` and `original.jpg`):
  10. ```javascript
  11. Array.from(document.querySelectorAll('img')).map(img => img.src).filter(src => src.includes('original.jpg') && src.includes('/full/'))[0]
  12. ```
  13. - Download:
  14. - Download with `curl` to `/home/user/.openclaw/workspace/webcam.jpg`.
  1. User Response:
  2. - Send with `message(action=send, media="/home/user/.openclaw/workspace/webcam.jpg", caption="[City]: [Icon] [Temp]°C [Humidity]% [Wind]km/h\n[Comment]")`.
  3. - Respond with `NO_REPLY`.

Optimization (Token Saving)

  1. Open-Meteo API: Faster, keyless, and more reliable than wttr.in.
  2. Agent Browser: Priority method for Alex to ensure interaction (cookies) and high-quality images.
  3. Session Persistence: Use `--session-name webcam` to keep cookies.

Use Cases

  • Fetch current weather conditions for any location using Open-Meteo API
  • Capture live webcam images from Meteoblue or Windy for visual weather verification
  • Combine weather data with webcam imagery for comprehensive location reports
  • Monitor weather conditions at remote locations with automated visual checks
  • Generate weather briefings with both data and live imagery for travel planning

Pros & Cons

Pros

  • + Unique combination of weather data and live webcam imagery in one skill
  • + Free data source — Open-Meteo API requires no API key
  • + Dual webcam providers (Meteoblue and Windy) for better coverage

Cons

  • - Webcam availability varies by location — remote areas may lack coverage
  • - Webcam images depend on third-party services that may change or restrict access

Frequently Asked Questions

What does Weather-Webcam-V2 do?

Fetches current weather from Open-Meteo API and automatically captures a live webcam image from Meteoblue or Windy for the requested location. Use it when th...

What platforms support Weather-Webcam-V2?

Weather-Webcam-V2 is available on Claude Code, OpenClaw.

What are the use cases for Weather-Webcam-V2?

Fetch current weather conditions for any location using Open-Meteo API. Capture live webcam images from Meteoblue or Windy for visual weather verification. Combine weather data with webcam imagery for comprehensive location reports.

Stay Updated on Agent Skills

Get weekly curated skills + safety alerts