← 返回
开发者工具 Key 中文

OpenWeather

Get current weather, hourly forecasts, and 8-day daily forecasts for any location worldwide using OpenWeather One Call API 3.0. Use when the user asks about...
使用OpenWeather One Call API 3.0获取全球任意地点的当前天气、每小时预报和8天每日预报。当用户询问天气相关问题时使用。
joshua-ensley
开发者工具 clawhub v1.0.2 1 版本 99848.9 Key: 需要
★ 0
Stars
📥 661
下载
💾 16
安装
1
版本
#latest

概述

OpenWeather Skill

OpenWeather One Call API 3.0 via a small Python CLI (stdlib only).

Commands

City is optional if OPENWEATHER_DEFAULT_LOCATION is set.

python3 {skillDir}/scripts/weather.py current [city]

python3 {skillDir}/scripts/weather.py forecast [city] --days 5

python3 {skillDir}/scripts/weather.py hourly [city] --hours 12

Rules

  • If no location is mentioned, use OPENWEATHER_DEFAULT_LOCATION when configured; otherwise ask the user for a location.
  • Do not make more than 2 API calls per request (1 geocode + 1 onecall).
  • If the API returns 401, tell the user the key may be invalid or One Call 3.0 may not be enabled for that key.
  • Do not claim to use curl; this skill uses Python urllib.

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-03-30 00:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Agent Browser

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

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,471
developer-tools

Gog

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