From bee07b74aa029edf4a7a9355c78e402a51aa06e7 Mon Sep 17 00:00:00 2001 From: Asklv Date: Thu, 26 Feb 2026 10:00:00 +0800 Subject: [PATCH] feat: add weather skill as SPIFFS markdown Signed-off-by: Asklv --- spiffs_data/skills/weather.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 spiffs_data/skills/weather.md diff --git a/spiffs_data/skills/weather.md b/spiffs_data/skills/weather.md new file mode 100644 index 0000000..e6e2d30 --- /dev/null +++ b/spiffs_data/skills/weather.md @@ -0,0 +1,18 @@ +# Weather + +Get current weather and forecasts using web_search. + +## When to use +When the user asks about weather, temperature, or forecasts. + +## How to use +1. Use get_current_time to know the current date +2. Use web_search with a query like "weather in [city] today" +3. Extract temperature, conditions, and forecast from results +4. Present in a concise, friendly format + +## Example +User: "What's the weather in Tokyo?" +→ get_current_time +→ web_search "weather Tokyo today February 2026" +→ "Tokyo: 8°C, partly cloudy. High 12°C, low 4°C. Light wind from the north."