Weather Check
Setup
Ensure the script is executable:
bash
cd /path/to/project chmod +x .pi/skills/weather-check/scripts/weather.sh
Usage
bash
./.pi/skills/weather-check/scripts/weather.sh "Berlin" ./.pi/skills/weather-check/scripts/weather.sh "New York" ./.pi/skills/weather-check/scripts/weather.sh "" "v2" # default location
- •First argument: location (city name, zip, lat,lon). Leave empty for the default.
- •Second argument (optional): wttr.in format (default:
3, tryv2for multi-line). - •Output uses metric units.
Tool
If the weather tool is available, call it directly:
text
weather {"location": "Berlin", "format": "3"}
Command
Use the command to get a quick notification:
text
/weather /weather Madrid v2
Workflow
- •Run the script with the requested location.
- •Return the output verbatim.
- •If the user wants more detail, rerun with format
v2.