MemPalace Memory
MemPalace/mempalace
Gives an agent a local memory palace over MCP: verbatim conversation memory, semantic search and a temporal knowledge graph, with a per-session recall protocol.
Encodes a repository into the Forgetful knowledge base as a project, entities, atomic memories and documents, so a second run updates instead of duplicating.
$ npx skills add ScottRBK/forgetful --skill forgetful-encode-repo -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ScottRBK/forgetful forgetful-encode-repo --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ScottRBK/forgetful.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/forgetful-encode-repo .claude/skills/forgetful-encode-repo && rm -rf skills-srcUse ~/.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/
Install the "forgetful-encode-repo" agent skill from https://github.com/ScottRBK/forgetful/tree/main/skills/forgetful-encode-repo into .claude/skills/forgetful-encode-repo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "forgetful-encode-repo", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ScottRBK/forgetful/tree/main/skills/forgetful-encode-repoType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ScottRBK/forgetful --skill forgetful-encode-repo -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ScottRBK/forgetful forgetful-encode-repo --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ScottRBK/forgetful.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/forgetful-encode-repo .agents/skills/forgetful-encode-repo && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "forgetful-encode-repo" agent skill from https://github.com/ScottRBK/forgetful/tree/main/skills/forgetful-encode-repo into .agents/skills/forgetful-encode-repo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "forgetful-encode-repo", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ScottRBK/forgetful --skill forgetful-encode-repo -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ScottRBK/forgetful forgetful-encode-repo --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ScottRBK/forgetful.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/forgetful-encode-repo .cursor/skills/forgetful-encode-repo && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "forgetful-encode-repo" agent skill from https://github.com/ScottRBK/forgetful/tree/main/skills/forgetful-encode-repo into .cursor/skills/forgetful-encode-repo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "forgetful-encode-repo", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ScottRBK/forgetful.git --path skills/forgetful-encode-repo--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ScottRBK/forgetful --skill forgetful-encode-repo -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ScottRBK/forgetful forgetful-encode-repo --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ScottRBK/forgetful.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/forgetful-encode-repo .gemini/skills/forgetful-encode-repo && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "forgetful-encode-repo" agent skill from https://github.com/ScottRBK/forgetful/tree/main/skills/forgetful-encode-repo into .gemini/skills/forgetful-encode-repo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "forgetful-encode-repo", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ScottRBK/forgetful forgetful-encode-repoInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ScottRBK/forgetful --skill forgetful-encode-repo -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ScottRBK/forgetful.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/forgetful-encode-repo .github/skills/forgetful-encode-repo && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "forgetful-encode-repo" agent skill from https://github.com/ScottRBK/forgetful/tree/main/skills/forgetful-encode-repo into .github/skills/forgetful-encode-repo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "forgetful-encode-repo", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ScottRBK/forgetful --skill forgetful-encode-repo -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ScottRBK/forgetful forgetful-encode-repo --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ScottRBK/forgetful.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/forgetful-encode-repo .opencode/skills/forgetful-encode-repo && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "forgetful-encode-repo" agent skill from https://github.com/ScottRBK/forgetful/tree/main/skills/forgetful-encode-repo into .opencode/skills/forgetful-encode-repo/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "forgetful-encode-repo", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
forgetful-encode-repoEncodes a repository into the Forgetful knowledge base as a project, entities, atomic memories and documents, so a second run updates instead of duplicating.
The aim is a knowledge base that later sessions can rely on: the system modeled as entities, decisions and conventions stored as atomic memories, longer explanations kept as documents, and everything stamped with provenance back to the source. Running it twice updates what exists and never duplicates, because each write queries before creating. Operations run through either the Forgetful MCP tools or the `forgetful` CLI.
It starts by deriving the owner and repo name from the git origin remote and looking up the project; an existing one means a refresh, otherwise it creates one. It then surveys the README, docs, contributor and agent guides, manifests and CI or deploy configuration and notes the current commit. The system and its key components become entities linked by part-of and depends-on relationships, and the knowledge is stored as documents for long-form understanding plus atomic memories that link back to them.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ff45893. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
mcp__forgetful__discover_forgetful_toolsmcp__forgetful__how_to_use_forgetful_toolmcp__forgetful__execute_forgetful_toolBash(forgetful:*)From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Forgetful Repo Encoding loads about 1k tokens when it runs. Until then it costs about 83 tokens; SKILL.md has 489 words of instructions outside code blocks.
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.
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.
The full file from ScottRBK/forgetful at commit ff45893, republished under its MIT licence (© ScottRBK). 489 words, ~1,039 tokens.
.claude/skills/forgetful-encode-repo/SKILL.md (or your agent's skills folder).The goal is a knowledge base a future session can lean on: the system modelled as entities, the decisions and conventions as atomic memories, the long-form understanding as documents, everything provenance-stamped back to the source. Encode twice and the second pass updates — never duplicates.
Operations are named by registry name (create_project, create_entity, ...). Invoke via
whichever surface this agent has:
execute_forgetful_tool(tool_name="create_project", arguments={...})forgetful call create_project --args '{"name": "..."}' --jsonGet any operation's schema at runtime: how_to_use_forgetful_tool (MCP) or
forgetful tools info <operation> (CLI) — schemas are deliberately not repeated here.
git remote get-url origin → owner/repo → list_projects with repo_name. Existing
project means this run is a refresh; otherwise create_project with the repo name and a
description of what the codebase is for.
Done when: a project_id exists and the run knows whether it is a first encode or a refresh.
Read what the repo says about itself before reading code: README, docs/, contributor and agent guides, manifests (dependencies, entry points, scripts), CI and deploy configuration. Note the current commit — every write in this run cites it via provenance.
Done when: there is a source list of what will be encoded, ordered by signal.
Skills referenced by name below resolve via search_skills → export_skill when not
already available. Per forgetful-entities: the system itself and its key components
(services, packages, databases, external dependencies that matter) as entity_type: "System", and their structure as relationships — part_of for composition, depends_on
for coupling. Dedupe against existing entities on a refresh.
Done when: the architecture is walkable as a graph, components to system, dependencies out.
Two layers, per forgetful-remember (its routing, atomicity test, and importance rubric
govern every write here):
document_ids, stamped with source_repo and
source_files, and linked to the entities it concerns via a separate
link_entity_to_memory call (not something create_memory does for you).On a refresh, query first per source area: update what drifted, mark obsolete what the code contradicts, create only what is new.
Done when: each surveyed source area has produced its documents and entry-point memories, or explicitly had nothing worth encoding.
Close with a coverage report, in place of "done": project ID, entities created/updated, memories created/updated/obsoleted, documents written, source areas skipped and why, and the areas where knowledge is thin. Note repo-level gaps the survey turned up too — missing docs, absent CI, and the like — not only gaps in the encoding itself. Deliver the report in the final response to the user; it is not written anywhere in Forgetful. The report is the encode's acceptance surface — a reader should be able to spot a gap from it alone.
Done when: the report is delivered and honest about gaps.
© ScottRBK, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/forgetful-encode-repo of ScottRBK/forgetful.
Open the folder on GitHubat commit ff45893
Forgetful Repo Encoding 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Forgetful Repo Encoding this skillScottRBK/forgetful | 301 | — | ~1k | Automated safety check: Pass | MIT | |
| MemPalace MemoryMemPalace/mempalace | 59k | — | ~2.7k | Automated safety check: Pass | MIT | |
| Codebase Domain Flow ExtractorEgonex-AI/Understand-Anything | 86k | — | ~2.4k | Automated safety check: Pass | MIT | |
| Ogham Maintainogham-mcp/ogham-mcp | 115 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Ogham Recallogham-mcp/ogham-mcp | 115 | — | ~1k | Automated safety check: Pass | MIT | |
| Basic Memory Setupbasicmachines-co/basic-memory | 4.1k | — | ~3.9k | Automated safety check: Pass | AGPL-3.0 |
MemPalace/mempalace
Gives an agent a local memory palace over MCP: verbatim conversation memory, semantic search and a temporal knowledge graph, with a per-session recall protocol.
Egonex-AI/Understand-Anything
Extracts business domains, flows and process steps from a codebase and produces an interactive horizontal flow graph, reusing an existing knowledge graph when one exists.
ogham-mcp/ogham-mcp
Admin and maintenance workflows for Ogham shared memory. An agent skill from ogham-mcp/ogham-mcp.
ogham-mcp/ogham-mcp
Smart retrieval from Ogham shared memory. An agent skill from ogham-mcp/ogham-mcp.
basicmachines-co/basic-memory
Runs a short guided interview that configures the Basic Memory plugin for a project: project mapping, note schemas, folder conventions and capture habits.
sundial-org/awesome-openclaw-skills
Git-Notes-Based knowledge graph memory system. An agent skill from sundial-org/awesome-openclaw-skills.
ScottRBK/forgetful
Installs and connects the Forgetful CLI in local or remote mode, sets up token auth for CI, and proves the setup with a real round-trip call.
ScottRBK/forgetful
Decides where a piece of knowledge belongs in the Forgetful memory server, checks for existing entries first, then creates and links it without deleting anything.
ScottRBK/forgetful
Models people, organisations, devices, products and system components as entities in a Forgetful knowledge graph, then links memories and relationships to them.
ScottRBK/forgetful
Explores the Forgetful memory graph in phases, walking memories, entities and relationships to answer cross-project and entity-centred questions.
ScottRBK/forgetful
Stores screenshots, PDFs, diagrams, fonts and other binary files in the Forgetful knowledge base, with a retrieval-friendly description and an attachment route.
ScottRBK/forgetful
Connects an MCP client to the Forgetful memory server over stdio or HTTP, then confirms the link works with discovery and round-trip calls.
Works with
Categories
Encodes a repository into the Forgetful knowledge base as a project, entities, atomic memories and documents, so a second run updates instead of duplicating. The aim is a knowledge base that later sessions can rely on: the system modeled as entities, decisions and conventions stored as atomic memories, longer explanations kept as documents, and everything stamped with provenance back to the source. Running it twice updates what exists and never duplicates, because each write queries before creating.
Forgetful Repo Encoding fits situations like: bringing a new repository under the Forgetful knowledge base; refreshing a stale encoding after the codebase has changed; capturing architecture, decisions and conventions for future sessions.
Run `npx skills add ScottRBK/forgetful --skill forgetful-encode-repo -a claude-code`. Or copy the skill folder (skills/forgetful-encode-repo in ScottRBK/forgetful) into .claude/skills/forgetful-encode-repo in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ScottRBK/forgetful --skill forgetful-encode-repo -a codex`. Or copy the skill folder (skills/forgetful-encode-repo in ScottRBK/forgetful) into .agents/skills/forgetful-encode-repo in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ScottRBK/forgetful --skill forgetful-encode-repo -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/forgetful-encode-repo, .gemini/skills/forgetful-encode-repo, .github/skills/forgetful-encode-repo and .opencode/skills/forgetful-encode-repo in your project.
Going by SKILL.md and its folder, Forgetful Repo Encoding needs the command-line tools its instructions call (git). Our summary lists: A Forgetful server reachable through MCP or the forgetful CLI; A git repository with an origin remote. Its frontmatter pre-approves these tools: mcp__forgetful__discover_forgetful_tools, mcp__forgetful__how_to_use_forgetful_tool, mcp__forgetful__execute_forgetful_tool, Bash(forgetful:*).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
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.
Forgetful Repo Encoding is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Forgetful Repo Encoding: MemPalace Memory (MemPalace/mempalace, 59k stars), Codebase Domain Flow Extractor (Egonex-AI/Understand-Anything, 86k stars), Ogham Maintain (ogham-mcp/ogham-mcp, 115 stars) and Ogham Recall (ogham-mcp/ogham-mcp, 115 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ScottRBK (a GitHub user) maintains it in ScottRBK/forgetful, which has 301 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 8, 2026.
Source: ScottRBK/forgetful on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.