Agent skill

Memory Map

by kid-sid in kid-sid/claude-spellbook

A skill your agent uses when installing or configuring memorymap, writing CLAUDE.md session-setup instructions, choosing what to save in memory vs history, managing or pruning history chunks, using…

MITAuto-check passedAgent Workflows

Install Memory Map

skills CLI
$ npx skills add kid-sid/claude-spellbook --skill memory-map -a claude-code

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

GitHub CLI
$ gh skill install kid-sid/claude-spellbook memory-map --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/kid-sid/claude-spellbook.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/memory-map .claude/skills/memory-map && 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-map
GitHub stars
189
Token cost
~3.8k tokens
SKILL.md length
1,283 words
Files
1
Skills in repo
54
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when installing or configuring memorymap, writing CLAUDE.md session-setup instructions, choosing what to save in memory vs history, managing or pruning history chunks, using…

  • Works in 5 steps: Install from PyPI → Set MongoDB URI → Register the MCP Server → …
  • Configuring memorymap
  • SKILL.md covers When to Activate, Architecture, Installation and Memory Tools, plus 9 more sections
  • Calls claude, pip and git; reaches github.com; needs OPENAI_API_KEY

What it does

Memory Map is an agent skill from kid-sid/claude-spellbook. Use when installing or configuring memorymap, writing CLAUDE.md session-setup instructions, choosing what to save in memory vs history, managing or pruning history chunks, using cross-project memory, tuning compression, or troubleshooting why Claude isn't loading context at session start.

Its SKILL.md is about 3.8k 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, covering Agent memory and Agent instruction files. It works with Model Context Protocol and MongoDB. The repository describes itself as: A curated collection of skills, prompts, and workflows that extend Claude's capabilities — your personal grimoire for AI-powered development. The licence is MIT.

When your agent uses it

  • Configuring memorymap
  • Writing CLAUDE.md session-setup instructions
  • Choosing what to save in memory vs history
  • Pruning history chunks

Example prompts

  • “/memory-map”

Requirements

  • Python 3
  • A credential in OPENAI_API_KEY

Workflow steps

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

  1. Install from PyPI
  2. Set MongoDB URI
  3. Register the MCP Server
  4. Lifecycle Hooks
  5. Enable Per-Project Memory

What it can do on your machine

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

    Shell commands in SKILL.md call:

    • claude
    • pip
    • git
    • python
    • python3

    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 these keys or tokens, usually read from environment variables:

    • OPENAI_API_KEY

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

Context cost

Memory Map loads about 3.8k tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 1,283 words of instructions outside code blocks.

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

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 kid-sid/claude-spellbook at commit a7c2ac9, republished under its MIT licence (© kid-sid). 1,283 words, ~3,826 tokens.

Download SKILL.mdSave it as .claude/skills/memory-map/SKILL.md (or your agent's skills folder).
name
memory-map
description
Use when installing or configuring memory_map, writing CLAUDE.md session-setup instructions, choosing what to save in memory vs history, managing or pruning history chunks, using cross-project memory, tuning compression, or troubleshooting why Claude isn't loading context at session start.

memory_map

Persistent memory and conversation history MCP server for Claude Code — key-value context store, rolling MongoDB-backed history, and cross-project recall across sessions.

When to Activate

  • Installing memory_map for the first time or on a new machine
  • Writing CLAUDE.md session-setup instructions (load_memory, suggest_history)
  • Deciding what belongs in memory vs history vs inline code comments
  • Pruning stale or sensitive history chunks (delete_history)
  • Using cross-project or global memory tools
  • Configuring history compression or vector search
  • Debugging why Claude starts a session without prior context
  • Manually checkpointing conversation history with /mem_save

Architecture

memory_map_mcp/
├── server.py          — MCP server: 22 tools via FastMCP (stdio transport)
├── history_hook.py    — hook script: saves Q&A pairs on UserPromptSubmit / Stop / PreCompact
└── history_store.py   — storage layer: MongoDB CRUD, BM25, vector search, RRF, MMR

Storage:
├── MongoDB memory_map.history    — conversation chunks (suggest_history, save_history, delete_history)
├── MongoDB memory_map.memory     — key-value memory (save_memory / load_memory)
└── .mcp_memory.json              — per-project fallback when MongoDB not configured

MongoDB is required for all history features. Key-value memory works without it (falls back to .mcp_memory.json), but suggest_history, save_history, and delete_history all return an error if MEMORY_MAP_MONGO_URI is unset.

MCP registration makes all tools available globally. Per-project activation is controlled by CLAUDE.md — Claude only calls load_memory / suggest_history automatically if the instructions tell it to.

Installation

Step 1 — Install from PyPI
bash
pip install memory-map-mcp

Or install from source for development:

bash
git clone https://github.com/kid-sid/memory_map.git
cd memory_map
python -m venv venv

# Windows
venv\Scripts\pip install -e .

# Mac/Linux
source venv/bin/activate && pip install -e .
Step 2 — Set MongoDB URI

Add to your environment / shell profile:

bash
export MEMORY_MAP_MONGO_URI="mongodb+srv://user:pass@cluster.mongodb.net/"

Free-tier MongoDB Atlas works. Without this, history tools are unavailable.

Step 3 — Register the MCP Server
bash
# Global — available in every project (recommended)
claude mcp add -s user memory_map memory-map-mcp

If installed from source:

bash
# Windows
claude mcp add -s user memory_map \
  C:/Users/yourname/memory_map/venv/Scripts/python.exe \
  C:/Users/yourname/memory_map/memory_map_mcp/server.py

# Mac/Linux
claude mcp add -s user memory_map \
  python3 /home/yourname/memory_map/memory_map_mcp/server.py

Registration scope options:

Scope flagStored inAvailable
-s user~/.claude/mcp.jsonAll projects on this machine
-s project.claude/mcp.jsonThis repo only (committed, shared)
-s local.claude/mcp.local.jsonThis repo only (gitignored, personal)

Always use -s user for memory_map — it stores files at local paths that differ per machine.

Verify: claude mcp list → should show memory_map.

Step 4 — Lifecycle Hooks

Add to ~/.claude/settings.json so history is captured automatically in every project:

json
{
  "hooks": {
    "UserPromptSubmit": [
      {
        "matcher": "",
        "hooks": [{
          "type": "command",
          "command": "memory-map-hook",
          "timeout": 10
        }]
      }
    ],
    "PreCompact": [
      {
        "matcher": "",
        "hooks": [{
          "type": "command",
          "command": "memory-map-hook --force",
          "timeout": 15
        }]
      }
    ],
    "Stop": [
      {
        "matcher": "",
        "hooks": [{
          "type": "command",
          "command": "memory-map-hook --force",
          "timeout": 15,
          "async": true
        }]
      }
    ]
  }
}

If installed from source, replace memory-map-hook with the full path to history_hook.py.

HookWhenFlag
UserPromptSubmitEvery message — incremental savesnone
PreCompactBefore context window compaction--force
StopWhen Claude finishes a turn--force, async: true
Step 5 — Enable Per-Project Memory

Add this block to CLAUDE.md in the project root:

markdown
## Session Setup (Required)
At the start of every session, before doing anything else:
1. Call `load_memory` with the current working directory
2. Call `suggest_history` with the current working directory and the user's first message
3. Read both outputs before exploring files or asking questions

Save or update memory entries whenever you learn something worth keeping across sessions.
If something loaded from memory is no longer accurate, update it with `save_memory` using the same key.
Use short, lowercase keys: `stack`, `current_work`, `gotchas`, `key_files`. Keep values concise.

Commit CLAUDE.md — teammates get session-start loading automatically.


Memory Tools

save_memory / load_memory / delete_memory

Per-project key-value store backed by MongoDB (or .mcp_memory.json without MongoDB).

save_memory(project_path, key, value)
load_memory(project_path, query="", top_k=10)   → compressed key-value output
delete_memory(project_path, key)

Key conventions:

KeyWhat to store
stackLanguage, framework, runtime versions
current_workActive feature, bug, or initiative
gotchasNon-obvious constraints, known failures, env quirks
key_filesEntry points, config files, critical paths
conventionsNon-obvious team decisions not in the code

Rules:

  • Short, lowercase, underscore-separated keys
  • Values: one or two sentences max — dense, not verbose
  • Overwrite stale values with the same key; don't accumulate duplicates
  • Convert relative dates to absolute: "Thursday" → "2026-05-15"

What NOT to save in memory:

  • Code patterns and architecture (read the code)
  • Git history / who changed what (git log / git blame)
  • Fix recipes (the fix is in the code; commit message has context)
  • Ephemeral task state (in-progress work, current conversation)
  • Anything already in CLAUDE.md
Global Memory

Shared across all projects on the machine:

save_global_memory(key, value)
load_global_memory()

Use for: user identity, preferred tools, cross-project conventions. Never store secrets.


History Tools

Conversation history is stored in MongoDB (memory_map.history collection), one document per Q&A pair. Tags are extracted by local keyword matching — no LLM calls.

suggest_history — primary session-start tool
suggest_history(project_path, user_message, token_budget=2000, diversity=0.3)

Hybrid retrieval pipeline:

  1. Concurrent fetch — vector search + BM25/tag scoring run in parallel
  2. RRF merge — Reciprocal Rank Fusion combines both ranked lists
  3. MMR re-ranking — penalises redundant chunks so results cover more distinct topics
  4. Anchor — most recent chunk always included for session continuity
  5. Token budget — fills remaining budget with most recent unselected chunks

Call at session start with the user's first message. Returns the most relevant chunks within the token budget.

save_history / load_history / get_history_chunks
save_history(project_path, dialogue, session_id="", tags="")
load_history(project_path, last_n=5)        → tag index (id, timestamp, tags, preview, tokens)
get_history_chunks(project_path, ids)       → full dialogue for comma-separated chunk IDs

save_history is called automatically by history_hook.py — no manual calls needed during normal use. Auto-summarises oldest chunks when total tokens exceed MCP_HISTORY_MAX_TOKENS (default 50 000).

load_history + get_history_chunks are for inspection only — listing what's saved or fetching a specific chunk by ID. Do not use them at session start — use suggest_history instead.

delete_history — prune stale or sensitive chunks
delete_history(project_path, ids="", older_than_days=0)

Remove chunks you no longer need. At least one filter must be provided:

# Delete specific chunks by ID (get IDs from load_history or suggest_history output)
delete_history("C:/projects/my-api", ids="6830a1f2e4b0c1234567abcd,6830a1f2e4b0c1234567ef01")
→ "deleted: 2 chunk(s)"

# Remove everything older than 30 days
delete_history("C:/projects/my-api", older_than_days=30)
→ "deleted: 7 chunk(s)"

# Both filters together (union — deletes chunks matching either condition)
delete_history("C:/projects/my-api", ids="6830a1f2e4b0c1234567abcd", older_than_days=30)

Deletion is scoped to the given project — other projects are never affected.

summarise_history
summarise_history(project_path, n=10)

Collapse the n oldest chunks into a single summary chunk. Triggered automatically by save_history when the token budget is exceeded; call manually to compact immediately.

backfill_history_embeddings / backfill_bm25_text
backfill_history_embeddings(project_path="", batch_size=20)
backfill_bm25_text(project_path="", batch_size=100)

Run once after enabling vector search or upgrading from an older version. Repeat until remaining=0. Pass project_path="" to backfill across all projects.


Vector Search (Optional)

Set MEMORY_MAP_EMBED_PROVIDER to enable semantic search in suggest_history:

ValueHow
openaitext-embedding-3-small (1536-dim); requires OPENAI_API_KEY
localsentence-transformers/all-MiniLM-L6-v2 (384-dim, CPU, no API key)
atlasAtlas autoEmbed (Voyage-4) via Atlas Vector Search
(unset)BM25 + tag scoring only — no vector search

Without MEMORY_MAP_EMBED_PROVIDER, suggest_history still works using BM25 and tag matching.


Show full SKILL.md (533 more words)Show less

Cross-Project Tools

ToolWhat it does
list_projectsList all projects that have saved memory under a base path
get_project_summary(project_path)One-line summary of a project's memory
load_cross_project_memory(base_path)Load memory from sibling projects
search_across_projects(base_path, keyword)Full-text search across all project memories

Use cases:

  • Referencing a pattern from a sibling project
  • Finding which project owns a shared library
  • Onboarding to a new project by comparing to a known one

Utility Tools

ToolWhat it does
get_local_structure(path, max_depth=5)Gitignore-aware directory tree
get_github_structure(repo, branch="main", max_depth=5)GitHub repo file tree via API
get_git_history(path, count=5)Recent commits as hash | subject

Compression

set_compression(project_path, level)
LevelOutputWhen to use
0Raw — full fidelityDebugging, inspecting memory content
1Compact (default)Normal use
2Dense — abbreviationsLow context budget, large memories

Set per-project; persists until changed. Entries not updated in 30+ days get a [stale: Nd old] annotation at levels 1 and 2.


CLAUDE.md Session-Start Pattern

Minimal session-setup block for any project:

markdown
## Session Setup (Required)
At the start of every session, before doing anything else:
1. Call `load_memory` with the current working directory
2. Call `suggest_history` with the current working directory and the user's first message
3. Read both outputs before exploring files or asking questions

Save or update memory entries whenever you learn something worth keeping across sessions.
If something loaded from memory is no longer accurate, update it with `save_memory` using the same key.
Do not call `load_history` + `get_history_chunks` manually at session start — those are for inspection only.

Troubleshooting

SymptomLikely causeFix
Claude starts sessions cold with no memoryCLAUDE.md missing or not instructing load_memoryAdd session-setup block to CLAUDE.md
load_memory returns "no memory saved yet"First session, or memory was deletedNormal — save entries as context is established
History tools return "MongoDB unavailable"MEMORY_MAP_MONGO_URI not setExport the env var; verify with echo $MEMORY_MAP_MONGO_URI
suggest_history returns "no history yet"Hooks not configured, or first sessionCheck hooks in settings.json; run memory-map-hook --force manually
MCP server not foundNot registered, or wrong pathRe-run claude mcp add; verify with claude mcp list
Hook hangs the sessionNo timeout on hookEnsure "timeout": 10 is set on every hook
Stale chunks surfacing in suggestionsOld history never prunedRun delete_history(project_path, older_than_days=N)

Red Flags

  • Putting API keys or passwords in save_memory — memory may be committed or shared; store only key names and env var references, never values
  • No CLAUDE.md after registering the MCP server — registration makes tools available but Claude only auto-loads memory if the session-setup instructions tell it to
  • Using -s project for memory_map registration — memory_map stores files at local absolute paths that differ per machine; use -s user always
  • Saving entire file contents or code blocks in memory — values should be one to two sentences; large values bloat the store and crowd out useful keys
  • Hooks without timeout — a stalled hook blocks Claude Code indefinitely; always set "timeout": N
  • Calling load_history + get_history_chunks at session start — use suggest_history instead; it runs hybrid retrieval and returns the most relevant chunks within a token budget
  • Never running delete_history — history grows unbounded; prune stale projects periodically with older_than_days

Checklist

  • pip install memory-map-mcp succeeded; memory-map-mcp command is on PATH
  • MEMORY_MAP_MONGO_URI is set in the environment
  • claude mcp list shows memory_map with correct entry point
  • Registration used -s user (not -s project or -s local)
  • Three lifecycle hooks in ~/.claude/settings.json: UserPromptSubmit, PreCompact, Stop
  • Every hook has a "timeout" value; Stop hook has "async": true
  • CLAUDE.md added to the project root and committed
  • CLAUDE.md instructs load_memory and suggest_history at session start (not load_history)
  • No secrets stored in save_memory — only descriptive values and env var names
  • Memory keys are short, lowercase, and overwrite stale values (no duplicates)
  • backfill_history_embeddings run if MEMORY_MAP_EMBED_PROVIDER was set after initial use
  • /mem_save used before context compaction or ending a long session mid-task

© kid-sid, 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 skills/memory-map of kid-sid/claude-spellbook.

Open the folder on GitHubat commit a7c2ac9

Compare with similar skills

Memory Map 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 Map compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Memory Map this skillkid-sid/claude-spellbook189—~3.8kAutomated safety check: PassMIT
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
MemPalace Memory SearchMemPalace/mempalace59k—~1.4kAutomated safety check: PassMIT
MemPalace Setup and OperationMemPalace/mempalace59k—~2.2kAutomated safety check: PassMIT
SkillOpt Sleep Cyclemicrosoft/SkillOpt18k—~2.3kAutomated safety check: PassMIT
agentmemory Setup and Diagnosticsrohitg00/agentmemory29k—~1kAutomated safety check: NotesApache-2.0

Similar skills

  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • MemPalace Memory Search

    MemPalace/mempalace

    Mines project files and conversation exports into a local, searchable memory palace and recalls past work by semantic search through the mempalace CLI.

    59k GitHub stars~1.4k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Installs and configures MemPalace as a private local palace, a shared-brain hub or a client of an existing hub, including MCP registration and version-correct initialization.

    59k GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • SkillOpt Sleep Cycle

    microsoft/SkillOpt

    Official

    Runs an on-demand or nightly sleep cycle that reviews past Claude Code sessions and proposes validated updates to CLAUDE.md and skills.

    18k GitHub stars~2.3k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Sets up and troubleshoots a local agentmemory install, covering the MCP connection, environment variables, ports, authentication and optional feature flags.

    29k GitHub stars~1k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes
  • CLAUDE.md Improver

    anthropics/claude-plugins-official

    Official

    Finds every CLAUDE.md file in a repository, scores each against quality criteria, shows a report, then makes targeted updates after you approve.

    37k GitHub starsUsed in 5 repos~1.5k tokens
    Agent WorkflowsAuto-check passed

More from kid-sid/claude-spellbook

All 54 skills in this repo
  • Accessibility

    kid-sid/claude-spellbook

    A skill your agent uses when building or reviewing UI components for keyboard and screen reader compatibility, adding ARIA to custom widgets, auditing a page for WCAG AA conformance, or preparing…

    189 GitHub stars~3.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Agentex

    kid-sid/claude-spellbook

    A skill your agent uses when building, wiring, or debugging an Agentex agent — choosing agent type, configuring acp.py and manifest.yaml, using adk.messages or adk.state, or resolving…

    189 GitHub stars~2.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • AI Engineer

    kid-sid/claude-spellbook

    A skill your agent uses when building production LLM applications — designing RAG pipelines, choosing vector databases, implementing agent orchestration, optimizing cost, or adding AI safety…

    189 GitHub stars~3.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Angular

    kid-sid/claude-spellbook

    A skill your agent uses when building or refactoring Angular applications — choosing between signals, RxJS, and NgRx for state, configuring routing with guards and lazy loading, optimizing change…

    189 GitHub stars~5k tokensUpdated 2 mo ago
    Auto-check passed
  • API Design

    kid-sid/claude-spellbook

    A skill your agent uses when designing new REST endpoints, reviewing an existing API contract, adding pagination or filtering, planning a versioning strategy, or building a public or partner-facing…

    189 GitHub stars~3.6k tokensUpdated 2 mo ago
    Auto-check passed
  • Auth

    kid-sid/claude-spellbook

    A skill your agent uses when implementing login flows, issuing or validating JWTs, setting up OAuth2/OIDC with a provider, designing role-based or attribute-based access control, securing API…

    189 GitHub stars~3.2k tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Memory Map

What does Memory Map do?

A skill your agent uses when installing or configuring memorymap, writing CLAUDE.md session-setup instructions, choosing what to save in memory vs history, managing or pruning history chunks, using…. Memory Map is an agent skill from kid-sid/claude-spellbook.md session-setup instructions, choosing what to save in memory vs history, managing or pruning history chunks, using cross-project memory, tuning compression, or troubleshooting why Claude isn't loading context at session start.

When should I use Memory Map?

Memory Map fits situations like: configuring memorymap; writing CLAUDE.md session-setup instructions; choosing what to save in memory vs history; pruning history chunks.

How do I install Memory Map in Claude Code?

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

How do I install Memory Map in Codex?

Run `npx skills add kid-sid/claude-spellbook --skill memory-map -a codex`. Or copy the skill folder (skills/memory-map in kid-sid/claude-spellbook) into .agents/skills/memory-map in your project. Codex loads it when a task matches its description.

Can I use Memory Map 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 kid-sid/claude-spellbook --skill memory-map -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-map, .gemini/skills/memory-map, .github/skills/memory-map and .opencode/skills/memory-map in your project.

What does Memory Map need to run?

Going by SKILL.md and its folder, Memory Map needs the command-line tools its instructions call (claude, pip, git, python and python3) and credentials named OPENAI_API_KEY. Our summary lists: Python 3; A credential in OPENAI_API_KEY.

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

Memory Map 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 Map use?

About 3.8k tokens (SKILL.md is roughly 15k 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 Map?

Skills that share tags, products or a category with Memory Map: Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars), MemPalace Memory Search (MemPalace/mempalace, 59k stars), MemPalace Setup and Operation (MemPalace/mempalace, 59k stars) and SkillOpt Sleep Cycle (microsoft/SkillOpt, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Memory Map?

kid-sid (a GitHub user) maintains it in kid-sid/claude-spellbook, which has 189 GitHub stars. The repository holds 54 skills in this directory. The repository was last updated on August 5, 2026.

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