| name | add-skill-commute |
| description | Add travel time and commute lookup to NanoTars agents using Waze live traffic data. No API key needed. Triggers on "add commute", "commute setup", "travel time", "waze". |
Add Commute
Adds live traffic-based travel time lookups using the Waze routing API (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/commute/
-
Plugin Configuration: By default this plugin is available to all groups and channel types. To restrict access, edit plugins/commute/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 "how long to drive from Oxford to London?" -- it should use the Waze API to get live traffic times.
Remove
-
rm -rf plugins/commute/
- Rebuild and restart