token-almanac

by CookPiu · ★ 0 · updated 6 days ago

PanesBandsCommandsPromptvalidates

0

Session and machine-wide token usage, plan limit meters with reset countdowns, and an estimate of how long each limit lasts, fitted to your own history.

install token-almanac

Install

/plugin marketplace add CookPiu/token-almanac
/plugin install token-almanac@token-almanac

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startclassic.UserPromptSubmitsession.measureturn.completesession.endcommand.runui.render
API calls
$.clock.after$.clock.every$.clock.now$.clock.sleep$.command.register$.env.get$.fs.read$.process.run$.session.id$.session.root$.session.usage$.settings.read$.state.get$.state.set$.store.get$.store.set$.ui.close$.ui.invalidate$.ui.log$.ui.open$.ui.resolve
Draws
AbovePromptPane
Can see
classic hooks
Reach
level 2 of 3 runs processesreads filesreads env varsreads settingsreads mod statepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/CookPiu/token-almanac
Path in repo
repository root
Source commit
6675578 the exact code the scan read
Author
@CookPiu
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.