Overview
- Skill Key
- alex1389/weather-webcam-v2
- Author
- alex1389
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/alex1389/weather-webcam-v2
- Latest Commit SHA
- 6d0226c8a55ca123433eab7aa026103070ee89a5
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 the user asks for the weather and wants to see a real image of the current conditions.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Weather&Webcam 技能。 若已安装,则直接安装 Weather&Webcam 技能。
# Weather Location
This skill automates weather data retrieval using Open-Meteo and live webcam image capture using **agent-browser**.
## Workflow
1. **Get Coordinates (Geocoding)**:
- 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.
2. **Get weather (Open-Meteo)**:
- Execute `curl -s "https://api.open-meteo.com/v1/forecast?latitude=[Lat]&longitude=[Lon]¤t=temperature_2m,relative_humidity_2m,apparent_temperature,weather_code,wind_speed_10m"` to get real-time data.
3. **Search for Webcam**:
- Web search for `site:meteoblue.com [Location] webcam` or `site:windy.com [Location] webcam`.
- Select the direct link to the location's webcam page.
4. **Capture Image (Agent Browser Method)**:
- Use **agent-browser** to navigate and interact:
```bash
/home/user/.npm-global/bin/agent-browser --session-name webcam open "[URL]"
```
- **Interaction**:
- Click "OK/Accept" on cookie banners using `snapshot` + `click @ref`.
- **Extraction**:
- Use `eval` to find the highest resolution URL (look for `/full/` and `original.jpg`):
```javascript
Array.from(document.querySelectorAll('img')).map(img => img.src).filter(src => src.includes('original.jpg') && src.includes('/full/'))[0]
```
- **Download**:
- Download with `curl` to `/home/user/.openclaw/workspace/webcam.jpg`.
5. **User Response**:
- Send with `message(action=send, media="/home/user/.openclaw/workspace/webcam.jpg", caption="[City]: [Icon] [Temp]°C [Humidity]% [Wind]km/h\n[Comment]")`.
- 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.
youmind-openlab
AI skill for OpenClaw & Claude Code — recommend from 10000+ Nano Banana Pro (Gemini) image prompts. Smart search by use case, content remix, sample images.
23blocks-os
AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between computers and locations
hashgraph-online
AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.
rito-w
A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.
besoeasy
Battle-tested skill library for AI agents. Save 98% of API costs with ready-to-use code for crypto, PDFs, search, web scraping & more. No trial-and-error, no expensive APIs.
zeropointrepo
YouTube Transcript API skills for AI agents. Get transcripts, search videos, browse channels. Works with OpenClaw, ClawdBot, Claude Code, Cursor, Windsurf.