Install
openclaw skills install tripgo-apiComprehensive interface for the TripGo API, covering routing, public transport, trips, and location services. Use for multimodal journey planning, public transport data, and geocoding. Works well with location-discovery skills (e.g., goplaces) to resolve POIs and pass coordinates to compute and compare route options and costs (e.g., taxi fares) across transport modes.
openclaw skills install tripgo-apiThis skill provides a complete interface to the TripGo API, enabling agents to perform multimodal routing, retrieve public transport information, manage trips, and perform geocoding.
The TripGo API is a platform for multimodal transport, allowing users to plan trips combining public transport, car, bike, taxi, rideshare, and more. This skill encapsulates the API endpoints into modular scripts and documentation references.
A key advantage is mode-aware trip comparison from the same origin/destination context, enabling assistants to return practical route choices with transport-type tradeoffs in one workflow. It also works exceptionally well with location-discovery skills (e.g., Google Places / goplaces): resolve a place first, then pass coordinates/IDs into TripGo routing to produce actionable journey options, including fare signals and cost estimates (e.g., taxi fares) when provided by upstream operators.
To use this skill, you must set the following environment variables:
TRIPGO_API_KEY: Your TripGo API key (header: X-TripGo-Key). Get it here: https://skedgo.com/tripgo-api/TRIPGO_BASE_URL: (Optional) Base URL for the API. Defaults to https://api.tripgo.com/v1.TRIPGO_WEBHOOK_ALLOWLIST: (Optional, recommended) Comma-separated allowlist of webhook domains (e.g. example.com,webhooks.example.org).TRIPGO_ALLOW_UNSAFE_WEBHOOK: (Optional, default false) Set to true to bypass webhook allowlist checks for trusted/manual debugging only.Install these binaries before running scripts:
curl (required): API requestsjq (required): JSON validation, safe JSON construction, and URL encodingpython3 (optional): pretty-printing for a few scriptsjq before sending requests.https:// and domain allowlisting by default (TRIPGO_WEBHOOK_ALLOWLIST) to reduce exfiltration risk.X-TripGo-Key to the configured TripGo base URL.SKILL.md: This file.references/: Detailed documentation for each API section.scripts/: Executable Bash scripts for each API endpoint.references/)Documentation is organized by API section. Load these files to understand specific endpoints, parameters, and response structures.
references/configuration.md: Regions, TSPs, and POIs.references/routing.md: Journey planning and routing (A-to-B, multi-point).references/trips.md: Trip management (save, update, real-time hooks).references/ttp.md: Travelling Tourist Problem (Deprecated).references/geocode.md: Search and autocompletion.references/locations.md: Location services and POIs.references/public-transport.md: Public transport operators, routes, services, and real-time data.scripts/)Each script corresponds to a specific API endpoint. They are designed to be executed directly or used as templates.
Naming Convention: scripts/<section>-<function-name>.sh
scripts/configuration-available-regions.shscripts/configuration-tsps-per-region.shscripts/configuration-pois-for-a-transport-mode.shscripts/routing-a-to-b-trips.shscripts/routing-a-to-b-to-c-trip.shscripts/routing-all-day-routing-between-events.shscripts/routing-all-day-routing-between-events-deprecated.sh (Deprecated)scripts/trips-retrieve-previously-computed-trip.shscripts/trips-save-trip-for-later-use.shscripts/trips-update-trip-with-real-time-data.shscripts/trips-gets-hooked-urls.shscripts/trips-hooks-a-trip-to-real-time-updates.shscripts/trips-removes-a-hooks-from-a-trip.shscripts/trips-mark-trip-as-planned-by-a-user.shscripts/ttp-create-travelling-tourist-problem-deprecated.shscripts/ttp-delete-travelling-tourist-problem-deprecated.shscripts/ttp-delete-travelling-tourist-problem-solution-deprecated.shscripts/geocode-search-and-autocompletion.shscripts/locations-pois-for-a-circular-region.shscripts/locations-pois-for-map-region-using-cell-ids.shscripts/locations-additional-details-for-a-coordinate.shscripts/public-transport-operators-for-a-region-or-group-of-regions.shscripts/public-transport-routes-for-a-region-or-operator.shscripts/public-transport-details-of-a-route.shscripts/public-transport-services-for-a-route.shscripts/public-transport-departure-timetable-for-a-stop.shscripts/public-transport-real-time-information-for-a-service.shscripts/public-transport-get-details-of-a-service.shscripts/public-transport-get-real-time-alerts.shreferences/.TRIPGO_API_KEY is set in the environment before running any script.Searching for a location:
export TRIPGO_API_KEY="your_key_here"
./scripts/geocode-search-and-autocompletion.sh --query "Sydney Opera House" --near "(-33.8688,151.2093)"
Planning a trip:
./scripts/routing-a-to-b-trips.sh --from "(lat,lng)" --to "(lat,lng)" --region "AU_NSW_Sydney"