
Weather Query
If you're building agents that need weather data for Chinese cities, this pulls real-time conditions and forecasts from the 60s API with a simple query parameter. You get temperature, humidity, wind, and air quality for locations like "北京" or "海淀区". The skill documentation shows how to build contextual responses like suggesting umbrellas when rain is forecast or masks when air quality is poor. It's focused entirely on China, so don't expect global coverage. The API responses are straightforward JSON, and the examples include practical patterns like multi-city comparisons and travel weather checks. Worth noting that location names must be in Chinese characters.
- skills.sh installs
- 826
- GitHub stars
- 48
- last updated
- Aug 21, 2026
Install
$ npx -y skills add vikiboss/60s-skills --skill weather-query --agent claude-codeInstalls into .claude/skills of the current project.
Files
Weather Query Skill
This skill enables AI agents to fetch real-time weather information and forecasts for locations in China using the 60s API.
When to Use This Skill
Use this skill when users:
- Ask about current weather conditions
- Want weather forecasts
- Need temperature, humidity, wind information
- Request air quality data
- Plan outdoor activities and need weather info
API Endpoints
1. Real-time Weather
URL: https://60s.viki.moe/v2/weather/realtime
Method: GET
2. Weather Forecast
URL: https://60s.viki.moe/v2/weather/forecast
Method: GET
Parameters
query(required): Location name in Chinese- Can be city name: "北京", "上海", "广州"
- Can be district name: "海淀区", "浦东新区"
How to Use
Get Real-time Weather
import requests
def get_realtime_weather(query):
url = 'https://60s.viki.moe/v2/weather/realtime'
response = requests.get(url, params={'query': query})
return response.json()
# Example
weather = get_realtime_weather('北京')
print(f"☁️ {weather['location']}天气")
print(f"🌡️ 温度:{weather['temperature']}°C")
print(f"💨 风速:{weather['wind']}")
print(f"💧 湿度:{weather['humidity']}")
Sponsors
Details
- Repository
- github.com/vikiboss/60s-skills
- First seen
- Apr 16, 2026