CommunityProductivity & Collaborationgithub.com

location-aware-scheduler

Looks up a place with a maps tool before creating a calendar event or task, and asks when the match is ambiguous. Use when scheduling anything at an address, venue, street, or area.

What is location-aware-scheduler?

location-aware-scheduler is a Claude Code agent skill that looks up a place with a maps tool before creating a calendar event or task, and asks when the match is ambiguous. Use when scheduling anything at an address, venue, street, or area.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ilyaabramovich/skills/tree/HEAD/skills/location-aware-scheduler

Installed? Explore more Productivity & Collaboration skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does location-aware-scheduler do?

Look up the place before you write the calendar event or task, so the entry stores a real address instead of whatever the user typed.

Tools

This skill works with whatever tools the agent has. It needs:

  • A place lookup: a maps or places search, such as Google Maps, Apple Maps, OpenStreetMap/Nominatim, or a web search as a last resort.
  • A writer: a calendar tool (Google Calendar, Outlook, CalDAV, and so on) or a task tool (Google Tasks, Todoist, Reminders, and so on).

If there is no place lookup tool, say so once, then create the item with the user's literal text and label it unverified. If there is no writer tool, give the user the resolved details so they can add the item themselves.

Steps

  1. Parse the request. Pull out:
    • kind: event if the request gives a time or time slot, otherwise task. If the user says "event" or "remind me", do what they said.
    • title, start/due, duration (default 1 hour for events), and raw_location.
    • If there is no location, skip to step 5.
  2. Look up the place before any create call. Bias the search toward a city the user names, then toward the user's known location or timezone. Do not add a city the user never implied.
  3. Decide how confident the match is.
    • Confident: exactly one result plausibly matches. This covers a full street address, a unique venue name, or a chain branch the user named with a city or neighborhood.
    • Not confident: no results, several plausible results (chains, a street name with no number, a whole neighborhood), or a result in a different city than expected.
  4. Act on the confidence.
    • Confident: set the location to <Place Name>, <Formatted Address> and go to step 5.
    • Not confident: create nothing yet. Show up to 3 candidates (name and full address) and ask which one to use. Also offer to use the text exactly as the user wrote it. Once they pick one, go to step 5.
    • If the user said to use the text as written ("just put 'Mom's place'"), skip the lookup and use their text.
  5. Create the item. Use the timezone of the place when it is known, otherwise the user's timezone. Resolve relative dates ("tomorrow", "next Friday") against the current date, and state the absolute date in your reply.
  6. Confirm in one or two lines: what you created, when, and where. Include a maps link if the lookup tool returned one.

Examples

  • "Add dentist at Dizengoff 120 tomorrow at 10am": Look up "Dizengoff 120". It resolves to one address in Tel Aviv. Create the event for tomorrow, 10:00 to 11:00, with location Dizengoff St 120, Tel Aviv-Yafo, Israel, then confirm it with the date.
  • "Remind me to pick up film on Allenby next Friday": "Allenby" is a whole street, so create nothing yet. List up to 3 photo or film shops on Allenby with their addresses, and ask which one to use or whether to keep "Allenby" as written.
  • "Lunch with Dana at Starbucks Friday 1pm": This is a chain and no branch was named. If the user's area is known and exactly one branch is clearly nearest, still show it and ask, because the choice is a guess. Otherwise list the nearby branches.
  • "Call the landlord tomorrow": There is no place, so create the task without a lookup.

Gotchas

  • Do not copy a failed or ambiguous raw_location into the location field without asking the user.
  • Do not create the item and fix the location afterwards. Edits and duplicates are worse than one question.
  • Event timezones: a 10am meeting in another city means 10am in that city's timezone, unless the user says otherwise.
  • Task tools often have no location field. In that case, put the resolved address in the notes or description.

Related Skills