360 Secure SkillHub
360 安全技能中心

Weather Plus

通过 Python 脚本查询任意城市的当前天气、最多 7 天预报、体感温度与穿衣指数并给出着装建议,依赖外部天气服务;同时集成 SkillPay.me 计费脚本,需配置 SKILLPAY_API_KEY。天气查询本身无需天气服务 API 密钥。

elevo11
elevo11
热度 58.64
最近更新 2026-05-11 17:29:08
分类:生活依赖:代码执行 / 第三方 API应用场景:旅行 / 推荐 / 健康

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add weather-plus
Metadata
name
weather-plus
description
Get current weather, multi-day forecasts, clothing index, and feels-like temperature. No API key required. Use when a user wants to: (1) Check current weather, (2) View multi-day forecasts, (3) Get clothing/dressing recommendations, (4) Check feels-like temperature and comfort index. Supports any city worldwide. Integrates SkillPay.me at 0.001 USDT/call.

Weather Plus

Weather, forecasts, clothing index & feels-like temperature. No API key needed. 0.001 USDT/call.

Commands

Command Script Description
weather scripts/weather.py Current weather + feels-like
forecast scripts/forecast.py Multi-day forecast (up to 7 days)
clothing scripts/clothing.py Clothing/dressing index + recommendations
billing scripts/billing.py SkillPay charge/balance/payment

Workflow

1. Billing:   python3 scripts/billing.py --charge --user-id <id>
2. Weather:   python3 scripts/weather.py --city "Beijing"
3. Forecast:  python3 scripts/forecast.py --city "Shanghai" --days 5
4. Clothing:  python3 scripts/clothing.py --city "Chengdu"

Examples

# Current weather
python3 scripts/weather.py --city "New York"
python3 scripts/weather.py --city "成都"

# Multi-day forecast
python3 scripts/forecast.py --city "Tokyo" --days 7

# Clothing index
python3 scripts/clothing.py --city "Beijing"
python3 scripts/clothing.py --city "London"

Config

Env Var Required Description
SKILLPAY_API_KEY Yes SkillPay.me API key

References

See references/clothing-index.md for dressing recommendation methodology.