Travel assistant for NanoClaw: byAir flight notifications (delay, gate, connection risk, inbound aircraft delay, time-to-leave, arrival logistics), traffic-aware drive planning for in-person meetings (auto drive blocks + leave-by traffic rechecks), travel-booking gap checks, and nightly TripIt sync. Per-chat overlay plugin.
—
—
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
High
Do not use without reviewing
Actionable travel assistance for NanoClaw — byAir-powered flight notifications, travel-booking gap checks, and nightly TripIt sync. Replaces generic "21 minutes to departure" reminders with alerts that change behavior. Powered by byAir for flight data and Google Maps Distance Matrix for traffic-aware time-to-leave.
Per-chat overlay plugin. Install via NanoClaw's containerConfig.additionalTiles mechanism.
tessl install jbaruch/nanoclaw-travelAdd to a chat's overlay tile list via update_group_config:
additionalTiles: ["jbaruch/nanoclaw-travel"]| Variable | Purpose | Where to get |
|---|---|---|
BYAIR_MCP_URL | byAir streamable-HTTP MCP endpoint (includes API key) | https://byairapp.com/mcp/ — Pro subscription, personal MCP link |
GOOGLE_MAPS_API_KEY | Distance Matrix API key for time-to-leave | https://console.cloud.google.com/apis/credentials |
Google Calendar access (boarding-block reconciliation, drive-block
create/remove, calendar fetches) needs no variable: it calls the native
Calendar REST API, and OneCLI's gateway injects the OAuth Bearer on the wire
(nanoclaw#638). The container holds no Google credential. The retired
COMPOSIO_API_KEY / COMPOSIO_USER_ID pair can be deleted from the vault.
Optional:
| Variable | Purpose |
|---|---|
TOMTOM_API_KEY | Backup routing provider, used only when the Google Distance Matrix call fails; absent it, a Google failure propagates |
Store all required credentials in OneCLI vault. Never commit. See .env.example for the contract; GitHub Actions secrets configuration link is in its file header.
nightly-travel-sync's Gmail freshness fallback (scripts/fetch-tripit-emails.py) imports four shared Gmail helpers — google-rest.py, gmail-ops.py, gmail-message.py, sanitize-email-body.py — from jbaruch/nanoclaw-admin's heartbeat skill, over the co-loaded tessl__heartbeat mount. So this plugin's additionalTiles must also carry jbaruch/nanoclaw-admin for that one branch to run; it fails closed with an actionable message otherwise, and no other capability here depends on it.
Gmail is not this plugin's domain, so it depends on the one tested copy of the RFC822 MIME parser and the poison sanitizer rather than re-implementing them (nanoclaw-orders consumes them the same way). Calendar is different — this plugin owns its per-service clients, so google_calendar_client.py stays self-contained here.
| Rule | Summary |
|---|---|
| flight-data-locality | byAir is the single upstream for flight data; AeroAPI / Flighty / airline-specific APIs forbidden |
| operator-local-tz-phrasing | Relative-date words ("today"/"tomorrow") in a surface are phrased against the operator's local date (via read-current-tz.py), not the container UTC clock; displayed airport clock times stay as-is |
| Skill | Description |
|---|---|
| travel-core | Shared library bundle (not user-invocable): hosts the cross-skill trip_origin (TripIt-over-home position/anchor resolution) and airport_lead (clearance / post-arrival buffer policy) modules so flight-assist and the drive engine import one source of truth. |
| drive-engine | Unified leg-based drive-block engine (#156). On a ~30-min sweep it plans airport drives from the byAir itinerary and meeting drives from the calendar, diffs both against the primary calendar, and applies the changes — creating / updating / deleting its own blocks. Suppresses drives that can't be made (connection airports, home meetings while travelling), renders in local time, and leaves legacy blocks for the operator. Notifies the operator ONLY on a new meeting drive (which they can skip by replying "skip", enumerated by local index) or a material (≥10%) drive-time change ("leave N min sooner/later"); removes, airport-drive adds, and routine re-times apply silently. Replaces the flight-assist airport-drive pass and drive-planner. |
| flight-assist | Action router: diagnose credentials, set home base, or compose a user-facing notification from a precheck wake event (delay, gate change, cancellation, boarding, time-to-leave, carousel, day-before, arrival logistics, tracked-flight add/remove) |
| sync-tripit | Adaptive scheduler that fires the byAir → active-flights.json refresh on a precheck-gated 5-min cadence — responsive on flight days, idle between travel windows. Diagnostic-only LLM surface (the gate + sync happen in the precheck script) |
| check-travel-bookings | Checks upcoming trips for missing bookings (flights, hotels, accommodation) by reading the nightly-built travel-db.json. Reports gaps for all upcoming trips — no date limit. Supports snooze state. Silent when all bookings are complete or snoozed. Use when the user asks about upcoming travel plans, itinerary completeness, missing reservations, or TripIt trip status. |
| nightly-travel-sync | Daily travel-data refresh bundle: TripIt → Reclaim timezone sync, refresh travel-schedule.json from the TripIt iCal feed with a two-tier Gmail freshness probe, rebuild travel-db.json, then run check-travel-bookings. Precheck-gated on travel-db.json freshness; surfaces failures and relies on the daily cron + freshness probe to recover. Self-contained writer of the data check-travel-bookings reads. |
The skill bundle includes executable scripts the agent invokes via the SKILL.md actions:
scripts/check-env.py — verifies BYAIR_MCP_URL and GOOGLE_MAPS_API_KEY are set (calendar access has no env var to check — see above)scripts/set-home-base.py — persists home address to plugin config for time-to-leave queriesscripts/get-flight-state.py — fetches a flight's last-known snapshot to enrich notificationsscripts/read-current-tz.py — resolves the operator's current_tz from tz_state so surfaces phrase relative dates in the operator's local zone (see operator-local-tz-phrasing rule)Plus scheduler-invoked scripts (not user-facing):
flight-assist/precheck.py — runs every ~2 min, polls byAir per cadence ladder, emits wake eventssync-tripit/precheck.py — runs every 5 min, adaptive-gated; delegates to flight-assist/sync_tripit.py only when a flight is imminent or the index is stale (see the sync-tripit skill for gate predicate + thresholds)flight-assist/sync_tripit.py — the byAir → state reconciliation invoked by the sync-tripit schedulernightly-travel-sync/precheck.py — runs daily, gates the travel-data refresh on travel-db.json freshness (see the nightly-travel-sync skill + precheck.py for the cadence predicate)nightly-travel-sync/scripts/refresh-travel-schedule.py, check-travel-freshness.py, fetch-tripit-emails.py, filter-tripit-bookings.py — the travel-source writers + the freshness probe's Gmail fallback (fetch sanitizes in-container, filter matches the TripIt confirmation prefix)drive-engine/reconcile_sweep.py — runs every ~30 min, plans airport + meeting drives, reconciles against the primary calendar, and applies the changes (create / update / delete of its own blocks). Set DRIVE_ENGINE_SHADOW=1 to dry-run it: the plan is rendered to stderr and nothing is written — use it to validate a block-shape change against the real calendar before the cutover applies anythingconnection_at_risk events when the transfer window falls below min_transfer_minutes (configurable, default 45). State schema bumped to v2 with owner-side migrationbyair_list_tripsSee CHANGELOG.md for version history.
.tessl-plugin
skills
check-travel-bookings
drive-engine
flight-assist
references
nightly-travel-sync
sync-tripit
travel-core