usage

usage 0.30.3

Tools and page contents
On this page

New 2

01

Token Saver keeps short replies plain and clear with term glosses and next steps

⟦Like a manager briefing a team handoff: keeping updates brief while speaking plain language, adding a quick plain-words gloss whenever technical jargon is unavoidable, closing with the result and next action, and immediately swapping out obsolete guidelines.⟧ Token Saver now keeps concise replies easy to understand. In usage_terse_mode.py, _DEFAULT_INSTRUCTION pairs plain language directly alongside brevity, adds a one-time explanation for unavoidable technical terms, and instructs responses to conclude with the concrete result and next step; usage_terse_reminder.py's _DEFAULT_REMINDER reinforces this exact requirement. Furthermore, TERSE_HOOK_VERSION in installer/session_hooks.py was bumped so _self_heal_terse_mode() actively replaces existing sidecar config files instead of leaving them on outdated prompt phrasing.

Original changelog

**Token Saver now keeps short replies easy to understand.** usage_terse_mode.py's _DEFAULT_INSTRUCTION now makes plain language the style alongside brevity, adds a one-time gloss for unavoidable technical terms, and asks replies to close with the result and next step; usage_terse_reminder.py's _DEFAULT_REMINDER reinforces the same rule. TERSE_HOOK_VERSION in installer/session_hooks.py was bumped so _self_heal_terse_mode() replaces existing sidecars instead of leaving them on the old wording.

02

Token Saver guidance reconciles rules and loads prompt in your language

Token Saver's prompt instructions now reconcile internal rules and launch directly in your local language. In usage_terse_mode.py, _DEFAULT_INSTRUCTION now permits an opening greeting emoji and a one-line tool intent while keeping them strictly outside the reply body. Inside installer/session_hooks.py, _write_terse_sidecar() writes the output of detect_lang() under lang, and _read_sidecar() / _detect_lang() in both hook scripts parse it after checking environment overrides. Consequently, sessions lacking explicit language environment variables no longer fall back to the longer English prompt; missing or corrupted sidecar files still safely default to English. ⟦It is like a multilingual reception desk: permitting the greeter to wave and display a one-line badge while keeping the response brief, handing visitors brochures in their native language instead of defaulting to a bulky English manual, and using English only as a safe fallback when records are lost.⟧

Original changelog

**Token Saver's guidance now agrees with itself and starts in your language.** usage_terse_mode.py's _DEFAULT_INSTRUCTION now permits the opening-greeting emoji and a one-line tool intent while still excluding them from the reply body. _write_terse_sidecar() in installer/session_hooks.py records detect_lang() under lang, and _read_sidecar() / _detect_lang() in both hook scripts read it after environment overrides, so sessions without language variables no longer default to the longer English prompt; missing or corrupt sidecars still safely fall back to English.

Fixed 1

03

Existing reminder hooks upgrade automatically instead of staying stale

After upgrading usage, existing Token Saver reminder hooks now update themselves to the latest version automatically. Previously, _self_heal_terse_reminder() in installer/session_hooks.py only intervened when a script file or its registration was entirely missing, leaving older installed scripts untouched on stale wording. The system now uses TERSE_REMINDER_HOOK_VERSION and _installed_terse_reminder_version() to compare version numbers and actively replace outdated script copies, logging an update_terse_reminder_hook event for future diagnostics. ⟦It is like a building inspector checking public address speakers: previously only replacing a unit if it was missing while leaving obsolete speakers in place, but now verifying serial numbers, actively replacing aged hardware, and logging the maintenance in service records.⟧

Original changelog

**Existing Token Saver reminder hooks now update instead of staying stale.** _self_heal_terse_reminder() in installer/session_hooks.py previously restored only a missing script or registration, leaving an installed older script unchanged. TERSE_REMINDER_HOOK_VERSION and _installed_terse_reminder_version() now compare versions and replace stale copies, recording update_terse_reminder_hook for diagnosis.