$npx -y skills add MagicCube/agentara --skill weather-reportProvide real-time weather forecasts for any city worldwide. Use this skill whenever the user asks about weather, temperature, or climate conditions — including phrases like "weather in [city]", "what's the weather like", "weather forecast", "is it going to rain", "how hot is it",
| 1 | # Weather Report |
| 2 | |
| 3 | Get current weather and short-term forecasts for any city worldwide. Supports city names in various languages. Always respond in user's language. |
| 4 | |
| 5 | ## Workflow |
| 6 | |
| 7 | ### 1. Determine the city |
| 8 | |
| 9 | - If the user specifies a city (e.g., "weather in Tokyo", "Shanghai weather"), extract it directly. |
| 10 | - If no city is mentioned, ask the user which city they want to check. |
| 11 | - If the user previously mentioned a city in the conversation, use that as context. |
| 12 | |
| 13 | ### 2. Search for weather data |
| 14 | |
| 15 | Use `WebSearch` with query: `"weather forecast {city} today {date}"` |
| 16 | |
| 17 | For China cities, use `weather.com.cn` as the source. For the rest of the world, use `weather.com` as the source. |
| 18 | |
| 19 | Include today's date in the query for freshness. |
| 20 | |
| 21 | ### 3. Present the report |
| 22 | |
| 23 | Use this structure: |
| 24 | |
| 25 | ``` |
| 26 | ## {Emoji} {City} Weather — {date} |
| 27 | |
| 28 | - **Condition**: {condition} |
| 29 | - **Temperature**: {current}°C (High {high}°C / Low {low}°C) |
| 30 | - **Feels Like**: {feels_like}°C |
| 31 | - **Humidity**: {humidity}% |
| 32 | - **Wind**: {wind_direction} {wind_speed} |
| 33 | |
| 34 | ### 📅 3-Day Forecast |
| 35 | |
| 36 | | Date | Condition | High | Low | |
| 37 | |------|-----------|------|-----| |
| 38 | | {d1} | {w1} | {h1} | {l1}| |
| 39 | | {d2} | {w2} | {h2} | {l2}| |
| 40 | | {d3} | {w3} | {h3} | {l3}| |
| 41 | |
| 42 | {brief_tip} |
| 43 | ``` |
| 44 | |
| 45 | Use emoji in the weather column. |
| 46 | |
| 47 | ### 4. Tips |
| 48 | |
| 49 | Add a short practical tip with emoji at the end based on conditions: |
| 50 | |
| 51 | - Rain → 🌧️ "Bring an umbrella" |
| 52 | - Cold → 🧥 "Bundle up" |
| 53 | - Hot → ☀️ "Stay hydrated" |
| 54 | - Pleasant → 🌤️ "Great day to be outdoors" |
| 55 | |
| 56 | ### 5. Sources |
| 57 | |
| 58 | Always include 1-2 source links at the end so the user can check details. |
| 59 | |
| 60 | ## Notes |
| 61 | |
| 62 | - If search results lack some fields (feels-like, humidity, etc.), omit those rows rather than guessing. |
| 63 | - Prefer authoritative sources: weather.com.cn, AccuWeather, Weather.com, NWS. |
| 64 | - Use °C by default. If the user is clearly US-based or requests it, use °F. |