meter
by PiPercentHuman · ★ 7 · updated 14 days ago
Changes nothing. Writes every request's token counts and every compaction to .meter/log.jsonl.
Install
git clone https://github.com/PiPercentHuman/agentjournalclaude --plugin-dir ./agentjournal/mod/mods/meterThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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
turn.stepsession.compactsession.measure- API calls
$.clock.now$.fs.write- Can see
compaction- Reach
- level 2 of 3 writes files
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/PiPercentHuman/agentjournal
- Path in repo
mod/mods/meter- Source commit
a6c6d4fthe exact code the scan read- Author
- @PiPercentHuman
- 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.
More from PiPercentHuman/agentjournal
agentjournal
PiPercentHuman/agentjournal
A memory for long jobs: your instructions pinned word for word with their updates, one line per action, a fold made by code when the context fills, and a clear of its own when the agent finishes a topic.
plain-cut
PiPercentHuman/agentjournal
Answers compaction with plain code: the first message and the last few steps, nothing summarised.