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

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

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

Use this skill to help me: https://github.com/akitaonrails/ai-memory/blob/main/crates/ai-memory-core/src/routing_skills/ai-memory-retrieval/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 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_query searches the current project's wiki for prior decisions, gotchas, procedures, rules, and session notes.
  • memory_recent lists the most recently updated pages when the user wants a light activity check.
  • memory_read_page fetches a full page body after a search hit or direct path lookup. A global_scope_hits result carries its workspace, project, and scope; pass scope: "global" to read that reserved scope directly. The body is capped by max_chars (default 12000, max 64000); the response's truncated/total_chars fields report whether it was cut and its full size. Raise max_chars only when you need the whole page. Pass include_related: true (optional related_depth, default 1, hard cap 3) to also walk the link graph outward and return a related array of reachable pages, each with its hop depth and edge direction (link/backlink); default off omits it.
  • memory_read_session_observations reads 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 the session_id a session-start notice, recent_sessions or newer_unended_session names (a harness's native id, such as an OpenCode ses_… id, works too) with order: "desc", and its newest prompts and tool results are where the work stopped.
  • memory_status reports whether ai-memory is healthy and how large the knowledge base is.
  • memory_briefing returns a structured read-only snapshot for agent consumption, including a bounded pinned list of the project's pinned standing-context pages (present only when the project has pins) and recent_sessions, the sessions with the newest captured work. An entry there with ended: false and handed_off: false that is not current was cut off or is still running; read it before an older handoff or page when the user asks to continue.
  • memory_explore returns 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, and cwd for 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 workspace and project together on every project-scoped call, including requests about this project, here, or our work. Read the exact names from the nearest .ai-memory.toml when it declares both. Without a marker override, derive the project from normalized upstream, then origin, 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.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬