shulian-weather
// Get current weather and forecasts via WeatherAPI.com. Use when: user asks about weather, temperature, or forecasts for any location. IMPORTANT: You must configure your own API key in OpenClaw settings or config file before using this skill.
$ git log --oneline --stat
stars:1,933
forks:367
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
nameshulian-weather
descriptionGet current weather and forecasts via WeatherAPI.com. Use when: user asks about weather, temperature, or forecasts for any location. IMPORTANT: You must configure your own API key in OpenClaw settings or config file before using this skill.
homepagehttps://www.weatherapi.com/
authortanluzhe
licenseMIT
version1.0.0
metadata[object Object]
WeatherAPI.com Skill
Get current weather conditions and forecasts using WeatherAPI.com.
⚠️ IMPORTANT: Configure Your API Key First
This skill will NOT work until you configure your own API key.
Where to Get API Key
- Visit WeatherAPI.com
- Sign up for a free account
- Copy your API key from the dashboard
- Configure it using one of the methods below
Free tier: 1,000,000 calls/month
Configuration
Option 1: OpenClaw UI (Recommended)
- Open OpenClaw Control UI: http://127.0.0.1:18789
- Go to Skills section
- Find shulian-weather skill
- Click Configure button
- Enter your API key
- Save
Option 2: Config File
Edit ~/.openclaw/openclaw.json:
{
"skills": {
"entries": {
"shulian-weather": {
"enabled": true,
"apiKey": "YOUR-API-KEY-HERE"
}
}
}
}
Option 3: Environment Variable
Add to ~/.zshrc:
export WEATHER_API_KEY="YOUR-API-KEY-HERE"
Then restart Gateway.
Usage
After configuring your API key, you can ask:
- "What's the weather in Shanghai?"
- "Will it rain in Beijing tomorrow?"
- "Weather forecast for New York this week"
Commands
Current Weather
API_KEY="${WEATHER_API_KEY}"
curl -s "https://api.weatherapi.com/v1/current.json?key=${API_KEY}&q=London"
Forecast
API_KEY="${WEATHER_API_KEY}"
curl -s "https://api.weatherapi.com/v1/forecast.json?key=${API_KEY}&q=London&days=7"
Search
API_KEY="${WEATHER_API_KEY}"
curl -s "https://api.weatherapi.com/v1/search.json?key=${API_KEY}&q=London"
Troubleshooting
"API key not configured" error
- Make sure you've configured your API key in OpenClaw UI or config
- Restart Gateway after configuration
- Check logs:
tail -f ~/.openclaw/logs/gateway.log
Verify configuration
cat ~/.openclaw/openclaw.json | jq '.skills.entries."shulian-weather"'
Notes
- API key is required - no default key provided
- Supports worldwide locations
- Returns JSON format
- Free tier: 1,000,000 calls/month