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

context-memory

Use when deciding what project context should be remembered, retrieved, updated, or deliberately forgotten.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.2 KB

SKILL.md(원문)

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

context-memory

Lifecycle stage: LEARN

Trigger

Use when an agent needs durable context, asks whether memory should be updated, resumes old work, ingests project knowledge, or finishes a loop that may produce reusable learning.

When not to use

Do not use when this trigger is absent; choose the command or skill that owns the requested state, artifact, and verification gate.

Inputs

  • Current request and Agent Brain state.
  • Candidate fact, decision, procedure, source, or artifact.
  • Evidence for the candidate memory.
  • Expected lifetime of the information.
  • Target memory tier: profile, session recall, project docs, skill, or external index.

Procedure

  1. Classify the candidate as stable fact, durable decision, reusable procedure, source-backed project knowledge, temporary task progress, or sensitive/private data.
  2. Choose the smallest correct storage target:
    • profile memory for stable user/project preferences,
    • session recall for past work history,
    • project docs for versioned decisions and architecture,
    • skill for repeatable procedures,
    • external index only for large corpora where docs remain the source of truth.
  3. Reject noisy logs, stale status, raw personal data, secrets, and one-off task progress.
  4. Attach evidence or mark the memory as an assumption.
  5. Write the update in neutral, declarative language with a scope and freshness note.
  6. For resumes, handoffs, and long runs, write a context boundary: included context, excluded context, read files, modified files, compaction, and freshness.
  7. Add or update an eval, validator, or review gate when the memory rule should not regress.

Anti-Rationalization

ShortcutRebuttal
"Remember everything just in case."Durable memory should store stable facts, decisions, or reusable procedures, not raw task logs.
"The chat is enough evidence."Versioned docs or skills need checked sources, files, commands, or explicit assumptions.
"This procedure belongs in memory."Repeatable procedures belong in skills or docs so future agents can inspect and validate them.

Verification

  • The target tier matches the expected lifetime and use case.
  • The memory is evidence-backed or explicitly marked as an assumption.
  • The memory decision artifact names the checked doc, skill, command, or source evidence.
  • Handoffs and long-run memory updates include a context boundary with read files, modified files, omitted context, compaction status, and freshness.
  • Temporary progress is not stored as durable knowledge.
  • Procedures become skills rather than profile notes.
  • Secrets and raw sensitive data are excluded.
  • The update can help a future agent act correctly without rereading the full chat.

Output Artifact

Produce a memory decision that names the target tier, evidence, freshness/scope, rejected material, blockers, written update or no-write reason, and the next action for any validator, eval, doc, or skill follow-up.

Failure Modes

  • Saving task logs as permanent doctrine.
  • Hiding uncertainty by writing assumptions as facts.
  • Duplicating the same knowledge across memory, docs, and skills.
  • Storing a procedure as a user preference instead of a skill.
  • Using external indexes as the source of truth instead of accelerators.
  • Forgetting to update project docs when a durable decision changes.

Example

Trigger: project context may need to be remembered, retrieved, updated, or rejected. Action: separate stable preferences, project docs, procedures, session recall, and private data before writing memory. Output artifact: templates/memory-decision.md with blockers and next action. Verification: cite tier, evidence, freshness, privacy review, rejected material, and next use.

Input: “We fixed this after three attempts; remember the approach.”

Better response pattern:

  1. extract the reusable procedure,
  2. discard temporary file names, PR numbers, and timestamps,
  3. save the procedure as a skill or patch an existing skill,
  4. link the evidence or command pattern,
  5. verify the skill has trigger, procedure, pitfalls, and verification sections.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Use when the user needs a standup-ready summary of recent project activity from local evidence.

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

rohitg00/agentbrain412026년 5월 27일 업데이트

Use when a command, adapter, or runtime smoke depends on proving an agent runtime's capabilities before trusting command routing, writes, shell access, or validation claims.

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

rohitg00/agentbrain412026년 5월 27일 업데이트

Use when agent-produced work needs a safety, evidence, and reliability check before handoff, merge, or trust.

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

rohitg00/agentbrain412026년 5월 27일 업데이트

Use when an output artifact, template, schema, example, or handoff field must stay aligned across commands, skills, docs, and validators.

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

rohitg00/agentbrain412026년 5월 27일 업데이트

Agent Brain /brain-brief: after intake, research, and grill have enough signal.

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

rohitg00/agentbrain412026년 5월 27일 업데이트

Agent Brain /brain-build: an implementation plan has a selected task and validation method.

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

rohitg00/agentbrain412026년 5월 27일 업데이트

rohitg00의 스킬 모두 보기

이 스킬의 문제 신고