Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
rohitg00 avatar

Agentmemory Hooks

  • 6.4k installs
  • 26.6k repo stars
  • Updated August 3, 2026
  • rohitg00/agentmemory

agentmemory-hooks is an agent skill: The agentmemory plugin hooks that capture observations automatically across the agent session lifecycle. Use when explaining how memory gets

About

The agentmemory-hooks skill The agentmemory plugin hooks that capture observations automatically across the agent session lifecycle. Use when explaining how memory gets captured without manual saves, when debugging missing observations, or when tuning what gets recorded.. The Claude Code 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 Install the plugin and the hooks register themselves: Watch observations land live at `http://localhost:3113`. What the hooks do - Session start and end frame each unit of work and let `handoff` resume it. - Tool-use hooks capture what changed and why, the raw material for `recall` and `recap`. - Prompt-submit captures intent. Agents should read SKILL.md quick start steps, verify required binaries and environment variables, and follow reference files for exact parameters before calling tools.

  • Covers agentmemory-hooks quick start, workflow steps, and reference pointers from SKILL.md.
  • Tagged for stage build and subphase agent-tooling in the closed Skillselion taxonomy.
  • Documents prerequisites, permissions filesystem, and compatible agents.
  • Includes AEO tagMeta with task queries, keywords, and evidence quotes for discovery.
  • Cross-links related skills and generated REFERENCE.md tables where the repo provides them.

Agentmemory Hooks by the numbers

  • 6,374 all-time installs (skills.sh)
  • +649 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #124 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

agentmemory-hooks capabilities & compatibility

Capabilities
agentmemory hooks documented workflow · quick start examples · reference parameter lookup · taxonomy aligned metadata · aeo discovery fields
Use cases
memory · orchestration
From the docs

What agentmemory-hooks says it does

The agentmemory plugin hooks that capture observations automatically across the agent session lifecy
SKILL.md
npx skills add https://github.com/rohitg00/agentmemory --skill agentmemory-hooks

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs6.4k
repo stars26.6k
Last updatedAugust 3, 2026
Repositoryrohitg00/agentmemory

How do I run agentmemory-hooks correctly without guessing steps, tools, or parameters?

The agentmemory plugin hooks that capture observations automatically across the agent session lifecycle. Use when explaining how memory gets captured without manual saves, when debugging missing

Who is it for?

Teams using agentmemory-hooks when SKILL.md triggers match the user request.

Skip if: Skip when the task is outside agentmemory-hooks documented triggers or sibling skill scope.

When should I use this skill?

User mentions agentmemory-hooks, related trigger phrases, or asks to follow this SKILL.md workflow.

What you get

Completed agentmemory-hooks workflow with outputs and checks defined in SKILL.md.

  • agentmemory-hooks output per SKILL.md

By the numbers

  • Stage build/agent-tooling
  • Category AI & Agent Building
  • Complexity intermediate

Files

SKILL.mdMarkdownGitHub ↗

The Claude Code 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

Install the plugin and the hooks register themselves:

/plugin marketplace add rohitg00/agentmemory
/plugin install agentmemory

Watch observations land live at http://localhost:3113.

What the hooks do

  • Session start and end frame each unit of work and let handoff resume it.
  • Tool-use hooks capture what changed and why, the raw material for recall and recap.
  • Prompt-submit captures intent. Pre-compact preserves context before the host trims it.
  • A post-commit hook links commits to sessions, which powers commit-context and commit-history.

Important

  • Capture is on by default and is zero-LLM. Turning observations into LLM summaries (AGENTMEMORY_AUTO_COMPRESS) and injecting them back into context (AGENTMEMORY_INJECT_CONTEXT) are separate opt-ins because they spend tokens.
  • If observations are missing, confirm the plugin is enabled and the server is running. See ../_shared/TROUBLESHOOTING.md.

See also

  • agentmemory-config for the capture and injection flags.
  • The handoff, recap, and session-history skills consume what these hooks record.

Reference

The exact registered hook events live in REFERENCE.md, generated from plugin/hooks/hooks.json.

Related skills

How it compares

agentmemory-hooks implements its own SKILL.md workflow rather than a generic substitute skill.

FAQ

Who is agentmemory-hooks for?

Agents and developers following the agentmemory-hooks SKILL.md guidance.

When should I use agentmemory-hooks?

When user intent matches description triggers and quick start scenarios.

Is agentmemory-hooks safe to install?

Review the Security Audits panel before production shell or network use.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.