본문으로 건너뛰기
Skillpedia
커넥터 (MCP)30k · #9342

agentmemory-hooks

하는 일

이 스킬은 코딩 세션에서 일어나는 일을 기록하는 agentmemory 플러그인 훅을 설명합니다. 자동 캡처가 어떻게 작동하는지, 그리고 기록되고 있는지 확인하는 방법을 보여 줍니다.

사용하는 경우

  • ✓모든 메모를 직접 저장하지 않고도 코딩 세션 활동이 캡처되기를 원할 때.
  • ✓메모리에서 관찰 내용이 빠져 있는 것 같을 때.
  • ✓자동으로 기록되는 항목을 조정하고 싶을 때.

스킬 링크

https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/agentmemory-hooks/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/agentmemory-hooks/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 코딩 세션이 agentmemory에 저장되지 않고 있습니다. 캡처 훅이 작동하는지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

플러그인은 도구 사용, 프롬프트, 세션 경계를 관찰하는 수명 주기 훅을 등록합니다. 관찰 내용을 자동으로 기록하며, 로컬 뷰어에서 그 내용을 확인할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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.

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. A pending capture queue is not proof that the daemon stored the event.

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

  • The plugin hooks capture by default without an LLM. Per-observation LLM compression (AGENTMEMORY_AUTO_COMPRESS) and hook context injection (AGENTMEMORY_INJECT_CONTEXT) are separate options. Session summaries can use a configured LLM provider independently of automatic observation compression. Native integrations have their own recall/capture settings; inspect the host configuration instead of assuming these flags control every plugin.
  • If observations are missing, confirm the plugin is enabled and the server is running. See 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.

자주 묻는 질문

메모를 직접 저장해야 하나요?

일상 작업에는 필요하지 않습니다. 훅이 관찰 내용을 자동으로 기록합니다.

왜 아무것도 캡처되지 않을 수 있나요?

연결만 설치한다고 자동 캡처가 켜지지 않으므로, 훅을 설치하고 불러와야 합니다.

무엇이 캡처되었는지 어떻게 볼 수 있나요?

브라우저에서 로컬 뷰어를 열어 기록된 관찰 내용을 볼 수 있습니다.

상세 정보

작성자의 원본 설명

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.

repo: rohitg00/agentmemory

인기도

GitHub 스타
30k
순위
#9342
라이선스
Apache-2.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬