get_directions
no demo yetTry asking
- Search a destination and return route summary (ETA, distance, per-mode times)
ghost skill run ghost/google_maps get_directions Google Maps — search places and fetch directions with per-mode ETA and distance
7actions not benchmarked yet
No clean demo yet. Recordings will start on HOME and show the app launching.
This skill has no README yet. The docs category of its score is capped until one lands.
SOFT.md is the narrative an agent reads when the exact steps no longer match your app version and it has to adapt the skill.
Google Maps: search places and fetch directions with per-mode ETA and distance
Target: com.google.android.apps.maps on android. Each action below wraps the v1 implementation unchanged (see helpers.py); this file is the reference an agent uses to adapt the skill when the replay fails on a different device or app version.
get_directions(destination, mode)v1 workflow get_directions (GetDirections in workflows/get_directions.py).
Search a destination and return route summary (ETA, distance, per-mode times)
Params:
destination (str)mode (str, default driving)Success: the wrapped v1 run reports success (helpers:v1_ok); the v1 class decides via its own precondition, execute result and postcondition.
open_app()v1 action open_app (OpenApp in actions/core.py).
Force-stop Google Maps and relaunch to the explore/home screen.
Success: the wrapped v1 run reports success (helpers:v1_ok); the v1 class decides via its own precondition, execute result and postcondition.
search_place(query)v1 action search_place (SearchPlace in actions/core.py).
Type a place into the search box and land on its place card.
Handles both outcomes of a search: direct hit (place card opens) and results list (taps the first result). Steps are linear in a Workflow, so this branching lives inside one action.
Params:
query (str)Success: the wrapped v1 run reports success (helpers:v1_ok); the v1 class decides via its own precondition, execute result and postcondition.
open_directions()v1 action open_directions (OpenDirections in actions/core.py).
Tap the Directions button on an open place card.
Success: the wrapped v1 run reports success (helpers:v1_ok); the v1 class decides via its own precondition, execute result and postcondition.
select_travel_mode(mode)v1 action select_travel_mode (SelectTravelMode in actions/core.py).
Select a travel mode tab (driving / transit / walking / cycling).
Params:
mode (str, default driving)Success: the wrapped v1 run reports success (helpers:v1_ok); the v1 class decides via its own precondition, execute result and postcondition.
read_route_summary(mode)v1 action read_route_summary (ReadRouteSummary in actions/core.py).
Parse the directions screen into structured route data. Read-only.
Params:
mode (str)Success: the wrapped v1 run reports success (helpers:v1_ok); the v1 class decides via its own precondition, execute result and postcondition.
close_card()v1 action close_card (CloseCard in actions/core.py).
Close the current place card or directions view.
Success: the wrapped v1 run reports success (helpers:v1_ok); the v1 class decides via its own precondition, execute result and postcondition.
elements.yaml)Locators in priority order: resource id, content-desc, text. Verify them against a fresh a11y dump before relying on them on a different app version.
search_box: resource_id=com.google.android.apps.maps:id/search_omnibox_text_boxsearch_clear: resource_id=com.google.android.apps.maps:id/search_omnibox_text_clearclose_card: resource_id=com.google.android.apps.maps:id/terra_navigation_header_close_buttontrip_summary: resource_id=com.google.android.apps.maps:id/trip_details_summary_headerroute_options: resource_id=com.google.android.apps.maps:id/directions_header_preference_action_buttonmode_tabs: resource_id=com.google.android.apps.maps:id/directions_mode_tabsstart_navigation: content_desc=Startswap_start_destination: content_desc=Swap start and destinationadd_stops: content_desc=Add stopsTry a sample prompt or run an action by name. Replace any parameters in braces with your own values.
get_directionsTry asking
ghost skill run ghost/google_maps get_directions open_appTry asking
ghost skill run ghost/google_maps open_app search_placeTry asking
ghost skill run ghost/google_maps search_place open_directionsTry asking
ghost skill run ghost/google_maps open_directions select_travel_modeTry asking
ghost skill run ghost/google_maps select_travel_mode read_route_summaryTry asking
ghost skill run ghost/google_maps read_route_summary close_cardTry asking
ghost skill run ghost/google_maps close_card Each release is an immutable git tag. The tree hash pins the exact skill directory the installer verifies.
| Version | Released | App versions | Tree | Size | Provenance |
|---|---|---|---|---|---|
1.0.0latest | never | * | pending | 25.5 KB | untagged |