weather
What it does
This skill gets the current weather and forecast for a city without needing an API key. It checks the location carefully so it does not mix up cities with similar names.
When to use it
- ✓When you ask what the weather is like in a city right now.
- ✓When you want a forecast for a trip or a day ahead.
- ✓When you ask about the weather in a city whose name has several matches.
Skill link
https://github.com/sipeed/picoclaw/blob/main/workspace/skills/weather/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“What is the weather in Chengdu today, and what is the forecast for the weekend?”
5 new skills a week. 1 minute to read.
How it works
The agent looks up the city, checks the country and region to confirm the match, and then gets current conditions and the forecast. It restates the matched location and observation time in the answer.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Weather
Use the most reliable location match first. For Chinese city names or other non-Latin input, prefer wttr.in with the original query because it resolves native names directly. Use Open-Meteo for structured current conditions and forecasts only after you have confirmed the exact city.
Accuracy Rules
- Always restate the matched location, region/country, and observation time in the final answer.
- Do not trust the first geocoding hit blindly. Check
country,admin1,admin2, andpopulation. - For Chinese city queries, do not send Hanzi directly to Open-Meteo geocoding unless the top result is obviously correct. Prefer
wttr.inwith the original Chinese name, or geocode the English/pinyin city name instead. - If multiple plausible matches remain, ask a follow-up question or state the assumption clearly.
- Use
timezone=autowhen calling Open-Meteo so the reported time matches the location.
wttr.in (best for direct city-name queries)
Quick current conditions:
curl -s "https://wttr.in/London?format=%l:+%c+%t+%h+%w"
Chinese city example:
curl -s "https://wttr.in/%E6%88%90%E9%83%BD?format=%l:+%c+%t+%h+%w"
curl -s "https://wttr.in/%E4%B8%8A%E6%B5%B7?format=%l:+%c+%t+%h+%w"
JSON output if you need more detail:
curl -s "https://wttr.in/Chengdu?format=j1"
Tips:
- URL-encode spaces:
New York->New+York - URL-encode non-ASCII text before sending the request
- Use
?mfor metric units and?ufor US units
Open-Meteo (best for structured forecasts)
- Geocode the city and verify the returned location metadata:
curl -s "https://geocoding-api.open-meteo.com/v1/search?name=Chengdu&count=3&language=en&format=json"
- Query current weather and today's forecast with the verified coordinates:
curl -s "https://api.open-meteo.com/v1/forecast?latitude=30.66667&longitude=104.06667¤t=temperature_2m,relative_humidity_2m,weather_code,wind_speed_10m&daily=weather_code,temperature_2m_max,temperature_2m_min&forecast_days=1&timezone=auto"
Important:
- For Chinese inputs like
成都, geocodingname=%E6%88%90%E9%83%BDmay return smaller homonym locations first. PreferChengduafter verifying it matches Sichuan, China. - If geocoding looks suspicious, fall back to
wttr.infor the original city name instead of presenting a likely wrong result.
FAQ
Do I need an API key?
No. The skill uses public weather services that do not need a key.
What if the city name is ambiguous?
The agent asks you a follow-up or states the assumption it made.
Can it handle city names in other languages?
Yes. Native names such as Chinese city names are handled by a direct lookup.
Details
Original description by the author
Get current weather and forecasts with verified location matching (no API key required).
repo: sipeed/picoclaw
Popularity
- GitHub stars
- 30k
- Ranking position
- #9359
- License
- MIT
- Updated
- 10/30/2026
Comments
- …
More skills from this repository
agent-browser
30kHelps your agent open websites, fill in forms, click buttons, take screenshots, and pull data using a browser command tool.
hardware
30kHelps your agent read sensors and control small devices such as displays on Sipeed boards over I2C and SPI connections.
picoclaw-agent
30kHelps your agent set up, configure, and troubleshoot PicoClaw, a lightweight personal AI assistant with chat gateways and scheduled jobs.
summarize
30kHelps your agent summarize web pages, local files, and YouTube videos, or pull out a transcript when one is available.
Similar skills
knowledge-capture
394kTeaches your agent to save decisions, preferences, and key facts to your Knowledge vault as short notes with source attribution.
knowledge-claim-consolidation
394kHelps your agent tidy a Knowledge vault by merging duplicate claims, moving them to the right subject pages, and retiring outdated ones.
knowledge-correct
394kLets your agent fix or withdraw a specific saved Knowledge claim or page at your request, keeping a record of what changed.