Agent skill

Memory Review

by meain in meain/dotfiles

Review and clean up Claude auto-memory for the current project.

MITAuto-check passedAgent Workflows

Install Memory Review

skills CLI
$ npx skills add meain/dotfiles --skill memory-review -a claude-code

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

GitHub CLI
$ gh skill install meain/dotfiles memory-review --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/meain/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agents/.agents/skills/memory-review .claude/skills/memory-review && 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
memory-review
GitHub stars
285
Token cost
~793 tokens
SKILL.md length
286 words
Files
1
Skills in repo
36
Repo updated
First seen
Licence
MIT

At a glance

Review and clean up Claude auto-memory for the current project.

  • Works in 5 steps: Find the Memory Directory → Write the Review File → Open in Emacs → …
  • Agent Workflows work in your project
  • SKILL.md covers Step 1: Find the Memory…, Step 2: Write the Review File, Step 3: Open in Emacs and Step 4: Parse the Edits, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Memory Review is an agent skill from meain/dotfiles. Review and clean up Claude auto-memory for the current project. Opens the memory list in Emacs for annotation, then applies deletions, updates, and relocations based on edits. Triggers: /memory-review, "review my memories", "clean up memories", "prune memories", "update my memories"

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

It sits in Agent Workflows. The repository describes itself as: If there is a shell, there is a way! The licence is MIT.

When your agent uses it

  • Agent Workflows work in your project

Example prompts

  • “review my memories”
  • “clean up memories”
  • “prune memories”
  • “/memory-review”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Find the Memory Directory
  2. Write the Review File
  3. Open in Emacs
  4. Parse the Edits
  5. Confirm

What it can do on your machine

Read from SKILL.md and the folder at commit f469fb6. 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 bash and 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

Memory Review loads about 793 tokens when it runs. Until then it costs about 74 tokens; SKILL.md has 286 words of instructions outside code blocks.

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

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 meain/dotfiles at commit f469fb6, republished under its MIT licence (© meain). 286 words, ~793 tokens.

Download SKILL.mdSave it as .claude/skills/memory-review/SKILL.md (or your agent's skills folder).
name
memory-review
description
Review and clean up Claude auto-memory for the current project. Opens the memory list in Emacs for annotation, then applies deletions, updates, and relocations based on edits. Triggers: /memory-review, "review my memories", "clean up memories", "prune memories", "update my memories"
user_invocable
true

Memory Review

Interactively prune and update the Claude auto-memory for the current project.

Step 1: Find the Memory Directory

Derive the memory path from pwd:

bash
memory_dir="$HOME/.claude/projects/$(pwd | sed 's|/|-|g')/memory"

Verify it exists. If not, tell the user there are no memories for this project.

Step 2: Write the Review File

Read $memory_dir/MEMORY.md. For each entry, write a review file to /tmp/memory-review-YYYY-MM-DD.md containing the MEMORY.md bullet list exactly as-is, with instructions at the top:

markdown
# Memory Review — YYYY-MM-DD
# Instructions:
#   - Delete a line to remove that memory file entirely
#   - Add an inline note to request changes, e.g.:
#       (move to AGENTS.md)   → extract content into AGENTS.md, delete memory
#       (move to <skill>)     → add to the named skill's SKILL.md, delete memory
#       (update: <note>)      → update the memory file with the note
#       (delete)              → same as deleting the line
#   - Leave a line unchanged to keep it as-is
# Save and C-x # when done.

<paste MEMORY.md bullet list here>

Step 3: Open in Emacs

bash
emacsclient /tmp/memory-review-YYYY-MM-DD.md

Use timeout: 600000 and dangerouslyDisableSandbox: true.

Step 4: Parse the Edits

After Emacs returns, read the edited file and compare against the original list. Use the diff (from the harness system-reminder if present, otherwise compare manually).

For each change:

Deleted line
  • Delete the corresponding memory file from $memory_dir/
  • Remove its entry from $memory_dir/MEMORY.md
Line with (delete) annotation
  • Same as deleted line.
Line with (move to AGENTS.md) or (move to ~/.agents/AGENTS.md)
  • Read the memory file content
  • Find the appropriate section in /Users/meain/.dotfiles/agents/.agents/AGENTS.md (note: AGENTS.md is a symlink — always edit the dotfiles path directly)
  • Insert the rule/fact (distilled to a single bullet) in the relevant section
  • Delete the memory file and remove from MEMORY.md
Line with (move to <skill name>)
  • Find the skill: check ~/.claude/skills/<skill>/SKILL.md first, then ~/dev/veeam/oncall-copilot-plugins/plugins/*/skills/<skill>/SKILL.md
  • Read the memory file content
  • Add a concise rule to the appropriate place in the skill's SKILL.md
  • Delete the memory file and remove from MEMORY.md
Line with (update: <note>) or freeform annotation
  • Read the memory file
  • Update the body to incorporate the annotation (add the note, correct a fact, etc.)
  • Update the MEMORY.md one-liner if the description changed
Unchanged line
  • No action.

Step 5: Confirm

After applying all changes, output a brief summary:

  • N memories deleted
  • N memories updated
  • N memories relocated (to where)
  • N unchanged

© meain, 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 agents/.agents/skills/memory-review of meain/dotfiles.

Open the folder on GitHubat commit f469fb6

Compare with similar skills

Memory Review 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.

Memory Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memory Review this skillmeain/dotfiles285—~793Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k11 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers296k2 repos~5.1kAutomated safety check: PassMIT
Claude Code Agent Developmentanthropics/claude-plugins-official38k8 repos~2.8kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 11 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    296k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 8 repos~2.8k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed

More from meain/dotfiles

All 36 skills in this repo
  • Recall

    meain/dotfiles

    Search past Claude Code and Codex sessions. An agent skill from meain/dotfiles.

    285 GitHub starsUsed in 1 repo~684 tokens
    Auto-check passed
  • Grill With Docs

    meain/dotfiles

    Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise.

    285 GitHub starsUsed in 21 repos~875 tokens
    Auto-check passed
  • Backlog

    meain/dotfiles

    Daily backlog management — full planning review OR add a single entry from a URL.

    285 GitHub stars~3k tokensUpdated 1 mo ago
    Auto-check passed
  • Concern Review

    meain/dotfiles

    Generate an interactive local HTML review page for a large PR or diff, grouping the changed files by logical concern (not just by file) so a reviewer can go through one theme at a time instead of a…

    285 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed
  • My Weekly Report

    meain/dotfiles

    Generate a concise weekly status update in team format. An agent skill from meain/dotfiles.

    285 GitHub stars~2.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Web Search

    meain/dotfiles

    Search the web using lynx and DuckDuckGo. An agent skill from meain/dotfiles.

    285 GitHub stars~830 tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Memory Review

What does Memory Review do?

Review and clean up Claude auto-memory for the current project. Memory Review is an agent skill from meain/dotfiles. Review and clean up Claude auto-memory for the current project.

When should I use Memory Review?

Memory Review fits situations like: agent Workflows work in your project.

How do I install Memory Review in Claude Code?

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

How do I install Memory Review in Codex?

Run `npx skills add meain/dotfiles --skill memory-review -a codex`. Or copy the skill folder (agents/.agents/skills/memory-review in meain/dotfiles) into .agents/skills/memory-review in your project. Codex loads it when a task matches its description.

Can I use Memory Review 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 meain/dotfiles --skill memory-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/memory-review, .gemini/skills/memory-review, .github/skills/memory-review and .opencode/skills/memory-review in your project.

What does Memory Review need to run?

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

Does Memory Review 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 Memory Review 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 Memory Review use?

Memory Review is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Memory Review use?

About 793 tokens (SKILL.md is roughly 3.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 Memory Review?

Skills that share tags, products or a category with Memory Review: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 296k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memory Review?

meain (a GitHub user) maintains it in meain/dotfiles, which has 285 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on September 5, 2026.

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