RoutePlanningNavigationSkill
Skill21 starsChanged 4 months agoMITView on GitHub
This skill is used by an Android Agent to plan a route and open a navigation session in a map application.
In this repository8 other files it gives its agents.
- bluetoothSkill
- daily-device-briefSkill
- mailSkill
- OpenAppSkillSkill
- shoppingSkill
- my-skillSkill
- web researchSkill
- wifiSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 17 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈17
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Start route navigation for the user using an appropriate map application and travel mode.
- Distinctive: line 35
If no map application is installed, notify the user:
- Distinctive: line 44
If a selected application is not installed or its package name cannot be resolved, skip it and continue to the next priority.
- Distinctive: line 45
If randomly selecting a map application, choose only from installed map applications with a known package name.
- Distinctive: line 52
Use the phone’s current location to get the latitude and longitude.
- Distinctive: line 53
If location retrieval fails, notify the user:
- Distinctive: line 59
Check whether the user has previously navigated to the target destination.
- Distinctive: line 60
If the destination exists in navigation history, directly complete the full destination information.
- Distinctive: line 61
If no matching destination exists, determine whether the user’s input contains enough information to identify the destination.
- Distinctive: line 62
If the destination cannot be determined with enough confidence, ask the user to provide more information.
- Distinctive: line 66
If the user has not specified a travel mode, check whether a user travel mode preference exists.
- Distinctive: line 67
If no user travel mode preference exists, get the phone’s current location.
- Distinctive: line 72
If location retrieval succeeds, determine the best travel mode based on the relationship between the current location and the destination.
- Very specific: line 84
After determining the map application name, map application package name, destination, and travel mode, call map_navigate once.
- Distinctive: line 96
No map application is installed.
- Distinctive: line 104
Do not ask the user for missing information unless the destination cannot be determined.
- Very specific: line 106
Always resolve and pass the selected map application package name to map_navigate.
- Very specific: line 107
Never call retired route-specific tools such as map_drive or map_walk.
- Distinctive: line 108
Prefer navigation history when it can complete the destination.
- Distinctive: line 109
Use current phone location as the starting point.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Route Navigation Planning Agent Skill
Skill Name
Route Navigation Planning
Description
This skill is used by an Android agent to plan and start route navigation based on the user’s destination, preferred map application, current phone location, installed map applications, last used map application, and travel mode.
The agent should determine the map application name and package name, starting point, destination, and travel mode, then invoke the corresponding map navigation tool and monitor the screen until the target map application enters navigation mode.
Goal
Start route navigation for the user using an appropriate map application and travel mode.
Required Tools
get_installed_map_appsget_locationmap_navigate
Workflow
1. Determine the Map Application
The selected map application must include both the application display name and the package name. The package name is required when invoking the map navigation tool because deep links may fail or open the wrong target without it.
- Get the list of currently installed map applications on the phone, including each application’s display name and package name.
If no map application is installed, notify the user:
No map application is currently available. Task terminated.- Select the map application using the following priority order:
- The map application explicitly specified in the user’s current input.
- The map application extracted from user preferences.
- The last used map application.
- A randomly selected installed map application.
- If a selected application is not installed or its package name cannot be resolved, skip it and continue to the next priority.
- If randomly selecting a map application, choose only from installed map applications with a known package name.
- The final selected map application must be represented as:
map_app_namemap_app_package_name
2. Determine the Starting Point
- Use the phone’s current location to get the latitude and longitude.
If location retrieval fails, notify the user:
Failed to get location.
3. Determine the Destination
- Check whether the user has previously navigated to the target destination.
- If the destination exists in navigation history, directly complete the full destination information.
- If no matching destination exists, determine whether the user’s input contains enough information to identify the destination.
- If the destination cannot be determined with enough confidence, ask the user to provide more information.
4. Determine the Travel Mode
- If the user has not specified a travel mode, check whether a user travel mode preference exists.
- If no user travel mode preference exists, get the phone’s current location.
If location retrieval fails, notify the user:
Failed to get location.- If location retrieval succeeds, determine the best travel mode based on the relationship between the current location and the destination.
Map the selected travel mode to exactly one supported travelMode value:
- Driving:
driving - Walking:
walking - Cycling:
bicycling - Electric bicycle:
electric_bicycling - Public transportation:
public_transport
5. Start Map Navigation
- After determining the map application name, map application package name, destination, and travel mode, call
map_navigateonce. - Pass the resolved destination as
destinationand the exact value from the travel mode mapping astravelMode. - Pass
packageName=map_app_package_name. Do not pass the application display name aspackageName.
Completion Criteria
The task is complete when the selected map application successfully enters the corresponding navigation mode.
Failure Conditions
The skill should terminate and notify the user when any of the following occurs:
- No map application is installed.
- The phone location cannot be retrieved.
- The destination cannot be determined and the user does not provide enough additional information.
- The selected map application package name cannot be resolved.
- The map navigation tool fails to open navigation.
Agent Behavior Requirements
- Do not ask the user for missing information unless the destination cannot be determined.
- Select the map application in this order: user’s current input, extracted user preference, last used map application, random installed map application.
- Always resolve and pass the selected map application package name to
map_navigate. - Never call retired route-specific tools such as
map_driveormap_walk. - Prefer navigation history when it can complete the destination.
- Use current phone location as the starting point.
- Select the map application automatically when the user does not specify one.
- Select the travel mode automatically when the user does not specify one.
- Automatically handle location permission dialogs and common blocking pop-ups.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

