본문으로 건너뛰기
cccskills
무료GitHub에 공개

memory-management

Maintain the harness memory files (USER.md, MEMORY.md, AGENTS.md) so that long-term knowledge persists across conversations.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Memory Management

The harness ships a set of memory files that the agent reads at the start of every conversation. Use them to store durable context that should survive across turns, threads, and even process restarts.

Two read-only tools are available when you need to recall something that isn't in the current context:

  • memory_search(query, max_results, corpus) — ranked hits across past conversation snippets and host files.
  • memory_get(path, start, lines) — fetch the source markdown for a hit returned by memory_search.

Your primary job is to maintain the human-readable Markdown files below.

The files

FilePurposeUpdate when...
USER.mdStable info about the human and the agent: names, roles, preferred tone, language, behavioral rules.The user shares something personal, expresses a preference, or corrects your style.
MEMORY.mdProject-level long-term notes: decisions, constraints, lessons, environment config.A turn produces a fact you'll need next time.
AGENTS.mdProject conventions (build commands, code style, repo layout).The user clarifies how the project should be worked on.

Transient day-of context (a single emotion, a passing event, the question of the moment) does not belong in any of these files — leave it in the conversation. Promote a fact only when you'll still need it next session.

When to update memory

  • Promotable signal: the user says "remember that…", "from now on…", corrects you on style, or shares contextual info you'd otherwise re-ask.
  • Ambient signal: you notice you keep re-deriving the same fact across turns. Lift it into the appropriate memory file.

Do not dump every chat into memory. The top-level files are read on every turn — bloat costs tokens for every future conversation. Only promote into USER.md / MEMORY.md when the fact is durable; transient context belongs in the conversation, not in a memory file.

How to update

  1. read_file the target memory file first. You're amending, not recreating.
  2. edit_file for small additions: add a bullet under the right section. Use append_file when you only need to add a new line at the end.
  3. Keep entries terse: 1-2 lines per fact. Use bullets, not paragraphs.
  4. Group by section (e.g. ## Coding style, ## User preferences). Create a section before adding to it if one doesn't already exist.
  5. Never use write_file on any memory file: it overwrites everything.
  6. After updating, briefly tell the user you saved the memory and where, so they can correct misinterpretations.

How to recall

If the user clearly references past context ("last time", "we talked about", "earlier") and the answer isn't already in the current context, fall back to:

  1. memory_search with concrete keywords (names, project names, tech stack).
  2. memory_get with a path from the search results to read the source.
  3. If still empty, read MEMORY.md directly.

Weave findings naturally into the reply — never say "I found in my memory…".

What not to put in memory

  • Secrets / API keys / credentials. Decline if asked.
  • Session-only context (the user's current question). That goes in the chat history; memory is for things that should persist.
  • Massive verbatim transcripts. Summarize.

Conflict handling

If a new instruction contradicts an existing memory, delete or update the old line rather than appending. Two contradictory facts in memory will confuse you next time. When in doubt, ask the user which to keep.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

通过 memo CLI 管理 Apple Notes:创建、搜索、编辑。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TencentCloud/octop-harness1102026년 10월 20일 업데이트

Manage Apple Notes via memo CLI: create, search, edit.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TencentCloud/octop-harness1102026년 10월 20일 업데이트

通过 remindctl 在 macOS 上管理 Apple Reminders——列出、添加、编辑、完成、 删除同步到 iPhone/iPad 的待办事项。在提及"提醒"、"Reminders app"、 需要手机同步的"提醒我"或添加带截止日期的个人待办事项时触发。macOS only。 当用户需要代理内部提醒(使用 memory_store 或外部 调度)或日历事件时跳过。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TencentCloud/octop-harness1102026년 10월 20일 업데이트

Manage Apple Reminders on macOS via remindctl — list, add, edit, complete, delete to-dos that sync to iPhone/iPad. Trigger on "reminder", "Reminders app", "提醒我" with phone sync, or adding personal todos with due dates. macOS only. Skip when the user wants agent-internal alerts (use memory_store or external scheduling) or calendar events.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TencentCloud/octop-harness1102026년 10월 20일 업데이트

暗色主题的 SVG 架构/云/基础设施图表,输出为 HTML。

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TencentCloud/octop-harness1102026년 10월 20일 업데이트

Dark-themed SVG architecture/cloud/infra diagrams as HTML.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

TencentCloud/octop-harness1102026년 10월 20일 업데이트

TencentCloud의 스킬 모두 보기

이 스킬의 문제 신고