ai-memory-durable-pages
하는 일
스킬은 에이전트가 나중에 읽을 수 있는 메모리 위키의 영구 페이지를 관리합니다. 특정 프로젝트 지식을 장기간 보관하고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓무엇인가를 영구적으로 기억해 달라고 명확히 요청할 때.
- ✓규칙, 주석, 프로젝트 메모를 메모리 위키에 저장하고 싶을 때.
- ✓기존 메모리 페이지를 업데이트하거나 삭제하고 싶은 경우.
스킬 링크
https://github.com/akitaonrails/ai-memory/blob/main/crates/ai-memory-core/src/routing_skills/ai-memory-durable-pages/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“우리 스테이징 데이터베이스는 매주 일요일 밤에 초기화된다는 것을 영구적으로 기억해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 제목이 있는 간결한 페이지를 쓰거나, 기존 페이지의 이름 붙은 섹션을 패치하거나, 경로로 페이지를 삭제합니다. 일상적인 세션 활동은 이 방식으로 저장하지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
ai-memory durable pages
Use this skill only for deliberate durable wiki mutations. Routine session capture is automatic, and permanent notes require an explicit user request.
Tools in this cluster
memory_write_pagewrites or replaces a durable wiki page for permanent project knowledge.memory_patch_pageatomically changes named Markdown sections in an existing page without re-emitting its frontmatter or unrelated body.memory_delete_pageremoves a durable wiki page by exact path.memory_restore_pagelists a page's checkpoints (norev) or writes an earlier version back (withrev), including a deleted page. It is admin only on a multi-user server and does not reachscope: "profile"pages.
Writing durable memory
Write a page only when the user explicitly asks to remember something permanently, save a note, add an annotation, or record project knowledge. Do not use durable pages for transient progress, normal status updates, or next-session context.
Put the page title as a # H1 on the first line of the body and omit the separate title argument. ai-memory derives the title from that H1. Keep the content concise and fact-like, with enough context that a future agent can apply it without rereading the whole session.
Optional top-level metadata: kind (64 characters), entities (10 names,
64 characters each, normalized and deduplicated), abstract (1,024 characters),
and relations (an object mapping causes, fixes, or contradicts to page
target arrays, 32 targets total, 1,024 characters each). Relation targets use
path, project:path, or workspace/project:path; extensionless page paths
resolve with .md, and scope components must already be trimmed. Limits apply
to raw values before trimming, normalization or deduplication. Arbitrary
frontmatter and author fields are not editable.
Every memory_write_page call replaces the whole page and its metadata;
omitted fields are cleared. Read the current page first when preserving
existing content matters, and pass its returned page_id as
expected_page_id so a concurrent change fails without writing. Use
create_only: true when the page must not already exist; do not combine the
two preconditions.
For a targeted edit, prefer memory_patch_page: read the page, pass its
required page_id as expected_page_id, and submit one bounded batch.
append_to_section and add_section use heading anchors from the read
response; replace_section must also carry that section's returned sha256.
All edits resolve against the same captured body and either commit together or
write nothing. Missing, duplicate, stale, or conflicting anchors fail closed.
Use memory_write_page when replacing the whole document.
When the user explicitly wants a note to be temporary, pass expires_at as an
RFC3339 instant or a bare YYYY-MM-DD (the end of that day in UTC). After the
TTL, normal search, recent, and briefing reads hide the page; the next forget
sweep deletes it. A TTL outranks pinned, so do not combine them unless the user
has deliberately requested that behavior.
Writing a session's pages yourself
When the user asks to consolidate the session you are taking part in, write its pages with your own model instead of the server's: read the session's raw observations first (the retrieval skill covers that read), then write each page with memory_write_page passing the same session_id, which records the session as evidence and settles its queued consolidation job. Match the server's multi-page layout, at most five pages:
sessions/<session_id>.md: the session narrative,tier: "episodic",kind: "fact".concepts/<slug>.md: evergreen concept pages,tier: "semantic",kind: "fact".decisions/<short>.md: ADR-style records of a choice made,tier: "semantic",kind: "decision".gotchas/<slug>.md: failure modes and surprises,tier: "semantic",kind: "gotcha"._rules/<slug>.md: a durable project convention written as a standalone instruction,tier: "semantic",kind: "rule".
Only split out what the session actually established; a short session is one session page. Record what was said and done, and never turn a user's question into a confirmed decision.
Project rules belong in instructions first
If the user asks to create a durable project rule such as always do X or never do Y, update the project's canonical agent instruction file when the repository
자주 묻는 질문
채팅 내용을 모두 저장하나요?
아니요. 사용자가 명확히 요청할 때만 영구 페이지를 쓰며, 일시적인 진행 상황은 건너뜁니다.
이전 버전을 복원할 수 있나요?
네. 페이지의 이전 버전을 나열하고 그 버전을 다시 쓸 수 있으며, 삭제된 페이지도 포함됩니다.
페이지에 별도의 제목이 필요한가요?
아니요. 제목은 본문의 첫 번째 제목에서 가져옵니다.
상세 정보
작성자의 원본 설명
Use this skill for any explicit wiki mutation in ai-memory: saving durable or time-bounded project knowledge, recording a rule or annotation, updating a note, or deleting a memory page. Trigger by semantic intent rather than exact wording; routine session capture is not a durable-page request.
repo: akitaonrails/ai-memory
인기도
- GitHub 스타
- 15k
- 순위
- #11037
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
ai-memory-handoff
15k다음 세션에 맥락을 넘겨 이어서 작업하게 하고, 마무리 메모를 저장하거나 잘못 보낸 인계를 취소하도록 에이전트를 돕습니다.
ai-memory-learning-maintenance
15k세션 메모를 주제 페이지로 정리하고, 모순을 확인하며, 요청하면 오래된 항목을 정리해 메모리 위키를 깔끔하게 관리하도록 에이전트를 돕습니다.
ai-memory-messaging
15k독립적으로 완결된 요청을 다른 프로젝트의 수신함으로 보내고, 내 프로젝트의 수신함을 확인하며, 보낸 메시지를 취소하도록 에이전트를 돕습니다.
ai-memory-retrieval
15k프로젝트 메모리 위키에서 과거의 결정, 규칙, 함정을 검색하고 전체 페이지를 읽되, 아무것도 바꾸지 않도록 에이전트를 돕습니다.
비슷한 스킬
mcporter
394k에이전트가 HTTP나 stdio로 MCP 서버와 그 도구를 목록화하고, 호출하고, 점검하며, 로그인 설정을 관리하도록 돕습니다.
fastmcp
260kAPI, 데이터베이스, 파일에 AI 어시스턴트가 도구로 접근할 수 있도록 Python MCP 서버를 만들고 테스트하고 배포하도록 돕습니다.
mcp-oauth-remote-gateway
260kHermes가 서버에서 실행될 때 일반 브라우저 로그인이 닿지 않는 경우를 위해, 원격 MCP 서버의 OAuth 로그인을 단계별로 안내합니다.