James Washington
writing about archive utils free game ideas replays
Plugin

auto-handoff mod

If an AI task is still unfinished just before its cheap memory cache expires, it writes the hand-over note automatically.

built Oct 2026 Upgrading the AI's workbench

how it works

Claude Code function-hook mod (TypeScript) times the prompt-cache TTL (60 or 5 min) minus lead time, forks a cache-served request to write handoff.md, optional phone push.

Plugin: An add-on that extends another tool.

The code for this one lives in a private repo. This page explains the idea so you can build your own.

handoffmodprompt-cache

related

  • tmux window auto-titling Agent hook Names each terminal tab after what the AI is working on.
  • Status line: cost, rate limits, prompt-cache TTL Plugin A dashboard strip under the AI chat showing spend, usage limits and how long until its memory cache expires.
  • Continuity system: autopilot + context-budget relay Agent hook Keeps a long AI task moving without James typing 'yes go ahead' at every step, and passes the work to a fresh AI before the old one gets confused.
  • Handoff skill AI skill When an AI session gets too long and forgetful, it writes a precise note so a fresh session can carry on.
  • PostToolUse file soft-claim hook for agent collision detection Agent hook Every time an AI session edits a file, it quietly tells the dashboard, so two sessions editing the same file get flagged.
← everything I've built
© 2026 James Washington
github twitter rss