weather
ما الذي تفعله
تحصل هذه المهارة على الطقس الحالي وتوقعات مدينة دون الحاجة إلى مفتاح API. وتتحقق من الموقع بعناية حتى لا تخلط بين مدن أسماؤها متشابهة.
متى تستخدمها
- ✓عندما تسأل عن حالة الطقس في مدينة الآن.
- ✓عندما تريد توقعات لرحلة أو لليوم التالي.
- ✓عندما تسأل عن الطقس في مدينة اسمها له عدة تطابقات.
رابط المهارة
https://github.com/sipeed/picoclaw/blob/main/workspace/skills/weather/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ما حالة الطقس في تشنغدو اليوم، وما توقعات عطلة نهاية الأسبوع؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يبحث وكيلك عن المدينة، ويتحقق من البلد والمنطقة لتأكيد التطابق، ثم يحصل على الظروف الحالية والتوقعات. ويذكر الموقع المطابق ووقت الرصد في الإجابة.
المحتوى التقني (ملف 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
- آخر تحديث
- 30/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
agent-browser
30kيساعد وكيلك على فتح المواقع وملء النماذج والنقر على الأزرار وأخذ لقطات الشاشة وسحب البيانات باستخدام أداة أوامر للمتصفح.
hardware
30kيساعد وكيلك على قراءة المستشعرات والتحكم في الأجهزة الصغيرة، مثل الشاشات، على لوحات Sipeed عبر اتصالي I2C وSPI.
picoclaw-agent
30kيساعد وكيلك على إعداد PicoClaw وضبطه واستكشاف أخطائه، وهو مساعد ذكاء اصطناعي شخصي خفيف، مع بوابات دردشة ومهام مجدولة.
summarize
30kيساعد وكيلك على تلخيص صفحات الويب والملفات المحلية وفيديوهات YouTube، أو استخراج النص المفرّغ عند توفره.
مهارات مشابهة
knowledge-capture
394kتعلّم وكيلك حفظ القرارات والتفضيلات والحقائق المهمة في خزنة Knowledge كملاحظات قصيرة مع ذكر المصدر.
knowledge-claim-consolidation
394kيساعد وكيلك على تنظيم خزنة Knowledge بدمج الإفادات المكررة ونقلها إلى صفحات موضوعاتها الصحيحة، وإلغاء ما أصبح قديماً.
knowledge-correct
394kيتيح لوكيلك تصحيح إفادة أو صفحة محفوظة محددة في Knowledge أو سحبها بناءً على طلبك، مع الاحتفاظ بسجل لما تغيّر.