PlugWiki

memory-merger Skill: Merge Saved Memories into Your Instruction Files

Merges mature lessons from a domain memory file into that domain's instruction file, after you approve what to merge.

Installs
12.9K
on skills.sh
Stars
40.7K
on GitHub
Updated
Oct 2026
last repo commit

memory-merger is a single-file skill in the github/awesome-copilot collection. You run /memory-merger >domain-name [scope], and it reads the memory file {domain}-memory.instructions.md and the matching {domain}.instructions.md. It proposes which memories to merge, waits for your "go", then rewrites the instruction file and removes the merged sections from the memory file.

Its folders are VS Code ones. Global scope is vscode-userdata:/User/prompts/ and workspace scope is .github/instructions/ in the project. SKILL.md does not mention Claude Code or Codex. The skill bundles no scripts, but it edits two files on disk.

Good for

  • VS Code Copilot users who keep per-topic memory and instruction files
  • Developers whose memory files have grown long and repetitive
  • Teams that keep shared project instructions under .github/instructions/
  • Anyone who wants to review the proposed memories and skip some before anything is merged

Install memory-merger

Claude Code

  1. 1

    Copy this prompt.

    Install the memory-merger skill in Claude Code. Run this command:
    
    npx skills add https://github.com/github/awesome-copilot --skill memory-merger
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

From its listing on skills.sh. Source.

What's in the skill

When it loads

Merges mature lessons from a domain memory file into its instruction file. Syntax: `/memory-merger >domain [scope]` where scope is `global` (default), `user`, `workspace`, or `ws`.

Sections in SKILL.md

  1. Scopes
  2. Syntax
  3. Process
  4. 1. Parse Input and Read Files
  5. 2. Analyze and Propose
  6. Proposed Memories for Merger
  7. Memory: [Headline]
  8. 3. Define Quality Bar
  9. 4. Merge and Iterate
  10. 5. Update Files
  11. Example

Key facts

Installs on skills.sh
12,858 as of 2026-11-02
Last commit to the repo
2026-10-30

What it includes

  • Starts a merge for one domain, global by default

    The domain is required, for example >clojure or >git-workflow. The scope is global, user, workspace or ws, and defaults to global.

    Try: “/memory-merger >git-workflow ws”

    /memory-merger >domain [scope]

  • Finds the memory file and the instruction file

    Works out both paths from the domain and scope. If the memory file is not found, Claude globs the folder for a close match and asks you if unsure.

    Files · 1. Parse input and read files

  • Lists each memory with its content and where it fits, then waits

    Shows a Proposed Memories for Merger list and asks you to approve all with "go" or name the ones to skip. It stops until you answer.

    2. Analyze and propose

  • Zero knowledge loss, minimal redundancy, maximum scannability

    Sets the three criteria that the merged instructions are judged against.

    3. Define the quality bar

  • Drafts the merged text and refines it before touching any file

    Drafts, checks against the quality bar and refines until it meets the criteria. Files are not updated in this step.

    4. Merge and iterate

  • Writes the instruction file and removes merged sections from the memory file

    Creates or updates the instruction file, merging applyTo patterns from both files, then removes the merged sections from the memory file.

    Delete · 5. Update files

From the official docs

Permissions

Low risk

The skill rewrites one instruction file and removes merged text from the memory file, after you approve. Keep both files in git or back them up first.

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It removes text from your memory file

    After the merge it deletes the merged sections from the memory file. Commit or copy both files first. github.com

  • Global scope affects every VS Code project

    Global is the default scope. Use workspace or ws when you only want to change one project. github.com

Technical details
Scopes
  • Reads and rewrites {domain}.instructions.md

  • Removes merged sections from {domain}-memory.instructions.md

  • Global scope is vscode-userdata:/User/prompts/, workspace scope is .github/instructions/

Questions

What does the memory-merger skill do?

It moves approved lessons from a domain memory file into the matching instruction file, then removes them from the memory file.

How do I install memory-merger in Claude Code, the Claude app or Codex?

Use the install box at the top of this page. The skill is one SKILL.md file. Its paths are VS Code folders, and SKILL.md does not mention Claude Code, the Claude app or Codex.

Does it change my files without asking?

It stops after proposing the memories and waits for your approval. After you approve it updates the instruction file and removes the merged sections from the memory file.

Which files does it touch?

{domain}-memory.instructions.md and {domain}.instructions.md, in either the VS Code user prompts folder (global) or .github/instructions/ in your workspace.

Is it safe?

It edits and removes text in two instruction files, so keep them in git or back them up first. The awesome-copilot README says its contents come from third-party developers and asks you to inspect them before installing.

Does it need an API key?

SKILL.md names no API key and bundles no scripts.

Information

updated Nov 2, 2026

Folder
skills/memory-merger

github/awesome-copilotskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 2
  1. memory-merger SKILL.md · github.com
  2. awesome-copilot README · github.com

Updated Nov 2, 2026.