ai-memory-retrieval
하는 일
스킬은 프로젝트가 위키에 이미 기록해 둔 내용을 찾아봅니다. 설계나 편집 전에 과거 결정을 확인하게 하려는 사람을 위한 스킬입니다.
사용하는 경우
- ✓프로젝트에서 어떤 주제에 대해 전에 무엇을 결정했는지 물을 때.
- ✓메모리에서 최근 활동 요약이나 현황 브리핑을 원할 때.
- ✓설계, 디버깅, 편집하기 전에 전체 메모리 페이지를 읽어야 하는 경우.
스킬 링크
https://github.com/akitaonrails/ai-memory/blob/main/crates/ai-memory-core/src/routing_skills/ai-memory-retrieval/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“데이터베이스 마이그레이션 방식에 대해 우리가 무엇을 결정했나요? 제안하기 전에 프로젝트 메모리를 확인해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 프로젝트 위키를 검색하고, 최근 갱신된 페이지를 나열하며, 필요할 때 전체 페이지를 읽습니다. 이 조회는 읽기 전용이라 메모리를 바꾸지 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
ai-memory retrieval
Use this skill for read-only ai-memory lookups, catch-up, and evaluating remembered project knowledge before you design, debug, or edit.
Tools in this cluster
memory_querysearches the current project's wiki for prior decisions, gotchas, procedures, rules, and session notes.memory_recentlists the most recently updated pages when the user wants a light activity check.memory_read_pagefetches a full page body after a search hit or direct path lookup. Aglobal_scope_hitsresult carries itsworkspace,project, andscope; passscope: "global"to read that reserved scope directly. The body is capped bymax_chars(default 12000, max 64000); the response'struncated/total_charsfields report whether it was cut and its full size. Raisemax_charsonly when you need the whole page. Passinclude_related: true(optionalrelated_depth, default 1, hard cap 3) to also walk the link graph outward and return arelatedarray of reachable pages, each with its hopdepthand edgedirection(link/backlink); default off omits it.memory_read_session_observationsreads one session's raw hook observations (prompts, tool calls, stops) in capture order, paged and body-capped, when the user asks what actually happened in a session or wants to check a compiled page against its evidence. It also continues a session that was cut off without ending: pass thesession_ida session-start notice,recent_sessionsornewer_unended_sessionnames (a harness's native id, such as an OpenCodeses_…id, works too) withorder: "desc", and its newest prompts and tool results are where the work stopped.memory_statusreports whether ai-memory is healthy and how large the knowledge base is.memory_briefingreturns a structured read-only snapshot for agent consumption, including a boundedpinnedlist of the project's pinned standing-context pages (present only when the project has pins) andrecent_sessions, the sessions with the newest captured work. An entry there withended: falseandhanded_off: falsethat is notcurrentwas cut off or is still running; read it before an older handoff or page when the user asks to continue.memory_explorereturns a prose digest when the user asks for an open-ended catch-up.
Project scope
Choose scope from the MCP client's identity support:
- Session-aware MCP clients that forward the real lifecycle-hook session id on every request should use automatic current-project routing. Omit
workspace,project, andcwdfor the current repository; pass explicit scope only when the user names a different project. - Static MCP clients (including clients with lifecycle hooks but no bridge connecting that hook session id to MCP requests) must pass
workspaceandprojecttogether on every project-scoped call, including requests about this project, here, or our work. Read the exact names from the nearest.ai-memory.tomlwhen it declares both. Without a marker override, derive the project from normalizedupstream, thenorigin, using the full repository path without its host (github.com/acme/api→acme-api); use the folder basename only when no valid remote exists. Never rely on the server's last active project.
This rule applies only to project-scoped calls. For cross-project retrieval, global=true must omit workspace, project, and scopes. For a standing preference written with scope: "global", omit workspace and project.
Choose the smallest useful lookup
- Use the search tool when the user asks whether something was discussed, before proposing architecture, or before non-trivial coding in a subsystem with possible prior decisions.
- Before non-trivial coding, debugging, deployment, release, auth, scope, migration, PR review, or data-preservation work, search memory for the subsystem and task type first. If the first search is thin, broaden or query more specific subsystem/error terms before designing a fix.
- Use the recent-pages tool for a quick what changed lately view.
- Use the status tool only for health and size questions.
- Use the structured briefing when code needs counts, windows, pending-handoff counts, current rules, or recent pages as JSON-like data.
- Use the prose exploration tool for broad catch-up questions like what is important right now or I have been away.
- Use the session observations tool when the question is about what
자주 묻는 질문
검색하면 내 메모리가 바뀌나요?
아니요. 검색은 읽기 전용입니다.
원시 세션 활동도 읽을 수 있나요?
네. 무엇이 있었는지 확인하고 싶을 때, 한 세션에 기록된 프롬프트와 도구 호출을 읽을 수 있습니다.
다른 범위도 검색하나요?
네. 다른 범위의 결과는 워크스페이스, 프로젝트, 범위를 표시해 어디서 왔는지 보여 줍니다.
상세 정보
작성자의 원본 설명
Use this skill for any request whose goal is read-only retrieval from ai-memory: project history, prior context, decisions, rules, gotchas, recent activity, full wiki pages, or status/briefing. Trigger by semantic intent rather than exact wording, including when ai-memory is not named.
repo: akitaonrails/ai-memory
인기도
- GitHub 스타
- 15k
- 순위
- #11041
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
ai-memory-durable-pages
15k장기적으로 기억해야 할 내용을 요청하면, ai-memory 위키의 영구 프로젝트 메모를 저장하고 수정하고 삭제하도록 에이전트를 돕습니다.
ai-memory-handoff
15k다음 세션에 맥락을 넘겨 이어서 작업하게 하고, 마무리 메모를 저장하거나 잘못 보낸 인계를 취소하도록 에이전트를 돕습니다.
ai-memory-learning-maintenance
15k세션 메모를 주제 페이지로 정리하고, 모순을 확인하며, 요청하면 오래된 항목을 정리해 메모리 위키를 깔끔하게 관리하도록 에이전트를 돕습니다.
ai-memory-messaging
15k독립적으로 완결된 요청을 다른 프로젝트의 수신함으로 보내고, 내 프로젝트의 수신함을 확인하며, 보낸 메시지를 취소하도록 에이전트를 돕습니다.
비슷한 스킬
mcporter
394k에이전트가 HTTP나 stdio로 MCP 서버와 그 도구를 목록화하고, 호출하고, 점검하며, 로그인 설정을 관리하도록 돕습니다.
fastmcp
260kAPI, 데이터베이스, 파일에 AI 어시스턴트가 도구로 접근할 수 있도록 Python MCP 서버를 만들고 테스트하고 배포하도록 돕습니다.
mcp-oauth-remote-gateway
260kHermes가 서버에서 실행될 때 일반 브라우저 로그인이 닿지 않는 경우를 위해, 원격 MCP 서버의 OAuth 로그인을 단계별로 안내합니다.