Agent skill

Context Memory

by ccplugins in ccplugins/awesome-claude-code-plugins

Saves and searches past Claude Code sessions so context, decisions, and code persist across conversations.

MITAuto-check passedKnowledge Management

Install Context Memory

skills CLI
$ npx skills add ccplugins/awesome-claude-code-plugins --skill context-memory -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ccplugins/awesome-claude-code-plugins context-memory --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ccplugins/awesome-claude-code-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/context-memory/skills/context-memory .claude/skills/context-memory && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
context-memory
GitHub stars
967
Token cost
~555 tokens
SKILL.md length
175 words
Files
1
Skills in repo
68
Repo updated
First seen
Licence
MIT

At a glance

Saves and searches past Claude Code sessions so context, decisions, and code persist across conversations.

  • User says remember this
  • SKILL.md covers Trigger Phrases, Features, Installation and Commands, plus 1 more section
  • Calls git and python; reaches github.com
  • Save this session

What it does

Context Memory is an agent skill from ccplugins/awesome-claude-code-plugins. Saves and searches past Claude Code sessions so context, decisions, and code persist across conversations. Use when user says 'remember this', 'save this session', 'recall', 'search past sessions', 'what did we discuss about', or 'find previous work on'. Do NOT use for general file storage, note-taking, or bookmark management.

Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires Python = 3.8 with sqlite3 FTS5 support (included in standard library). MCP server requires Python = 3.10. Claude Code CLI only.

It sits in Knowledge Management, covering File uploads and storage and Note-taking. The repository describes itself as: Awesome Claude Code plugins — a curated list of slash commands, subagents, MCP servers, and hooks for Claude Code. The licence is MIT.

When your agent uses it

  • User says remember this
  • Save this session
  • Search past sessions
  • What did we discuss about

Example prompts

  • “remember this”
  • “save this session”
  • “recall”
  • “/context-memory”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Requires Python >= 3.8 with sqlite3 FTS5 support (included in standard library). MCP server requires Python >= 3.10. Claude Code CLI only.
  • Pre-approved tools (allowed-tools): Bash(python:*)

What it can do on your machine

Read from SKILL.md and the folder at commit 5bd4f16. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(python:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires Python >= 3.8 with sqlite3 FTS5 support (included in standard library). MCP server requires Python >= 3.10. Claude Code CLI only.

    From compatibility in the SKILL.md frontmatter.

Context cost

Context Memory loads about 555 tokens when it runs. Until then it costs about 86 tokens; SKILL.md has 175 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~86
When it runs · the whole SKILL.md, loaded when a task matches
~555

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ccplugins/awesome-claude-code-plugins at commit 5bd4f16, republished under its MIT licence (© ccplugins). 175 words, ~555 tokens.

Download SKILL.mdSave it as .claude/skills/context-memory/SKILL.md (or your agent's skills folder).
name
context-memory
description
Saves and searches past Claude Code sessions so context, decisions, and code persist across conversations. Use when user says 'remember this', 'save this session', 'recall', 'search past sessions', 'what did we discuss about', or 'find previous work on'. Do NOT use for general file storage, note-taking, or bookmark management.
allowed-tools
Bash(python:*)
compatibility
Requires Python >= 3.8 with sqlite3 FTS5 support (included in standard library). MCP server requires Python >= 3.10. Claude Code CLI only.
license
MIT
metadata.author
ErebusEnigma
metadata.version
1.3.1

Context Memory Skill

Saves and searches past Claude Code sessions so context, decisions, and code persist across conversations.

Trigger Phrases

Activate this skill when the user says:

  • "remember this" / "save this session" / "store this for later"
  • "recall" / "search past sessions"
  • "what did we discuss about..."
  • "find previous work on..."
  • "look up past decisions about..."
  • "context memory"

Features

  • Cross-session memory - Save and recall past work across Claude Code sessions
  • Structured AI summaries - Rich summaries with decisions, problems solved, technologies, outcome
  • Full-text search - FTS5 with Porter stemming for fast, fuzzy search
  • Two-tier retrieval - Summary-ranked search (<10ms) + deep content fetch (<50ms)
  • Auto-save on exit - Stop hook captures session context automatically
  • Pre-compact checkpoints - Saves full conversation before context compaction
  • Web dashboard - Full SPA with analytics (optional, requires flask)
  • MCP server - Six tools for programmatic access (optional, requires Python >= 3.10)

Installation

bash
git clone https://github.com/ErebusEnigma/context-memory.git
cd context-memory
python install.py

Commands

/remember [note]

Save the current session with an optional annotation.

/recall <query> [options]

Search past sessions.

  • --project: Limit to current project
  • --detailed: Include full message content and code snippets
  • --limit N: Maximum results (default: 10)

Source Repository

https://github.com/ErebusEnigma/context-memory

© ccplugins, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/context-memory/skills/context-memory of ccplugins/awesome-claude-code-plugins.

Open the folder on GitHubat commit 5bd4f16

Compare with similar skills

Context Memory next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Context Memory compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context Memory this skillccplugins/awesome-claude-code-plugins967—~555Automated safety check: PassMIT
Wiki Viewerrohitg00/pro-workflow2.9k—~1.1kAutomated safety check: PassNone
CLI Anything ObsidianHKUDS/CLI-Anything52k—~1.3kAutomated safety check: PassApache-2.0
Qmdalsk1992/CloddsBot2.9k3 repos~1.2kAutomated safety check: PassMIT
Obsidian Canvas BoardsAgriciDaniel/claude-obsidian15k—~1.4kAutomated safety check: PassMIT
LLM Wikilewislulu/llm-wiki-skill655—~3.7kAutomated safety check: PassNone

Similar skills

  • Wiki Viewer

    rohitg00/pro-workflow

    Render a self-contained HTML viewer for a pro-workflow wiki.

    2.9k GitHub stars~1.1k tokensUpdated 8 days ago
    Knowledge ManagementAuto-check passed
  • CLI Anything Obsidian

    HKUDS/CLI-Anything

    Command-line interface for Obsidian — Knowledge management and note-taking via Obsidian Local REST API.

    52k GitHub stars~1.3k tokensUpdated 15 days ago
    Knowledge ManagementAuto-check passed
  • Qmd

    alsk1992/CloddsBot

    Local hybrid search for markdown notes and docs. An agent skill from alsk1992/CloddsBot.

    2.9k GitHub starsUsed in 3 repos~1.2k tokens
    Knowledge ManagementAuto-check passed
  • Obsidian Canvas Boards

    AgriciDaniel/claude-obsidian

    Creates, inspects and updates Obsidian JSON Canvas boards in a vault, with text, file, link, group and edge nodes, using safe recoverable edits.

    15k GitHub stars~1.4k tokensUpdated 27 days ago
    Knowledge ManagementAuto-check passed
  • LLM Wiki

    lewislulu/llm-wiki-skill

    Build and maintain a Karpathy-style LLM knowledge base — a self-compiling Obsidian markdown wiki where an Agent ingests raw sources, compiles cross-linked concept/entity/summary pages, answers…

    655 GitHub stars~3.7k tokensUpdated 5 mo ago
    Knowledge ManagementAuto-check passed
  • Para Memory Files

    paperclipai/paperclip

    Use a file-based PARA memory system to store, retrieve, and organize durable knowledge across sessions.

    98k GitHub starsUsed in 1 repo~909 tokens
    Knowledge ManagementAuto-check passed

More from ccplugins/awesome-claude-code-plugins

All 68 skills in this repo
  • AI Meeting

    ccplugins/awesome-claude-code-plugins

    Run structured AI meetings for plans, product ideas, technical designs, business decisions, feature proposals, and strategy choices.

    967 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check: notes
  • Fastapi App

    ccplugins/awesome-claude-code-plugins

    Bootstrap a new FastAPI backend with async SQLAlchemy 2.0, asyncpg, Alembic, Pydantic v2, and no deprecated APIs.

    967 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Flutter App

    ccplugins/awesome-claude-code-plugins

    Bootstrap a new Flutter mobile app with clean architecture, Riverpod, FVM-pinned SDK, current packages, and no deprecated APIs.

    967 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Nextjs App

    ccplugins/awesome-claude-code-plugins

    Bootstrap a new Next.js (App Router, TypeScript) web app with current packages and no deprecated APIs.

    967 GitHub stars~1.1k tokensUpdated 1 mo ago
    Auto-check: notes
  • Dev Report

    ccplugins/awesome-claude-code-plugins

    Write up a coding session for a non-technical stakeholder — the context, what was built, and the engineering reasoning behind it — the way a senior engineer briefs a product manager who does not…

    967 GitHub stars~3.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Difesa Attacchi

    ccplugins/awesome-claude-code-plugins

    Aggiunge a un sito/app un agente di difesa che rileva e blocca richieste malevole (SQL injection, XSS, path traversal, brute force, bot) con rate limiting, blocklist IP e modalità lockdown che…

    967 GitHub stars~781 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Context Memory

What does Context Memory do?

Saves and searches past Claude Code sessions so context, decisions, and code persist across conversations. Context Memory is an agent skill from ccplugins/awesome-claude-code-plugins. Saves and searches past Claude Code sessions so context, decisions, and code persist across conversations.

When should I use Context Memory?

Context Memory fits situations like: user says remember this; save this session; search past sessions; what did we discuss about.

How do I install Context Memory in Claude Code?

Run `npx skills add ccplugins/awesome-claude-code-plugins --skill context-memory -a claude-code`. Or copy the skill folder (plugins/context-memory/skills/context-memory in ccplugins/awesome-claude-code-plugins) into .claude/skills/context-memory in your project. Claude Code loads it when a task matches its description.

How do I install Context Memory in Codex?

Run `npx skills add ccplugins/awesome-claude-code-plugins --skill context-memory -a codex`. Or copy the skill folder (plugins/context-memory/skills/context-memory in ccplugins/awesome-claude-code-plugins) into .agents/skills/context-memory in your project. Codex loads it when a task matches its description.

Can I use Context Memory in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ccplugins/awesome-claude-code-plugins --skill context-memory -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/context-memory, .gemini/skills/context-memory, .github/skills/context-memory and .opencode/skills/context-memory in your project.

What does Context Memory need to run?

Going by SKILL.md and its folder, Context Memory needs the command-line tools its instructions call (git and python). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash(python:*). Compatibility (from SKILL.md): Requires Python >= 3.8 with sqlite3 FTS5 support (included in standard library). MCP server requires Python >= 3.10. Claude Code CLI only..

Does Context Memory access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Context Memory safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Context Memory use?

Context Memory is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Context Memory use?

About 555 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Context Memory?

Skills that share tags, products or a category with Context Memory: Wiki Viewer (rohitg00/pro-workflow, 2.9k stars), CLI Anything Obsidian (HKUDS/CLI-Anything, 52k stars), Qmd (alsk1992/CloddsBot, 2.9k stars) and Obsidian Canvas Boards (AgriciDaniel/claude-obsidian, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context Memory?

ccplugins (a GitHub organization) maintains it in ccplugins/awesome-claude-code-plugins, which has 967 GitHub stars. The repository holds 68 skills in this directory. The repository was last updated on August 12, 2026.

Source: ccplugins/awesome-claude-code-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.