Text commute info

From zocomputer/skills · View interactive version

Text commute info is an AI agent skill from the GitHub repository zocomputer/skills. Gets your commute time and route options, then texts you the details

How to use this skill

Skill file

Prerequisites


Inputs


Protocol

  1. Build the correct URL for the Google Maps API URL as following:\

https://www.google.com/maps/dir/?api=1&origin=<ORIGIN>&destination=<DESTINATION>&travelmode=<TRAVELMODE> where <ORIGIN> is the user's provided origin, <DESTINATION> is the user's provided destination, and <TRAVELMODE> is the user's requested travel mode.

  1. Use tool view_webpage to view the URL you constructed.
  2. Using tool send_sms_to_user, relay the information from the page to the user, giving them the top two travel options with their estimated travel time. If transit, explicitly list every train or bus line and transfer used in a route (e.g. Take the M, then G, then L). Also include the URL so the user can see the route on Google Maps.
  3. Inform the user that they can repeat this workflow as a Rule or Agent Task. For example, a Rule could be
When I text you asking for commute info, use `prompt Prompts/text-commute-info.prompt.md` but IGNORE step 4.

and an Agent Task could be set to run daily in the morning so that the user can be prepared for going to work or school. If the user wants this, use tool create_scheduled_task with delivery_method: "sms" and instruction:

Run `prompt Prompts/text-commute-info.prompt.md` with origin <ORIGIN>, destination <DESTINATION>, and travel mode <TRAVELMODE>, but IGNORE step 4
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.