Custom Mode Creator for claude-mem
thedotmack/claude-mem
Walks you through creating, installing and verifying a custom claude-mem mode, including note types, tags and optional Telegram alerts for chosen memories.
Saves an insight, decision or fact to agentmemory with specific concept tags and file paths, so a later recall can find it in a future session.
$ npx skills add rohitg00/agentmemory --skill remember -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rohitg00/agentmemory remember --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/rohitg00/agentmemory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugin/skills/remember .claude/skills/remember && 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 "remember" agent skill from https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/remember into .claude/skills/remember/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "remember", 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/rohitg00/agentmemory/tree/main/plugin/skills/rememberType 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 rohitg00/agentmemory --skill remember -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rohitg00/agentmemory remember --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rohitg00/agentmemory.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugin/skills/remember .agents/skills/remember && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "remember" agent skill from https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/remember into .agents/skills/remember/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "remember", 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 rohitg00/agentmemory --skill remember -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rohitg00/agentmemory remember --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rohitg00/agentmemory.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugin/skills/remember .cursor/skills/remember && 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 "remember" agent skill from https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/remember into .cursor/skills/remember/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "remember", 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/rohitg00/agentmemory.git --path plugin/skills/remember--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 rohitg00/agentmemory --skill remember -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rohitg00/agentmemory remember --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rohitg00/agentmemory.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugin/skills/remember .gemini/skills/remember && 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 "remember" agent skill from https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/remember into .gemini/skills/remember/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "remember", 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 rohitg00/agentmemory rememberInstalls 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 rohitg00/agentmemory --skill remember -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rohitg00/agentmemory.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugin/skills/remember .github/skills/remember && 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 "remember" agent skill from https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/remember into .github/skills/remember/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "remember", 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 rohitg00/agentmemory --skill remember -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rohitg00/agentmemory remember --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rohitg00/agentmemory.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugin/skills/remember .opencode/skills/remember && 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 "remember" agent skill from https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/remember into .opencode/skills/remember/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "remember", 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.
rememberSaves an insight, decision or fact to agentmemory with specific concept tags and file paths, so a later recall can find it in a future session.
When you ask the agent to remember something, it pulls out the core fact, picks two to five specific lowercase concept phrases, and notes any file paths you mentioned. It then calls the `memory_save` tool with the content, the concepts and the files, keeping your own wording instead of a paraphrase. In a multi-agent setup it can pass an agent id so the memory lands in the right scope.
After saving, the agent repeats the concepts it used so you know which terms will retrieve the memory. Saving a corrected version of a fact replaces the older record in recall, though the old one stays in a version chain. The skill needs agentmemory's `memory_save` tool to be available, and it points to companion skills for recall, forgetting, behavioral lessons and unprompted saving.
6 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 007a1a7. 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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are json).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
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.
Save to Long-Term Memory loads about 600 tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 235 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 rohitg00/agentmemory at commit 007a1a7, republished under its Apache-2.0 licence (© rohitg00). 235 words, ~600 tokens.
.claude/skills/remember/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.The user wants to save this to long-term memory: $ARGUMENTS
memory_save {
"content": "We rotate JWT refresh tokens on every use; the old token is revoked server-side in auth/refresh.ts.",
"concepts": "jwt-refresh-rotation, token-revocation, auth-flow",
"files": "src/auth/refresh.ts"
}Expected output:
Saved memory abc12345 with 3 concepts: jwt-refresh-rotation, token-revocation, auth-flow.A memory is only as useful as the terms that retrieve it. Tag with specific
concepts so a future recall finds it, and preserve the user's own phrasing.
$ARGUMENTS.jwt-refresh-rotation beats auth).memory_save with content, concepts (comma-separated string), and
files (comma-separated string). In a multi-agent setup pass agentId so
the memory lands in the right agent's scope.WRONG: concepts: "stuff, code, notes" (generic tags nothing can find later).
RIGHT: concepts: "jwt-refresh-rotation, token-revocation" (specific, retrievable).
recall: retrieve what you save here (the pair to this skill).forget: remove a memory you saved by mistake.lesson: behavioral rules from corrections; memories are for facts.memory-discipline: when to save unprompted.See ../_shared/TROUBLESHOOTING.md if memory_save is not available.
© rohitg00, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in plugin/skills/remember of rohitg00/agentmemory.
Open the folder on GitHubat commit 007a1a7
Save to Long-Term 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 |
|---|---|---|---|---|---|---|
| Save to Long-Term Memory this skillrohitg00/agentmemory | 29k | — | ~600 | Automated safety check: Pass | Apache-2.0 | |
| Custom Mode Creator for claude-memthedotmack/claude-mem | 98k | — | ~2.4k | Automated safety check: Pass | Apache-2.0 | |
| Coding Agent Session Findercode-yeongyu/oh-my-openagent | 70k | 1 repos | ~2.8k | Automated safety check: Pass | Custom licence | |
| Claude-Mem Cloud Syncthedotmack/claude-mem | 98k | 1 repos | ~1k | Automated safety check: Notes | Apache-2.0 | |
| Cognee CLI Memory Commandstopoteretes/cognee | 32k | 1 repos | ~2.2k | Automated safety check: Notes | Apache-2.0 | |
| Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills | 21k | — | ~1.9k | Automated safety check: Pass | MIT |
thedotmack/claude-mem
Walks you through creating, installing and verifying a custom claude-mem mode, including note types, tags and optional Telegram alerts for chosen memories.
code-yeongyu/oh-my-openagent
Finds, reads and reconstructs past coding-agent sessions across Codex, Claude, OpenCode, Senpi and many other local agent logs.
thedotmack/claude-mem
Checks claude-mem cloud sync status and guides you through connecting a cmem.ai Pro account without the sync token ever passing through the chat.
topoteretes/cognee
Drives cognee from the terminal with remember, recall, forget and improve memory commands, dataset and config management and database migrations.
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.
thedotmack/claude-mem
Searches the user's persistent cross-session memory for timestamped observations synthesized from past agent sessions on cmem.ai.
rohitg00/agentmemory
Sets up and troubleshoots a local agentmemory install, covering the MCP connection, environment variables, ports, authentication and optional feature flags.
rohitg00/agentmemory
Traces a file, function or line back to the agent session behind its current commit, using git blame and a memory lookup, and reports only what the records show.
rohitg00/agentmemory
Lists recent git commits linked to agent sessions, filterable by branch, repository or a result limit, showing the session id and observation count behind each one.
rohitg00/agentmemory
Deletes chosen memories from agentmemory only after showing the matches and getting an explicit yes, for privacy requests and cleanup of outdated notes.
rohitg00/agentmemory
Resumes the most recent agent session for the current directory, leading with any question left unanswered and ending with a concrete next step.
rohitg00/agentmemory
Distills a user correction or hard-won rule into a confidence-weighted lesson that resurfaces automatically before similar future work.
Categories
Saves an insight, decision or fact to agentmemory with specific concept tags and file paths, so a later recall can find it in a future session. When you ask the agent to remember something, it pulls out the core fact, picks two to five specific lowercase concept phrases, and notes any file paths you mentioned. It then calls the `memory_save` tool with the content, the concepts and the files, keeping your own wording instead of a paraphrase.
Save to Long-Term Memory fits situations like: saving a decision or design rationale for later sessions; recording a fact together with the files it relates to; correcting a memory that was saved earlier with outdated information.
Run `npx skills add rohitg00/agentmemory --skill remember -a claude-code`. Or copy the skill folder (plugin/skills/remember in rohitg00/agentmemory) into .claude/skills/remember in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rohitg00/agentmemory --skill remember -a codex`. Or copy the skill folder (plugin/skills/remember in rohitg00/agentmemory) into .agents/skills/remember 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 rohitg00/agentmemory --skill remember -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/remember, .gemini/skills/remember, .github/skills/remember and .opencode/skills/remember in your project.
SKILL.md names no scripts, command-line tools or credentials: Save to Long-Term Memory is instructions for the agent only. Our summary lists: agentmemory with its `memory_save` tool available.
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.
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.
Save to Long-Term Memory is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 600 tokens (SKILL.md is roughly 2.4k 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 Save to Long-Term Memory: Custom Mode Creator for claude-mem (thedotmack/claude-mem, 98k stars), Coding Agent Session Finder (code-yeongyu/oh-my-openagent, 70k stars), Claude-Mem Cloud Sync (thedotmack/claude-mem, 98k stars) and Cognee CLI Memory Commands (topoteretes/cognee, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rohitg00 (a GitHub user) maintains it in rohitg00/agentmemory, which has 29,222 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 6, 2026.
Source: rohitg00/agentmemory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.