Memori Long-Term Memory
MemoriLabs/Memori
Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.
Persistent, token-efficient project memory. An agent skill from shobcoder/shob.
$ npx skills add shobcoder/shob --skill memory -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install shobcoder/shob memory --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/shobcoder/shob.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/memory .claude/skills/memory && 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 "memory" agent skill from https://github.com/shobcoder/shob/tree/main/skills/memory into .claude/skills/memory/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "memory", 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/shobcoder/shob/tree/main/skills/memoryType 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 shobcoder/shob --skill memory -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install shobcoder/shob memory --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shobcoder/shob.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/memory .agents/skills/memory && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "memory" agent skill from https://github.com/shobcoder/shob/tree/main/skills/memory into .agents/skills/memory/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "memory", 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 shobcoder/shob --skill memory -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install shobcoder/shob memory --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shobcoder/shob.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/memory .cursor/skills/memory && 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 "memory" agent skill from https://github.com/shobcoder/shob/tree/main/skills/memory into .cursor/skills/memory/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "memory", 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/shobcoder/shob.git --path skills/memory--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 shobcoder/shob --skill memory -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install shobcoder/shob memory --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shobcoder/shob.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/memory .gemini/skills/memory && 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 "memory" agent skill from https://github.com/shobcoder/shob/tree/main/skills/memory into .gemini/skills/memory/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "memory", 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 shobcoder/shob memoryInstalls 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 shobcoder/shob --skill memory -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/shobcoder/shob.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/memory .github/skills/memory && 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 "memory" agent skill from https://github.com/shobcoder/shob/tree/main/skills/memory into .github/skills/memory/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "memory", 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 shobcoder/shob --skill memory -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install shobcoder/shob memory --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shobcoder/shob.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/memory .opencode/skills/memory && 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 "memory" agent skill from https://github.com/shobcoder/shob/tree/main/skills/memory into .opencode/skills/memory/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "memory", 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.
memoryPersistent, token-efficient project memory. An agent skill from shobcoder/shob.
Memory is an agent skill from shobcoder/shob. Persistent, token-efficient project memory. When ON, maintains a .shob/memory/ folder of structured .md files so the full context of the project is NEVER lost across responses, sessions, or context compaction. Uses progressive disclosure — routes through a lightweight INDEX and loads only the files a task needs, instead of dumping everything into context. Read memory at the START of every response, write it back at the END. Use when user says "memory on", "turn on memory", "enable memory", "remember this…
Its SKILL.md is about 2.5k 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 Context engineering. The repository describes itself as: Shob – an AI agent that delivers high-quality coding & automation work. The licence is MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 14831ba. It shows what the files ask for, not the result of running them.
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.
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.
Memory loads about 2.5k tokens when it runs. Until then it costs about 172 tokens; SKILL.md has 1,202 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 shobcoder/shob at commit 14831ba, republished under its MIT licence (© shobcoder). 1,202 words, ~2,492 tokens.
.claude/skills/memory/SKILL.md (or your agent's skills folder).Give the project a durable brain. While ON, you keep a living set of markdown files under
.shob/memory/ that capture everything needed to resume the project cold — with zero prior
chat history — and keep working without re-asking the user anything.
You are a memory-first agent. This is who you are, not an optional step.
Before you do ANYTHING the user asks — answering, coding, searching, planning, running a command — your FIRST action is to read
.shob/memory/. Memory is the first thing you touch every single turn. No task starts before memory is loaded.
Rules that you NEVER break while memory is ON:
.shob/memory/ are your only trusted memory. If it is not written there, you treat it as
not remembered.If .shob/memory/ does not exist yet, your memory-first action is to BOOTSTRAP it (see below)
before doing the user's task.
ACTIVE EVERY RESPONSE while ON. The memory loop runs on every turn, not just when asked. Off only when user says "memory off" / "stop memory" / "disable memory".
State is stored on disk, so it survives across sessions. The chat can be wiped — the project
brain in .shob/memory/ must be enough to fully reconstruct context.
.shob/memory/ does NOT exist → first activation → go to BOOTSTRAP.INDEX.md first. It is small and its one-line summaries tell you what each
file holds. This alone is your routing map.STATE.md (where are we now) and NEXT.md (what's next).CONVENTIONS.md. Hitting an unknown
term? open GLOSSARY.md. Revisiting a past choice? open DECISIONS.md. Do NOT read files
a task doesn't need — unread files cost zero tokens, that is the whole point.You MUST complete SAVE before ending the turn. Treat it like a commit: the turn is not done until memory is written.
Memory must make you more capable without bloating context. Follow these or memory becomes a tax instead of a brain:
NEXT.md items move their outcome into STATE.md/DECISIONS.md
and leave the queue. Stale lines are noise that costs tokens every single turn.When .shob/memory/ does not exist yet:
.shob/memory/.package.json, README.md, top-level folders, recent
git log, the files relevant to the current task — to ground the memory in reality, not
guesses.TBD, never invented facts.All files live in .shob/memory/. Each holds ONE concern. Keep them tight and current —
this is a working brain, not a changelog graveyard.
| File | Holds |
|---|---|
INDEX.md | Map of all memory files (one line each) + last-updated date. Read first, always. |
PROJECT.md | What the project is, its goal, the tech stack, top-level architecture, key entry points / important file paths. |
STATE.md | Current state: what works, what's in progress, what's broken. The "where are we right now" snapshot. |
NEXT.md | Concrete next steps / open tasks, ordered. The to-do queue. |
DECISIONS.md | Decisions made and WHY (append-only log, newest on top). Prevents re-litigating settled choices. |
CONVENTIONS.md | Code style, naming, patterns, tooling, and user preferences observed in this repo. How code here is written. |
GLOSSARY.md | Project-specific terms, names, and domain concepts with short definitions. |
Add more files when a concern outgrows the above (e.g. API.md, DATA-MODEL.md). When you
do, add a line for it in INDEX.md. Never let a file sprawl — split it.
STATE.md and NEXT.md are snapshots of now — replace
stale content. DECISIONS.md is an append-only log — add, never delete.YYYY-MM-DD) on INDEX.md and on each DECISIONS.md
entry. Convert "today"/"yesterday" to absolute dates.STATE.md says so. Memory must never
claim more than is true.NEXT.md task is done, move its outcome into STATE.md/DECISIONS.md and
remove it from the queue. Dead entries weaken the brain.INDEX.md — your routing map. The load when hints let you decide what to open without reading it.
# Memory Index — <project name>
_Last updated: YYYY-MM-DD_
Always load: INDEX, STATE, NEXT. Load the rest on demand per `load when`.
- PROJECT.md — what this is, stack, architecture, key paths · load when: orienting / cold start
- STATE.md — working / in-progress / broken · load when: ALWAYS
- NEXT.md — ordered next steps · load when: ALWAYS
- DECISIONS.md — decisions + why (newest first) · load when: revisiting a choice
- CONVENTIONS.md — code style, patterns, preferences · load when: writing/editing code
- GLOSSARY.md — project terms · load when: an unfamiliar term appearsPROJECT.md
# Project
**Goal:** <one or two sentences>
**Stack:** <languages, frameworks, runtime, build, key deps>
**Architecture:** <how the pieces fit>
**Key paths:**
- `path/to/thing` — what it isSTATE.md
# Current State
_As of YYYY-MM-DD_
**Working:** <what's done and verified>
**In progress:** <what's mid-flight>
**Broken / unverified:** <known issues, untested things>NEXT.md
# Next Steps
1. <most important next task>
2. <next>DECISIONS.md
# Decisions (newest first)
## YYYY-MM-DD — <decision>
**Why:** <reason>
**Alternatives considered:** <what was rejected and why, if relevant>CONVENTIONS.md
# Conventions & Preferences
- <pattern / style rule observed or requested>GLOSSARY.md
# Glossary
- **<term>** — <definition>.shob/memory/ is local project state. Do not commit it unless the user asks; if they want it
tracked, leave it; otherwise suggest adding .shob/ to .gitignore.© shobcoder, 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/memory of shobcoder/shob.
Open the folder on GitHubat commit 14831ba
Memory 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 |
|---|---|---|---|---|---|---|
| Memory this skillshobcoder/shob | 577 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Memori Long-Term MemoryMemoriLabs/Memori | 17k | — | ~2k | Automated safety check: Notes | Custom licence | |
| Memori Long-Term MemoryMemoriLabs/Memori | 17k | — | ~2k | Automated safety check: Pass | Apache-2.0 | |
| MemPalace Recall for Planningopen-gsd/gsd-core | 10k | 1 repos | ~1.5k | Automated safety check: Notes | MIT | |
| Planning with FilesOthmanAdi/planning-with-files | 27k | — | ~2.9k | Automated safety check: Pass | MIT | |
| User Thoughts Memorysickn33/agentic-awesome-skills | 47k | 1 repos | ~2.5k | Automated safety check: Pass | MIT |
MemoriLabs/Memori
Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.
MemoriLabs/Memori
Adds structured long-term memory to OpenClaw agents, built automatically from sessions, with tools the agent calls to recall facts, summaries and decisions.
open-gsd/gsd-core
Recalls earlier decisions, patterns and surprises from MemPalace memory before planning, behind a config gate that never blocks the planning step.
OthmanAdi/planning-with-files
Keeps a task plan, findings and progress log in markdown files on disk so long agent tasks survive context resets, with Gemini hooks and helper scripts.
sickn33/agentic-awesome-skills
Saves a user's project decisions, rules and preferences into a project-local mdbase so later sessions and other agents can recover the intent.
JordyZomer/lemmalog
Externalize working memory and logical state into the lemmalog Datalog engine (MCP).
shobcoder/shob
GOD MODE deep research skill. An agent skill from shobcoder/shob.
shobcoder/shob
Comprehensive research agent for in-depth investigation. An agent skill from shobcoder/shob.
shobcoder/shob
Work with Effect v4 / effect-smol TypeScript code in this repo
shobcoder/shob
UI/UX design intelligence expert for web and mobile applications.
shobcoder/shob
Scrape, crawl, and extract data from websites. An agent skill from shobcoder/shob.
Categories
Persistent, token-efficient project memory. An agent skill from shobcoder/shob. Memory is an agent skill from shobcoder/shob. Persistent, token-efficient project memory.
Memory fits situations like: user says memory on; remember this project; never lose memory; persist context.
Run `npx skills add shobcoder/shob --skill memory -a claude-code`. Or copy the skill folder (skills/memory in shobcoder/shob) into .claude/skills/memory in your project. Claude Code loads it when a task matches its description.
Run `npx skills add shobcoder/shob --skill memory -a codex`. Or copy the skill folder (skills/memory in shobcoder/shob) into .agents/skills/memory 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 shobcoder/shob --skill memory -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, .gemini/skills/memory, .github/skills/memory and .opencode/skills/memory in your project.
Going by SKILL.md and its folder, Memory needs the command-line tools its instructions call (git).
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.
Memory is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k 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 Memory: Memori Long-Term Memory (MemoriLabs/Memori, 17k stars), Memori Long-Term Memory (MemoriLabs/Memori, 17k stars), MemPalace Recall for Planning (open-gsd/gsd-core, 10k stars) and Planning with Files (OthmanAdi/planning-with-files, 27k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
shobcoder (a GitHub organization) maintains it in shobcoder/shob, which has 577 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on September 18, 2026.
Source: shobcoder/shob on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.