# Agentmemory Hooks (agent skill)

> Agentmemory Hooks is an agent skill (a SKILL.md file) from rohitg00/agentmemory. The agentmemory plugin hooks that capture observations automatically across the agent session lifecycle. It works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode and has 29,188 GitHub stars across a repository of 6 listed skills.

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 memorysave for routine work; the hooks observe tool use, prompts, and session boundaries and write observations for you.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/rohitg00/agentmemory |
| Skill path | plugin/skills/agentmemory-hooks/SKILL.md |
| Skill name | agentmemory-hooks |
| GitHub stars | 29,188 |
| Installs on skills.sh | 2 |
| License | Apache-2.0 |
| Skills in repo | 6 |
| Plugin marketplace | agentmemory |
| Official | no |
| Works with | Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode |
| Category | Testing & QA |
| Last commit | Oct 6, 2026 |

## When it triggers

- Use when explaining how memory gets captured without manual saves, when debugging missing observations, or when tuning what gets recorded.

## Add this skill

### Claude Code

```sh
/plugin marketplace add rohitg00/agentmemory
/plugin install agentmemory@agentmemory
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/rohitg00/agentmemory.git
cp -r agentmemory/plugin/skills/agentmemory-hooks .agents/skills/agentmemory-hooks   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/rohitg00/agentmemory.git
cp -r agentmemory/plugin/skills/agentmemory-hooks .cursor/skills/agentmemory-hooks   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

skills.sh listing: https://www.skills.sh/rohitg00/agentmemory/agentmemory-hooks

---

Canonical page: https://appsgit.com/skills/rohitg00-agentmemory-hooks
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
