Place Setup
Help the user register, view, and manage their known places. These places power all location-aware features — arrival/departure detection, trajectory tracking, commute stats, overwork alerts, and context injection.
When to Use
- User says "save this place", "register home", "add my office", "set up places"
- User asks "what places do I have", "show my places", "where is my home set"
- User wants to remove or update a place
- User just installed the plugin and needs initial setup
- First-time setup: guide the user to register at least HOME and COMPANY
When NOT to Use
- User is asking about their current location (use
clawpaw_get_context directly)
- User is asking for nearby places to visit (use food-finder or clawpaw_nearby)
Workflow: Register a New Place
Option A: User is currently at the place
- Call
clawpaw_get_context to get current coordinates
- Call
clawpaw_reverse_geocode with the coordinates to get a human-readable address
- Confirm with the user: "You're currently at [address]. Save this as [label]?"
- Call
clawpaw_save_place with:
tag: HOME, COMPANY, or OTHER
label: user-provided name (e.g. "Home", "Office", "Gym")
latitude / longitude: from current location
radiusKm: 0.3 for precise places (apartment, office building), 0.5 for general areas
Option B: User provides an address
- Call
clawpaw_geocode with the address to get coordinates
- Confirm coordinates and resolved address with the user
- Call
clawpaw_save_place with the resolved coordinates
Option C: User provides coordinates directly
- Call
clawpaw_save_place directly with the provided lat/lng
Workflow: View Places
- Call
clawpaw_get_places
- Format output:
📍 Your registered places:
1. 🏠 Home — (lat, lng) r=0.3km
2. 🏢 Office — (lat, lng) r=0.5km
3. 🏋️ Gym — (lat, lng) r=0.3km
Use icons based on tag: 🏠 HOME, 🏢 COMPANY, 📌 OTHER
Workflow: Remove a Place
- Call
clawpaw_get_places to show the list
- Ask the user which one to remove
- Call
clawpaw_remove_place with the place ID
- Confirm removal
Tag Selection Guide
| Tag |
When to use |
Examples |
| HOME |
User's residence |
Home, Apartment, Parents' house |
| COMPANY |
Workplace |
Office, Co-working space, Studio |
| OTHER |
Everything else |
Gym, School, Favorite café, Supermarket |
Radius Guide
| Place type |
Recommended radius |
| Apartment / House |
0.2 - 0.3 km |
| Office building |
0.3 - 0.5 km |
| Campus / Park |
0.5 - 1.0 km |
| General area |
1.0 km |
First-Time Setup
If the user has no places registered, proactively guide them:
Looks like you haven't set up any places yet. Location-aware features (trajectory tracking, overwork alerts, commute stats) work best with at least a Home and Office registered.
Want to set them up now? You can:
1. Save your current location as a place
2. Tell me an address to register
1---2name: place-setup3description: Register and manage known places (home, office, gym, etc.) for location-aware features4---56# Place Setup78Help the user register, view, and manage their known places. These places power all location-aware features — arrival/departure detection, trajectory tracking, commute stats, overwork alerts, and context injection.910## When to Use1112- User says "save this place", "register home", "add my office", "set up places"13- User asks "what places do I have", "show my places", "where is my home set"14- User wants to remove or update a place15- User just installed the plugin and needs initial setup16- First-time setup: guide the user to register at least HOME and COMPANY1718## When NOT to Use1920- User is asking about their current location (use `clawpaw_get_context` directly)21- User is asking for nearby places to visit (use food-finder or clawpaw_nearby)2223## Workflow: Register a New Place2425### Option A: User is currently at the place26271. Call `clawpaw_get_context` to get current coordinates282. Call `clawpaw_reverse_geocode` with the coordinates to get a human-readable address293. Confirm with the user: "You're currently at [address]. Save this as [label]?"304. Call `clawpaw_save_place` with:31 - `tag`: HOME, COMPANY, or OTHER32 - `label`: user-provided name (e.g. "Home", "Office", "Gym")33 - `latitude` / `longitude`: from current location34 - `radiusKm`: 0.3 for precise places (apartment, office building), 0.5 for general areas3536### Option B: User provides an address37381. Call `clawpaw_geocode` with the address to get coordinates392. Confirm coordinates and resolved address with the user403. Call `clawpaw_save_place` with the resolved coordinates4142### Option C: User provides coordinates directly43441. Call `clawpaw_save_place` directly with the provided lat/lng4546## Workflow: View Places47481. Call `clawpaw_get_places`492. Format output:5051```52📍 Your registered places:53541. 🏠 Home — (lat, lng) r=0.3km552. 🏢 Office — (lat, lng) r=0.5km563. 🏋️ Gym — (lat, lng) r=0.3km57```5859Use icons based on tag: 🏠 HOME, 🏢 COMPANY, 📌 OTHER6061## Workflow: Remove a Place62631. Call `clawpaw_get_places` to show the list642. Ask the user which one to remove653. Call `clawpaw_remove_place` with the place ID664. Confirm removal6768## Tag Selection Guide6970| Tag | When to use | Examples |71|-----|-------------|---------|72| HOME | User's residence | Home, Apartment, Parents' house |73| COMPANY | Workplace | Office, Co-working space, Studio |74| OTHER | Everything else | Gym, School, Favorite café, Supermarket |7576## Radius Guide7778| Place type | Recommended radius |79|------------|-------------------|80| Apartment / House | 0.2 - 0.3 km |81| Office building | 0.3 - 0.5 km |82| Campus / Park | 0.5 - 1.0 km |83| General area | 1.0 km |8485## First-Time Setup8687If the user has no places registered, proactively guide them:8889```90Looks like you haven't set up any places yet. Location-aware features (trajectory tracking, overwork alerts, commute stats) work best with at least a Home and Office registered.9192Want to set them up now? You can:931. Save your current location as a place942. Tell me an address to register95```