数联互通weather
v1.0.0Get current weather and forecasts via WeatherAPI.com. Use when: user asks about weather, temperature, or forecasts for any location. IMPORTANT: You must conf...
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description, required binary (curl), and primaryEnv (WEATHER_API_KEY) all match the declared purpose of calling WeatherAPI.com. No unrelated services, credentials, or binaries are requested.
Instruction Scope
SKILL.md only instructs how to provide an API key and shows curl commands to WeatherAPI endpoints. It refers to user-facing OpenClaw config files and logs (~/.openclaw/*) for setup/troubleshooting, which is reasonable and within scope.
Install Mechanism
Instruction-only skill with no install spec and no code to install—lowest install risk. It does require curl to be present, which is documented in metadata.
Credentials
Only the WEATHER_API_KEY is required (declared as primaryEnv) and the SKILL.md uses that same variable and an optional config-file apiKey entry. There are no extraneous SECRET/TOKEN/PASSWORD env vars requested.
Persistence & Privilege
Skill is not always-enabled and does not request elevated or cross-skill configuration changes. It asks the user to edit the skill's own OpenClaw config or set an env var—normal behavior.
Assessment
This skill appears coherent and low-risk: it simply issues HTTPS requests to api.weatherapi.com using your WEATHER_API_KEY via curl. Before installing, (1) ensure you obtain the API key from the official WeatherAPI site and store it securely (avoid adding long-lived keys to shared shell rc files if the machine is multi-user), (2) confirm you’re comfortable with outbound requests to WeatherAPI (requests include the location strings you query), and (3) verify curl is an acceptable dependency on your system. Because this is instruction-only (no code bundled), the main risk is accidental leakage of the API key—prefer configuring it in the OpenClaw UI or a secure secret store rather than a world-readable file.Like a lobster shell, security has layers — review code before you run it.
latest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
🌦️ Clawdis
Binscurl
Primary envWEATHER_API_KEY
SKILL.md
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
Files
1 totalSelect a file
Select a file to preview.
Comments
Loading comments…
