weather تایید شده

Get current weather and forecasts (no API key required).

68از ۱۰۰
۴۷.۳k
ستاره
۹
دانلود
۸۱
بازدید

// نصب مهارت

نصب مهارت

مهارت‌ها کدهای شخص ثالث از مخازن عمومی GitHub هستند. SkillHub الگوهای مخرب شناخته‌شده را اسکن می‌کند اما نمی‌تواند امنیت را تضمین کند. قبل از نصب، کد منبع را بررسی کنید.

نصب سراسری (سطح کاربر):

npx skillhub install HKUDS/nanobot/weather

نصب در پروژه فعلی:

npx skillhub install HKUDS/nanobot/weather --project

skill.install.customTargetHelp

npx skillhub install HKUDS/nanobot/weather --target-dir /path/to/skills

مسیر پیشنهادی: ~/.claude/skills/weather/

بررسی هوش مصنوعی

68
از ۱۰۰
کیفیت دستورالعمل70
دقت توضیحات75
کاربردی بودن60
صحت فنی85

Scored 68. A useful, technically sound utility for fetching weather info via curl without API keys. Excellent cross-platform handling. Score held back by a lack of structured steps, error handling, and trigger phrases in the description.

betasimpledeveloperssystem-administratorsweather-lookupcurl-examplesapi-testing
بررسی‌شده توسط reviewer-service(z-ai/glm-5.2) در تاریخ ۱۴۰۵/۵/۲۵

بررسی بر اساس نسخه قبلی

محتوای SKILL.md

---
name: weather
description: Get current weather and forecasts (no API key required).
homepage: https://wttr.in/:help
metadata: {"nanobot":{"emoji":"🌤️","requires":{"bins":["curl"]}}}
---

# Weather

Two free services, no API keys needed.

## wttr.in (primary)

Choose one request that matches the user's scope. Do not fetch current
conditions separately when a today or forecast request already includes them.

Platform notes:
- On Windows PowerShell, use `curl.exe`; bare `curl` may resolve to
  `Invoke-WebRequest`.
- On macOS and Linux, use `curl`.

Current conditions only:
```bash
curl -s "https://wttr.in/London?format=3"
# Output: London: ⛅️ +8°C
```

Custom current conditions format:
```bash
curl -s "https://wttr.in/London?format=%l:+%c+%t+%h+%w"
# Output: London: ⛅️ +8°C 71% ↙5km/h
```

Today's weather, including current conditions (use this single request for
questions about today's weather):
```bash
curl -s "https://wttr.in/London?1&m"
```

Full forecast:
```bash
curl -s "https://wttr.in/London?T&m"
```

On Windows PowerShell, replace `curl` with `curl.exe` in the commands above.

Format codes: `%c` condition · `%t` temp · `%h` humidity · `%w` wind · `%l` location · `%m` moon

Tips:
- URL-encode spaces: `wttr.in/New+York`
- Airport codes: `wttr.in/JFK`
- Units: `?m` (metric) `?u` (USCS)
- Today only: `?1` · Current only: `?0`
- PNG (macOS/Linux): `curl -s "https://wttr.in/Berlin.png" -o weather.png`
- PNG (Windows PowerShell): `curl.exe -s "https://wttr.in/Berlin.png" -o weather.png`

## Open-Meteo (fallback, JSON)

Free, no key, good for programmatic use:
```bash
curl -s "https://api.open-meteo.com/v1/forecast?latitude=51.5&longitude=-0.12&current_weather=true"
```

Find coordinates for a city, then query. Returns JSON with temp, windspeed, weathercode.

Docs: https://open-meteo.com/en/docs

مجوز

مجوز اعلام‌شده: MIT

MIT License

Copyright (c) 2026 HKUDS

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

مشاهدهٔ مجوز در مخزن منبعنسخهٔ منتشرشده در آن‌جا مرجع است.