Install
openclaw skills install weather-pet-forecastPet-friendly 3-day weather forecast with caring recommendations for humans and their beloved pets. Use when user asks for weather analysis, pet-friendly weather, dog walking conditions, outdoor pet activities, or weather-based pet care advice. Includes temperature trends, precipitation analysis, UV safety, ground conditions, optimal walking times, and comprehensive care guidance for both humans and pets. Works with any global location. Perfect for pet owners who want to plan outdoor activities with their furry friends.
openclaw skills install weather-pet-forecastGet a comprehensive 3-day weather forecast with warm, caring recommendations for both humans and their beloved pets. Perfect for pet owners who want to plan outdoor activities with their furry friends!
✅ USE this skill when:
Ask for location if not provided. Accept:
Use wttr.in to get forecast data:
# JSON format for parsing (recommended)
curl -s "wttr.in/{LOCATION}?format=j1"
# Human-readable 3-day forecast
curl -s "wttr.in/{LOCATION}"
Extract key data for each day:
From JSON response, extract for each day:
Temperature:
maxtempC or maxtempF)mintempC or mintempF)avgtempC or avgtempF)Conditions:
weatherDesc)hourly[].chanceofrain)humidity)Wind:
windspeedKmph or windspeedMiles)winddir16Point)Additional:
uvIndex)visibility)Perform comparative analysis across the 3 days:
Temperature Trend:
Precipitation Analysis:
Weather Patterns:
Based on the analysis, provide actionable advice:
🌡️ Temperature Comfort:
🌧️ Rain & Precipitation:
💨 Wind Conditions:
☀️ UV & Sun:
🏃 Activity Recommendations:
Provide specialized recommendations for pet owners:
🐕 Pet Temperature Safety:
⏰ Best Walking Times:
🌧️ Pet Rain Protection:
🔥 Ground Safety:
☀️ UV Protection for Pets:
curl -s "wttr.in/Beijing?format=j1"
curl -s "wttr.in/Beijing?3"
# Today + 2 days, compact
curl -s "wttr.in/Beijing?format=v2&num_of_days=3"
# Today
curl -s "wttr.in/Beijing?0"
# Tomorrow
curl -s "wttr.in/Beijing?1"
# Day after tomorrow
curl -s "wttr.in/Beijing?2"
📍 Location: {City}
📅 3-Day Weather Forecast Analysis
【TODAY - {Date}】
🌡️ Temperature: {min}°C ~ {max}°C (feels like {feels}°C)
☁️ Conditions: {weather_desc}
🌧️ Precipitation: {chance}% chance of rain
💨 Wind: {speed} km/h {direction}
☀️ UV Index: {uv}
💧 Humidity: {humidity}%
【TOMORROW - {Date}】
🌡️ Temperature: {min}°C ~ {max}°C
☁️ Conditions: {weather_desc}
🌧️ Precipitation: {chance}% chance of rain
[Continue pattern...]
【DAY AFTER - {Date}】
[Same format...]
📊 TREND ANALYSIS
• Temperature: {trend}
• Precipitation: {analysis}
• Overall: {pattern_summary}
👥 HUMAN RECOMMENDATIONS
• Clothing: {advice}
• Activities: {suggestions}
• Umbrella: {yes/no/optional}
• Best time for outdoor: {time_window}
🐕 PET-FRIENDLY RECOMMENDATIONS
• Temperature Safety: {pet_temp_advice}
• Best Walking Times: {timing}
• Rain Protection: {rain_gear}
• Ground Conditions: {paw_safety}
• UV Protection: {sun_protection}
IMPORTANT: Output language must match the user's input language.
When calling the script, automatically detect the user's language and pass the appropriate --lang parameter:
--lang zh--lang en (or omit, as it's default)Examples:
For reliable results, use the provided script:
# English output (for English queries)
curl -s "wttr.in/Tokyo?format=j1" | python3 scripts/weather_analysis.py "Tokyo" --lang en
# Chinese output (for Chinese queries)
curl -s "wttr.in/Beijing?format=j1" | python3 scripts/weather_analysis.py "Beijing" --lang zh
Language Options:
--lang en: English output--lang zh: Chinese outputTest script available:
# Test multiple cities
bash scripts/test_cities.sh
--lang parameter accordingly