Status line: context used as altitude on the Leh to Khardung La road.

A Ladakh road trip above the Claude prompt. A Royal Enfield rides from Leh to Khardung La as your conversation's context window fills up.
/ride hides or shows it. Terminals that cannot draw images get a text track instead.Type this at the prompt of a terminal Claude Code session:
/plugin install ladakh-ride --marketplace shailendergoud2907/ladakh-ride
Answer y to add the marketplace, then pick the user scope.
claude plugin validate .
claude plugin test .
| Mod | What it does | Install |
|---|---|---|
| ride-status | Status line shows context used as altitude | /plugin install ride-status --marketplace shailendergoud2907/ladakh-ride |
| safe-ride | Blocks rm -rf on home or root, plain force-push, git reset --hard | /plugin install safe-ride --marketplace shailendergoud2907/ladakh-ride |
| tool-log | Side panel of tool calls, /tool-log | /plugin install tool-log --marketplace shailendergoud2907/ladakh-ride |
| done-chime | Chime and toast after a turn of 30 s or more (sound plays on macOS) | /plugin install done-chime --marketplace shailendergoud2907/ladakh-ride |
| limit-alert | Toast at 80% and 95% of the 5-hour limit | /plugin install limit-alert --marketplace shailendergoud2907/ladakh-ride |
| mba-voice | Adds a short working-style note to the system prompt | /plugin install mba-voice --marketplace shailendergoud2907/ladakh-ride |
| ladakh-tips | /ladakh prints a riding tip | /plugin install ladakh-tips --marketplace shailendergoud2907/ladakh-ride |
| ladakh-theme | Ladakh Dusk and Ladakh Glacier colour themes, pick with /theme | /plugin install ladakh-theme --marketplace shailendergoud2907/ladakh-ride |
| mba-shortcuts | /mba-shortcuts:case, :pitch, :redteam, :memo | /plugin install mba-shortcuts --marketplace shailendergoud2907/ladakh-ride |
/focus 25 now lives inside ladakh-ride and shows in the band.
hooks/register.tsx 20 lines1import type { Register } from 'claude-code'
2
3const LEH_M = 3500
4const KHARDUNG_LA_M = 5359
5
6export const register: Register = on => {
7 on('session.measure', async ($, e, next) => {
8 const tokens = e.context.tokens ?? 0
9 const percent =
10 e.context.percent ?? (e.context.window > 0 ? (tokens / e.context.window) * 100 : 0)
11 const p = Math.max(0, Math.min(100, Math.round(percent)))
12 const metres = Math.round(LEH_M + ((KHARDUNG_LA_M - LEH_M) * p) / 100)
13 void $.ui.status(
14 `Leh to Khardung La ${p}% (${String(metres).replace(/\B(?=(\d{3})+(?!\d))/g, ',')} m)`,
15 )
16
17 return next(e)
18 })
19}
20