Agent skill

Codememory Context Skill

by harrylettering in harrylettering/CodeMemory

This skill should be used when the user asks questions about past conversations, wants to recall previous discussions, references "earlier", "before", "previous", "what did we say", "remember when"…

No licenceAuto-check passed

Install Codememory Context Skill

skills CLI
$ npx skills add harrylettering/CodeMemory --skill codememory-context-skill -a claude-code

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

GitHub CLI
$ gh skill install harrylettering/CodeMemory codememory-context-skill --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/harrylettering/CodeMemory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codememory-context-skill .claude/skills/codememory-context-skill && 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
codememory-context-skill
GitHub stars
158
Token cost
~599 tokens
SKILL.md length
218 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

This skill should be used when the user asks questions about past conversations, wants to recall previous discussions, references "earlier", "before", "previous", "what did we say", "remember when"…

  • Works in 5 steps: Identify the Context Need: Determine… → Retrieve Relevant Content: Use… → Expand if Needed: Use /codememory-expand… → …
  • Asks questions about past conversations
  • SKILL.md covers When This Skill Applies, How to Use This Skill, Context Injection Format and Best Practices, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Codememory Context Skill is an agent skill from harrylettering/CodeMemory. This skill should be used when the user asks questions about past conversations, wants to recall previous discussions, references "earlier", "before", "previous", "what did we say", "remember when", or any query that requires retrieving information from conversation history. Automatically retrieves and injects relevant context from the CodeMemory memory system.

Its SKILL.md is about 600 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: A memory layer for Claude Code.

When your agent uses it

  • Asks questions about past conversations
  • Wants to recall previous discussions
  • References earlier
  • What did we say

Example prompts

  • “earlier”
  • “before”
  • “previous”
  • “/codememory-context-skill”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Identify the Context Need: Determine what time period or topic the user is asking about
  2. Retrieve Relevant Content: Use /codememory-grep to search for matching content
  3. Expand if Needed: Use /codememory-expand on promising summaries for more detail
  4. Inject Context: Add the retrieved information to the conversation context
  5. Answer the User: Use the injected context to provide an informed answer

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

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

  • Network

    No URLs in SKILL.md.

    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.

Context cost

Codememory Context Skill loads about 599 tokens when it runs. Until then it costs about 97 tokens; SKILL.md has 218 words of instructions outside code blocks.

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

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 218 words (~599 tokens).

“Automatically retrieves relevant conversation history when the user asks about past discussions.”

— opening of SKILL.md by harrylettering
name
codememory-context-skill
version
0.1.0

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/codememory-context-skill of harrylettering/CodeMemory.

Open the folder on GitHubat commit b7e96f7

Compare with similar skills

Codememory Context Skill next to the 4 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.

Codememory Context Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codememory Context Skill this skillharrylettering/CodeMemory158—~599Automated safety check: PassNone
Codememory Summarization Skillharrylettering/CodeMemory158—~788Automated safety check: PassNone
Codememory Mark Constraintharrylettering/CodeMemory158—~793Automated safety check: PassNone
Codememory Mark Decisionharrylettering/CodeMemory158—~1.1kAutomated safety check: PassNone
Codememory Mark Taskharrylettering/CodeMemory158—~757Automated safety check: PassNone

Similar skills

  • Codememory Summarization Skill

    harrylettering/CodeMemory

    This skill should be used when creating conversation summaries for CodeMemory, discussing summarization quality, optimizing DAG structure, or working with the compaction system.

    158 GitHub stars~788 tokensUpdated 2 days ago
    Writing & ContentAuto-check passed
  • Codememory Mark Constraint

    harrylettering/CodeMemory

    A skill your agent uses to durably record a hard constraint or invariant that the work must respect.

    158 GitHub stars~793 tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed
  • Codememory Mark Decision

    harrylettering/CodeMemory

    A skill your agent uses to durably record a non-trivial design or implementation decision so it survives compaction and can be recalled in future sessions.

    158 GitHub stars~1.1k tokensUpdated 2 days ago
    Auto-check passed
  • Codememory Mark Task

    harrylettering/CodeMemory

    A skill your agent uses to durably record the current task or goal so future turns (and future sessions) can recall what we are trying to accomplish.

    158 GitHub stars~757 tokensUpdated 2 days ago
    Auto-check passed

Questions about Codememory Context Skill

What does Codememory Context Skill do?

This skill should be used when the user asks questions about past conversations, wants to recall previous discussions, references "earlier", "before", "previous", "what did we say", "remember when"…. Codememory Context Skill is an agent skill from harrylettering/CodeMemory. This skill should be used when the user asks questions about past conversations, wants to recall previous discussions, references "earlier", "before", "previous", "what did we say", "remember when", or any query that requires retrieving information from conversation history.

When should I use Codememory Context Skill?

Codememory Context Skill fits situations like: asks questions about past conversations; wants to recall previous discussions; references earlier; what did we say.

How do I install Codememory Context Skill in Claude Code?

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

How do I install Codememory Context Skill in Codex?

Run `npx skills add harrylettering/CodeMemory --skill codememory-context-skill -a codex`. Or copy the skill folder (skills/codememory-context-skill in harrylettering/CodeMemory) into .agents/skills/codememory-context-skill in your project. Codex loads it when a task matches its description.

Can I use Codememory Context Skill 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 harrylettering/CodeMemory --skill codememory-context-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codememory-context-skill, .gemini/skills/codememory-context-skill, .github/skills/codememory-context-skill and .opencode/skills/codememory-context-skill in your project.

What does Codememory Context Skill need to run?

SKILL.md names no scripts, command-line tools or credentials: Codememory Context Skill is instructions for the agent only.

Does Codememory Context Skill access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Codememory Context Skill 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 Codememory Context Skill use?

No licence was found for Codememory Context Skill or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Codememory Context Skill use?

About 599 tokens (SKILL.md is roughly 2.4k 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 Codememory Context Skill?

Skills that share tags, products or a category with Codememory Context Skill: Codememory Summarization Skill (harrylettering/CodeMemory, 158 stars), Codememory Mark Constraint (harrylettering/CodeMemory, 158 stars), Codememory Mark Decision (harrylettering/CodeMemory, 158 stars) and Codememory Mark Task (harrylettering/CodeMemory, 158 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codememory Context Skill?

harrylettering (a GitHub user) maintains it in harrylettering/CodeMemory, which has 158 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 5, 2026.

Source: harrylettering/CodeMemory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.