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

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가 스킬을 읽고 지침을 따릅니다.

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

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

AI에게 요청하는 예시

“우리 스테이징 데이터베이스는 매주 일요일 밤에 초기화된다는 것을 영구적으로 기억해 주세요.”

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

작동 방식

에이전트는 제목이 있는 간결한 페이지를 쓰거나, 기존 페이지의 이름 붙은 섹션을 패치하거나, 경로로 페이지를 삭제합니다. 일상적인 세션 활동은 이 방식으로 저장하지 않습니다.

기술 내용 (원본 SKILL.md)

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

<!-- ai-memory-managed: routing-skill -->

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_page writes or replaces a durable wiki page for permanent project knowledge.
  • memory_patch_page atomically changes named Markdown sections in an existing page without re-emitting its frontmatter or unrelated body.
  • memory_delete_page removes a durable wiki page by exact path.
  • memory_restore_page lists a page's checkpoints (no rev) or writes an earlier version back (with rev), including a deleted page. It is admin only on a multi-user server and does not reach scope: "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.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬