| name | add-skill-weather |
| description | Add weather lookup capability to NanoTars agents. Uses free wttr.in and Open-Meteo APIs — no API key needed. Triggers on "add weather", "weather setup", "weather skill". |
Add Weather
Adds weather forecast capability to NanoTars agents using free public APIs (no API key required).
Preflight
Before installing, verify NanoTars is set up:
[ -d node_modules ] && echo "DEPS: ok" || echo "DEPS: missing"
docker image inspect nanoclaw-agent:latest &>/dev/null && echo "IMAGE: ok" || echo "IMAGE: not built"
if grep -q "ANTHROPIC_API_KEY\|CLAUDE_CODE_OAUTH_TOKEN" .env 2>/dev/null || [ -f "$HOME/.claude/.credentials.json" ]; then echo "AUTH: ok"; else echo "AUTH: missing"; fi
If any check fails, tell the user to run /nanotars-setup first and stop.
Install
-
Copy plugin files:
cp -r ${CLAUDE_PLUGIN_ROOT}/files/ plugins/weather/
-
Plugin Configuration: By default this plugin is available to all groups and channel types. To restrict access, edit plugins/weather/plugin.json and set:
"groups" to specific group folder names (e.g., ["main"]) instead of ["*"]
"channels" to specific channel types (e.g., ["whatsapp"]) instead of ["*"]
Ask the user if they want to restrict access. Most users will keep the defaults.
-
Rebuild and restart:
npm run build
nanotars restart
Verify
Ask the agent about the weather in any city.
Remove
-
rm -rf plugins/weather/
- Rebuild and restart