agent-history

by Chris Cook · ★ 0 · updated 9 days ago

PanesStatus lineCommandswarnings

0

Agent History: exports every Claude Code session and its subagents to a folder, and commits and pushes it when the folder is a git repository

install agent-history

Install

git clone https://github.com/zirkelc/agent-history
claude --plugin-dir ./agent-history/claude-code

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.Stopclassic.SubagentStopsession.endcommand.runui.render
API calls
$.clock.after$.clock.now$.clock.sleep$.command.register$.env.get$.fs.exists$.fs.read$.fs.stat$.fs.write$.process.run$.process.spawn$.session.id$.state.get$.state.set$.ui.close$.ui.open$.ui.resolve$.ui.status
Draws
Pane
Can see
classic hooks
Reach
level 2 of 3 runs processeswrites filesreads filesreads env varsreads mod 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/zirkelc/agent-history
Path in repo
claude-code
Source commit
7f8f552 the exact code the scan read
Author
Chris Cook @zirkelc
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.