pi extension · v0.4.6
kankaku measures how long the agent actually worked — not the time it spent waiting on you.
pi install npm:kankaku$ /kankaku summary (today) orchestrator: work 41m12s, waiting 3m40s, 6 record(s), $0.82 subagent: work 18m05s, waiting 0m00s, 3 record(s), $0.31 tasks: 6, wall 44m52s, work 41m12s, $1.13 $ /kankaku sync uploaded 2, updated 1, skipped 4, failed 0 synced through 2026-09-20T18:42:11.000Z
A real /kankaku session
1. Install
One pi package.
2. Work
kankaku measures on its own.
3. See the numbers
/kankaku — or the hub, if connected.
Work vs. waiting
Splits what it worked from what it waited.
Subagents, no double-count
Never counts the same minute twice.
Crash recovery
A crash doesn't erase the record.
Hub, optional
Only if you connect it.
Tagged segments
Measures e.g. how much was review.
No-lock-in export
CSV or JSON, any time.
The hub: a dashboard, not just a terminal.




- Local by default — no hub, no network calls.
- Prompt text never uploads unless you turn it on.
- Self-hosted hub — no third party.
Better with Engram
If you work with Engram, the hub also tells you what got done.
- Each session comes out with its goal, not just an id.
- The summary of what got done, next to time and cost.
- Without Engram, nothing changes.
Available kankaku on npm. Coming soon The hub — on an unreleased branch.
Install
pi install npm:kankakuView on GitHub · github.com/soyunninja/kankaku