
Agentmemory Hooks
This plugin wires up automatic memory capture across Claude Code sessions so you don't have to manually save observations. It hooks into session boundaries, tool execution, prompt submission, and git commits to record what happened and why, feeding the recall and handoff workflows. The capture itself is zero-LLM and runs by default, though turning those raw observations into summaries or injecting them back into context costs tokens and requires opt-in flags. If you're debugging why certain work isn't showing up in session history or you want to tune what gets recorded, this is where that machinery lives. The hooks register themselves when you install the agentmemory plugin, and you can watch observations stream in at localhost:3113.
- skills.sh installs
- 11.3K
- GitHub stars
- 30.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add rohitg00/agentmemory --skill agentmemory-hooks --agent claude-codeInstalls into .claude/skills of the current project.
Files
The agentmemory plugin registers lifecycle hooks so memory is captured automatically. You do not have to call memory_save for routine work; the hooks observe tool use, prompts, and session boundaries and write observations for you.
Quick start
For Claude Code, install its plugin:
/plugin marketplace add rohitg00/agentmemory
/plugin install agentmemory
For Devin CLI and Devin Desktop, install the plugin and start a new session:
devin plugins install rohitg00/agentmemory#plugin
Run /hooks inside Devin to confirm the agentmemory hooks are loaded. Plugin hooks run only in local Devin sessions, not in cloud sessions.
Pi and OMP install native recall and capture with agentmemory connect pi --with-mcp or agentmemory connect omp --with-mcp. Reload Pi or restart OMP, then inspect /agentmemory-status. DSH requires agentmemory connect dsh --with-hooks and a restart. Cursor lifecycle hooks come from its enabled plugin, separately from connect cursor's MCP setup.
Sponsors
Details
- Repository
- github.com/rohitg00/agentmemory
- Categories
- Frontend Development, AI & Agent Building, Debugging
- First seen
- Jul 14, 2026