physical
/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:
# Locate the script (optimized search)
LOCATIONS=(
"$HOME/.config/opencode/command/physical/scripts/location-query.ts"
"./.opencode/command/physical/scripts/location-query.ts"
"$HOME/.claude/skills/physical/scripts/location-query.ts"
"./skills/physical/scripts/location-query.ts"
)
SCRIPT=""
for loc in "${LOCATIONS[@]}"; do
if [ -f "$loc" ]; then
SCRIPT="$loc"
break
fi
done
if [ -z "$SCRIPT" ]; then
# Fallback to slow search only if explicit paths fail
SCRIPT=$(find ~ -name location-query.ts -not -path "*/node_modules/*" 2>/dev/null | head -1)
fi
if [ -z "$SCRIPT" ]; then
echo "Error: location-query.ts not found. Check install."
else
bun "$SCRIPT" all
fi
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 |
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]
More from soul-brews-studio/oracle-skills-cli
philosophy
Display Oracle philosophy β the 5 Principles + Rule 6. Use when user asks about principles, "nothing deleted", "patterns over intentions", Oracle philosophy, or needs alignment check. Do NOT trigger for "who are you" (use /who-are-you), "what is oracle" (use /about-oracle), or session status questions.
50feel
Capture how the system feels β energy, momentum, burnout, breakthrough. Emotional intelligence for Oracle-human collaboration. Use when user says 'feel', 'how are we', 'energy check', 'burnout', 'momentum', or wants emotional awareness of the work.
36worktree
Work in an isolated git worktree β safe parallel editing, experimental branches, throwaway spikes. Use when user says "worktree", "isolate", "safe branch", "spike", "experiment", or wants to work without touching main.
29template
Skill template with Bun Shell pattern. Copy this folder to create new skills.
29schedule
Query schedule via Oracle API (Drizzle DB). Use when user says "schedule", "upcoming events", "what's on today", "calendar".
29forward
Create handoff + enter plan mode for next session. Use when user says "forward", "handoff", "wrap up", or before ending session.
29