Repository navigation
Releases
Releases · localixai/plugins
tokendoctor 0.8.0
A full audit of tokendoctor: one serious bug fixed in the slide, an undo that covers every fix, and an audit that agrees with Claude Code's docs again.
- The slide no longer touches a call that has not run. It could replace a long input, such as a Bash heredoc or a message to a subagent, with its pointer text while the call was still waiting, and then that text ran instead of your command. Inputs are now shortened only after their result is in the conversation, and a second "yes" typed in a row is no longer dropped as a copy.
tokendoctor-undoputs back every fix. Deny rules, removed hooks and installed files are journalled too, a status line script and the setting that runs it go back together, and a write that fails halfway leaves nothing behind.- The audit reads what Claude Code reads. It honours
skillOverrides, followsCLAUDE_CODE_SUBAGENT_MODELfor agents without a model, reads managed, local, project and user settings in that order, and counts AGENTS.md, CLAUDE.local.md and unscoped rules. Advice the docs contradict is fixed (Explore's model, advisor pairs, fast mode,/compactunderDISABLE_COMPACT), and there are five new checks. - The reports add up. Sessions kept their id again, so the keepalive estimate no longer treats all your sessions as one. Mythos is counted, fast mode and 5 minute and 1 hour cache writes are priced as the pricing page lists them, and
/tokendoctor:sessionsand the dashboard now give the same totals. - Safer by default. The status line never evaluates text from its input,
tokendoctor-org-installprints thesudocommands for you to run instead of running code from your user folder as root, the dashboard writes only into its own folder (0600), and secrets in settingsenvstay out oftokendoctor-audit --json.
Update: claude plugin marketplace update tokendoctor. Full notes in CHANGELOG.md.
tokendoctor 0.7.0
The prompt cache can stay warm through a break.
- Keep the cache warm (
/tokendoctor keepalive on, off by default). Come back after the prompt cache's hour and the next message writes the whole conversation into it again, at twice the input price. Six minutes before the hour runs out, tokendoctor sends a one-word fork of the conversation, which reads it from the cache and starts the hour again. Only for conversations of 200K tokens or more, and only when it knows the cache is still warm; anything it cannot read, a ping that had to write the conversation back, a rate limit or an error, and it stops until your next message. Checked on a live session on Sonnet 5.5: a message 70 minutes after the one before it, with a ping at minute 54, still read the whole conversation from the cache. /tokendoctor:sessionssays what it would have saved you (keepalive-would-save), replaying the same rules over your past pauses.- Docs: tokendoctor.localix.ai/docs/keepalive, and every docs page now has a Copy page button.
Update: claude plugin marketplace update tokendoctor. Full notes in CHANGELOG.md.
tokendoctor 0.6.1
Counting fixes: forked and resumed sessions, the --days period, and prices for the new models.
- A forked or resumed session counts once. A fork's transcript starts with a copy of the one it came from; every report read each copy in full, so a session forked twice counted three times (on one machine the total was 49% over). Each copy now counts only what it added.
--dayscounts what happened in those days, not whole transcripts whose file changed in the period.- Fable 5.2 and Mythos 5.2 have prices. Their responses were counted as unpriced and left out of every report.
- The repository moved to github.com/localixai/tokendoctor. The old address redirects.
- A shorter README that starts from the replay of your own last 30 days.
Update: claude plugin marketplace update tokendoctor. Full notes in CHANGELOG.md.
awake 0.3.0
- Work that sends no event keeps the computer awake too, in Claude Code: a model turn still
running, a tool call that takes long, and background work the agent waits on after it answered
(a build started withrun_in_background, a background subagent, a monitor). While any of these
lasts, the plugin marks the activity once a minute; when it ends, the hold runs out as before.
Waiting for a person does not count, and neither do scheduled wakeups. - The status line says what the hold waits on:
awake: waiting: 1 taskwhile it is held for
background work, so a server left running in the background is seen. - The plugin still changes no setting: the mark is one file's time in its own folder, written only
when the hook has made that folder, with no process started.AWAKE=offturns it off too.
Update in Claude Code:
claude plugin marketplace update awake
claude plugin update awake@awakeawake 0.2.0
- The status line shows how long the computer stays awake in Claude Code:
awake: 14mwhile it
is held,awake: not heldwhen the system refused the hold, and nothing once no agent has worked
for the window. It reads two files' times when the label would change (the next minute down, the
end of the hold), at least every 30 seconds, and a second after each prompt; it starts no
process.AWAKE=offhides it too.
Update in Claude Code:
claude plugin marketplace update awake
claude plugin update awake@awakeawake 0.1.0
- The computer stays awake while an agent works. Every prompt, tool call, subagent, compaction
and answer marks the activity. One keeper process per user holds the computer awake
(caffeinate -dimson macOS,systemd-inhibiton Linux) and ends 15 minutes after the last
activity, taking the hold with it.AWAKE_SECONDSsets the window,AWAKE=offturns it off. - One hold for every agent. Sessions, clients and parallel tool calls share the one keeper. The
hook is a short shell script: it marks the activity and starts a keeper only when none runs. - Claude Code and the Agent Plugins core. The plugin carries both manifests and both hook
files, so the same folder loads in Claude Code and in any client of the core. awake statussays whether the computer is held awake and, when it is not, why.
Install in Claude Code:
claude plugin marketplace add localixai/awake
claude plugin install awake@awake