agentmemory-hooks
하는 일
이 스킬은 코딩 세션에서 일어나는 일을 기록하는 agentmemory 플러그인 훅을 설명합니다. 자동 캡처가 어떻게 작동하는지, 그리고 기록되고 있는지 확인하는 방법을 보여 줍니다.
사용하는 경우
- ✓모든 메모를 직접 저장하지 않고도 코딩 세션 활동이 캡처되기를 원할 때.
- ✓메모리에서 관찰 내용이 빠져 있는 것 같을 때.
- ✓자동으로 기록되는 항목을 조정하고 싶을 때.
스킬 링크
https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/agentmemory-hooks/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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
handoffresume it. - Tool-use hooks capture what changed and why, the raw material for
recallandrecap. - Prompt-submit captures intent. Pre-compact preserves context before the host trims it.
- A post-commit hook links commits to sessions, which powers
commit-contextandcommit-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.
댓글
- …
이 저장소의 다른 스킬
agentmemory-agents
30k에이전트가 agentmemory 메모리 서버를 Claude Code, Cursor, Codex 같은 코딩 도구에 연결하도록 돕습니다.
agentmemory-architecture
30kagentmemory가 메모리를 저장하고, 검색하고, 관리하는 방식을 저장 순간부터 회상까지 설명합니다.
agentmemory-config
30k에이전트가 포트, 설정, 기능 플래그를 포함해 agentmemory 메모리 서버를 설정하고 점검하도록 돕습니다.
agentmemory-mcp-tools
30k에이전트가 메모 저장, 검색, 관리 작업에 맞는 agentmemory 도구를 고르도록 돕습니다.
비슷한 스킬
mcporter
394k에이전트가 HTTP나 stdio로 MCP 서버와 그 도구를 목록화하고, 호출하고, 점검하며, 로그인 설정을 관리하도록 돕습니다.
fastmcp
260kAPI, 데이터베이스, 파일에 AI 어시스턴트가 도구로 접근할 수 있도록 Python MCP 서버를 만들고 테스트하고 배포하도록 돕습니다.
mcp-oauth-remote-gateway
260kHermes가 서버에서 실행될 때 일반 브라우저 로그인이 닿지 않는 경우를 위해, 원격 MCP 서버의 OAuth 로그인을 단계별로 안내합니다.