본문으로 건너뛰기
Skillpedia
에이전트16k · #10898

memory

하는 일

이 스킬은 어시스턴트가 사람과 프로젝트에 대한 사실처럼 시간이 지나며 기억하는 내용을 찾고, 저장하고, 정리하게 합니다. 어시스턴트가 유용한 맥락을 간직하기를 원하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓누군가가 누구인지, 무엇을 하고 있는지 어시스턴트에게 물을 때.
  • ✓어시스턴트가 나중을 위해 보관해야 할 유용한 사실을 배웠을 때.
  • ✓저장된 메모에 오래되었거나 틀린 항목이 있어서 정리가 필요할 때.

스킬 링크

https://github.com/yc-software/qm/blob/main/skills-seed/memory/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

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

Use this skill to help me: https://github.com/yc-software/qm/blob/main/skills-seed/memory/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에서 그대로 가져왔습니다.

memory — search, write, and curate what you remember

Everything here goes through the typed memory tool. Memory is NOT a file: writing memory/MEMORY.md with files action write or shell commands lands on your computer's disk and is silently lost — the tool is the one real path.

Every turn already auto-recalls a bounded selection from your notebooks into "## What you remember" and auto-extracts facts after you reply. This skill is for what the automatic path misses:

  • Search (action: "search") — what you remember is bigger than what auto-recall injects. Search spans every notebook this conversation may read (personal, channel, org); when more than one is in reach, each hit is tagged with the notebook it came from. Matching is substring-based (all terms must match), so prefer distinctive terms (a name, a project) over sentences. An empty result means those terms found no match, not that nothing is recorded. Try fewer terms or alternate wording before concluding a fact is absent.
  • Read another notebook (action: "read", scope: "channel:…") — use the exact scope ID from a search result to load that authorized notebook. search accepts scope too, to narrow a query. Omit it to search all authorized notebooks or read the current notebook. Access comes from this turn's sharing policy; naming a scope never grants access. Other notebooks are read-only.
  • Write now (action: "add", facts: [{text}, …]) — when the user corrects you or tells you something they'll expect you to know later, persist it immediately instead of hoping post-turn extraction catches it. Write self-contained facts (who/what, with enough context to be useful cold). Duplicates are dropped; added in the reply is the count actually new.
  • Curate (action: "edit" with facts: [{id, text}, …], action: "delete" with ids) — search or read to get each fact's #id, then fix facts that changed and delete stale, duplicate, or wrong ones. A call naming any id that isn't in this conversation's notebook changes nothing and lists the bad ids. Curation is for quality — merging duplicates, deleting disproven facts — not for deleting things the user asked you to remember.

The notebook you write is this conversation's own (your personal one in a DM, the channel's in a channel). Other authorized notebooks can be searched/read, not rewritten here.

The org-admin write path uses the self-API instead, called with $AGENT_API_URL and $AGENT_API_TOKEN (both already in your environment on every turn — if they are unset, this instance has no self-API; say so rather than pretending).

Org-wide notebook (admins)

When the chatting user is an org admin, the self-API additionally accepts the org-wide notebook as a target:

curl -sS --fail-with-body -X POST "$AGENT_API_URL/v1/memory/facts" \
  -H "x-agent-capability: $AGENT_API_TOKEN" \
  -H "content-type: application/json" \
  -d '{"scope":"org","facts":["..."]}'

(?scope=org on GET /v1/memory/self; "scope":"org" in the body of PATCH /v1/memory/facts with {"facts":[{"id","text"}]} or DELETE /v1/memory/facts with {"ids":[…]} to curate.) Those writes land in the notebook every conversation in the org recalls, so confirm the wording with the admin before writing and keep personal facts out of it. A 403 org memory writes require an org admin means the user isn't one — say so rather than retrying (GET $AGENT_API_URL/v1/admin/whoami answers it definitively).

Failure modes

  • "memory isn't available in this conversation" — this conversation's memory policy forbids it; don't retry, just say memory is off here.
  • On a read-only wake (a heartbeat glance), memory can be searched and read but not written — save the fact on a normal turn instead.
  • 401 unauthorized from the self-API — your token expired mid-turn; this resolves on the next turn.
  • 502 with an application/problem+json body from /v1/memory/facts or /v1/memory/search — a memory provider failed. added (or results) is what still worked, and each entry in problems names the provider, what happened and a fix. Don't send the same facts again; tell the user which provider failed and its fix.
자주 묻는 질문

검색 결과가 비어 있는 이유는 무엇인가요?

빈 결과는 그 단어가 일치하지 않았다는 뜻일 뿐입니다. 어시스턴트는 다른 단어나 더 적은 단어로 다시 찾은 뒤에 사실이 없다고 판단할 수 있습니다.

다른 사람의 노트북을 읽을 수 있나요?

이 대화와 공유된 노트북만 읽을 수 있습니다. 접근은 현재 채팅의 공유 규칙에서 옵니다.

메모리 파일을 디스크에 저장하면 되나요?

아닙니다. 디스크에 쓴 메모리 파일은 사라지므로, 어시스턴트는 메모리 도구를 씁니다.

상세 정보

작성자의 원본 설명

Deliberately search, add to, or curate your long-term memory with the `memory` tool — beyond the automatic recall/capture every turn already does. Use when asked who someone is or what they're working on, when you learn a durable fact worth keeping now, or when your notebook holds stale or wrong entries you should clean up.

repo: yc-software/qm

인기도

GitHub 스타
16k
순위
#10898
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬