weather
Retrieve real-time weather data from public weather services without requiring API authentication.
소스 정보
- 저장소
- jd-opensource/OxyGent
- 최근 소스 활동
- 2026년 5월 15일 08:17
- 감지된 SKILL.md 언어
- 영어
- 스타
- 2,073
- 포크
- 276
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- weather
- description
- Retrieve real-time weather data from public weather services without requiring API authentication.
# Weather Data Retrieval
## Purpose
This capability enables fetching current weather conditions and forecasts through publicly accessible weather endpoints.
When handling weather-related inquiries, this skill offers multiple query approaches to obtain meteorological information.
## Available Query Methods
### Method 1: Text-Based Weather Query
A straightforward approach using console commands:
```bash
curl -s "wttr.in/Beijing?format=3"
```
For detailed output with humidity and wind information:
```bash
curl -s "wttr.in/Shanghai?format=%l:+%c+%t+%h+%w"
```
### Method 2: Structured Data Query
For programmatic processing, use the JSON-based endpoint:
```bash
curl -s "https://api.open-meteo.com/v1/forecast?latitude=31.2&longitude=121.5¤t_weather=true"
```
This returns structured weather metrics including temperature, wind speed, and weather condition codes.
## Usage Notes
- Latitude/longitude coordinates are required for JSON queries
- Location names should be URL-encoded for text queries
- Data availability depends on the respective service providers
- Users should verify compliance with each provider's terms of use
GitHub에서 보기