Context Memory

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

43 stars 9 forksProductivity & Notes

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add rohitg00/agentbrain --skill context-memory
Manual install
git clone --depth 1 https://github.com/rohitg00/agentbrain.git /tmp/agentbrain
mkdir -p ~/.claude/skills
cp -r /tmp/agentbrain/skills/context-memory ~/.claude/skills/context-memory

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the 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.
Read the full skill on GitHub

Details

Skill name
context-memory
Path
skills/context-memory/SKILL.md
License
MIT
Repo updated
26 May 2026

FAQ

What does the Context Memory skill do?

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

How do I install the Context Memory skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add rohitg00/agentbrain --skill context-memory. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Context Memory popular?

It lives in rohitg00/agentbrain, which has 43 GitHub stars and 9 forks.

Related skills

Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.