weather
できること
このスキルは、APIキーなしで、都市の現在の天気と予報を取得します。似た名前の都市を取り違えないよう、場所を慎重に確認します。
使う場面
- ✓ある都市の今の天気を尋ねるとき。
- ✓旅行や翌日の予報がほしいとき。
- ✓同じ名前の都市が複数ある都市の天気を尋ねるとき。
スキルのリンク
https://github.com/sipeed/picoclaw/blob/main/workspace/skills/weather/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“今日の成都の天気と、週末の予報を教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは都市を調べ、国と地域を確認して一致を確かめます。その後、現在の状況と予報を取得します。答えには、一致した場所と観測の時刻を改めて示します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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.
よくある質問
APIキーは必要ですか?
いいえ。スキルは、キーの要らない公開の天気サービスを使います。
都市名があいまいな場合は?
エージェントは追加の質問をするか、自分が立てた前提を述べます。
他の言語の都市名も扱えますか?
はい。中国語の都市名などの母語の名前は、直接の検索で扱えます。
詳細
作者による元の説明
Get current weather and forecasts with verified location matching (no API key required).
repo: sipeed/picoclaw
人気
- GitHubのスター
- 30k
- ランキング
- #9359
- ライセンス
- MIT
- 更新日
- 2026/10/30
コメント
- …
このリポジトリの他のスキル
agent-browser
30kエージェントが、ブラウザのコマンドツールを使って、ウェブサイトを開き、フォームに入力し、ボタンをクリックし、スクリーンショットを撮り、データを取得できるよう支援します。
hardware
30kエージェントが、Sipeedのボードに接続されたセンサーを読み取り、ディスプレイなどの小型機器をI2CとSPIの接続で操作できるよう支援します。
picoclaw-agent
30kエージェントが、チャットゲートウェイと定期ジョブを備えた軽量な個人用AIアシスタントのPicoClawを、セットアップ、設定、トラブルシューティングできるよう支援します。
summarize
30kエージェントが、ウェブページ、ローカルファイル、YouTube動画を要約し、利用可能な場合は文字起こしを取り出せるよう支援します。