← 返回
开发者工具 Key 中文

数联互通weather

Get current weather and forecasts via WeatherAPI.com. Use when: user asks about weather, temperature, or forecasts for any location. IMPORTANT: You must conf...
通过 WeatherAPI.com 获取当前天气和天气预报。适用场景:用户询问任何地点的天气、气温或预报。重要提示:您必须确认...
jianmo1997
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 1
Stars
📥 699
下载
💾 12
安装
1
版本
#latest

概述

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

  1. Visit WeatherAPI.com
  2. Sign up for a free account
  3. Copy your API key from the dashboard
  4. Configure it using one of the methods below

Free tier: 1,000,000 calls/month

Configuration

Option 1: OpenClaw UI (Recommended)

  1. Open OpenClaw Control UI: http://127.0.0.1:18789
  2. Go to Skills section
  3. Find shulian-weather skill
  4. Click Configure button
  5. Enter your API key
  6. 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

  1. Make sure you've configured your API key in OpenClaw UI or config
  2. Restart Gateway after configuration
  3. 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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 05:12 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,151
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,797
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,199