Terminal
Terminal/Skill
Explains the hooks that record observations automatically during agent sessions, so you can debug missing memories or tune what gets saved.
By Rohit Ghumare
Works with
npx skills add rohitg00/agentmemory --skill agentmemory-hooksThe 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.
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.
Hermes and OpenClaw use their native integrations and lifecycle contracts. Follow the matching integration setup instructions and verify a real turn creates an observation. Installing shared skills or connecting MCP alone does not enable automatic capture. Watch recorded observations in the viewer at http://localhost:3113 when using the default port.
handoff resume it.recall and recap.commit-context and commit-history.AGENTMEMORY_AUTO_COMPRESS) and hook context injection (AGENTMEMORY_INJECT_CONTEXT) are separate options. Native integrations have their own recall/capture settings; inspect the host configuration instead of assuming these flags control every plugin.The exact registered hook events live in REFERENCE.md, generated from plugin/hooks/hooks.json.