SuperAPI AI Directory

physical

General & other

View repository

Updated 10-16 09:30

About this skill

/physical - Physical Location Awareness

Check Nat's current physical location from FindMy data.

Usage

/physical

Data Source

  • Repo: laris-co/nat-location-data (GitHub)
  • Files: current.csv (now), history.csv (today's log)
  • Updated: Every 5 minutes via white.local cron
  • Source: FindMy via Sate's iMac

Instructions

Use a Haiku subagent to fetch and display location data:

# Run the location query script
bash .claude/skills/physical/scripts/location-query.sh all

Parse and display:

📍 Physical Status
═══════════════════

🏠 Currently At: [place column, or locality if empty]

| Device | Battery | Precision | Updated |
|--------|---------|-----------|---------|
[one row per device, sorted by accuracy]

📍 [address from iPhone row]
🗺️ Map: https://maps.google.com/?q=[lat],[lon]

⏱️ At this location: [X hours] (from TIME_AT_LOCATION section)

Known Places (with coordinates)

Place Lat Lon Type
cnx 18.7669 98.9625 airport
bkk 13.6900 100.7501 airport
dmk 13.9126 100.6067 airport
bitkub 13.7563 100.5018 office
maya 18.8024 98.9676 mall
central-cnx 18.8072 98.9847 mall
cmu 18.8028 98.9531 university
louis-office 13.7449 100.6238 office

Directions

If user asks "how far to X":

🛫 To [destination]:
- Distance: [calculate km]
- 🗺️ Directions: https://maps.google.com/maps?saddr=[lat],[lon]&daddr=[dest_lat],[dest_lon]