history-keeper

by Daniil Bystrov · ★ 0 · updated 6 days ago

ReskinsCommandsPromptvalidates

0

Keep a copy of every Claude Code session that the 30-day cleanup cannot delete, as JSONL and readable markdown, with message times in the transcript and /history to list and search old sessions.

install history-keeper

Install

/plugin marketplace add Jvrd97/claude-history-keeper
/plugin install history-keeper@history-keeper

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.SessionStartclassic.UserPromptSubmitturn.completesession.endcommand.runsession.appendui.render
API calls
$.clock.now$.command.register$.env.get$.fs.exists$.fs.list$.fs.read$.fs.stat$.fs.write$.process.run$.session.id$.session.root$.state.get$.state.set$.ui.log$.ui.resolve
Draws
UserMessageAssistantMessage
Can see
classic hooks
Reach
level 2 of 3 other: $.state.getother: $.state.setruns processeswrites filesreads filesreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Jvrd97/claude-history-keeper
Path in repo
repository root
Source commit
2a2c97f the exact code the scan read
Author
Daniil Bystrov @Jvrd97
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.