New advertisers: 50% off your first month with code FIRSTMONTHSee slots
vikiboss avatar

Weather Query

Query real-time conditions and multi-day forecasts for Chinese cities and districts via the 60s API.

skills.sh installs
828
GitHub stars
49
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers real-time weather and forecasts for cities and districts across China, using Chinese location names as input
  • Includes two GET endpoints (/weather/realtime and /weather/forecast) returning temperature, humidity, wind, air quality, and daily highs and lows
  • Provides Python and curl examples, with fallback advice to try a city name when a district lookup fails
  • Designed for agents answering questions about current conditions, forecasts, or outdoor planning in China

Install

$ npx -y skills add vikiboss/60s-skills --skill weather-query -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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']}")

Details

Repository
github.com/vikiboss/60s-skills
First seen
Apr 16, 2026

More from vikiboss/60s-skills

All 2

Similar to Weather Query