Agenticx Memory Architect
DemonDamon/AgenticX
Guide for setting up and using the AgenticX memory system including Mem0 integration, long-term memory, context management, and memory-enhanced agents.
Shows or changes the default Mem0 memory scope, project, session or global, which decides where memories are saved and searched.
$ npx skills add mem0ai/mem0 --skill mem0-scope -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mem0ai/mem0 mem0-scope --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/mem0ai/mem0.git skills-src && mkdir -p .claude/skills && cp -r skills-src/integrations/opencode-plugin/opencode-skills/mem0-scope .claude/skills/mem0-scope && 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 "mem0-scope" agent skill from https://github.com/mem0ai/mem0/tree/main/integrations/opencode-plugin/opencode-skills/mem0-scope into .claude/skills/mem0-scope/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mem0-scope", 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/mem0ai/mem0/tree/main/integrations/opencode-plugin/opencode-skills/mem0-scopeType 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 mem0ai/mem0 --skill mem0-scope -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mem0ai/mem0 mem0-scope --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mem0ai/mem0.git skills-src && mkdir -p .agents/skills && cp -r skills-src/integrations/opencode-plugin/opencode-skills/mem0-scope .agents/skills/mem0-scope && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mem0-scope" agent skill from https://github.com/mem0ai/mem0/tree/main/integrations/opencode-plugin/opencode-skills/mem0-scope into .agents/skills/mem0-scope/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mem0-scope", 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 mem0ai/mem0 --skill mem0-scope -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mem0ai/mem0 mem0-scope --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mem0ai/mem0.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/integrations/opencode-plugin/opencode-skills/mem0-scope .cursor/skills/mem0-scope && 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 "mem0-scope" agent skill from https://github.com/mem0ai/mem0/tree/main/integrations/opencode-plugin/opencode-skills/mem0-scope into .cursor/skills/mem0-scope/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mem0-scope", 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/mem0ai/mem0.git --path integrations/opencode-plugin/opencode-skills/mem0-scope--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 mem0ai/mem0 --skill mem0-scope -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mem0ai/mem0 mem0-scope --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mem0ai/mem0.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/integrations/opencode-plugin/opencode-skills/mem0-scope .gemini/skills/mem0-scope && 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 "mem0-scope" agent skill from https://github.com/mem0ai/mem0/tree/main/integrations/opencode-plugin/opencode-skills/mem0-scope into .gemini/skills/mem0-scope/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mem0-scope", 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 mem0ai/mem0 mem0-scopeInstalls 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 mem0ai/mem0 --skill mem0-scope -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mem0ai/mem0.git skills-src && mkdir -p .github/skills && cp -r skills-src/integrations/opencode-plugin/opencode-skills/mem0-scope .github/skills/mem0-scope && 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 "mem0-scope" agent skill from https://github.com/mem0ai/mem0/tree/main/integrations/opencode-plugin/opencode-skills/mem0-scope into .github/skills/mem0-scope/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mem0-scope", 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 mem0ai/mem0 --skill mem0-scope -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mem0ai/mem0 mem0-scope --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mem0ai/mem0.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/integrations/opencode-plugin/opencode-skills/mem0-scope .opencode/skills/mem0-scope && 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 "mem0-scope" agent skill from https://github.com/mem0ai/mem0/tree/main/integrations/opencode-plugin/opencode-skills/mem0-scope into .opencode/skills/mem0-scope/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mem0-scope", 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.
mem0-scopeShows or changes the default Mem0 memory scope, project, session or global, which decides where memories are saved and searched.
The default scope is what the memory tools use when no explicit scope is given. It is stored as default_scope in ~/.mem0/settings.json and read fresh on each memory operation, so a change applies immediately in the current session. There are three scopes. Project, the default, covers this repo only and filters by user and app. Session covers this run only by adding the run id. Global spans all your projects, searching across every app and saving memories without an app id so they are user-wide.
If your message names no scope, the agent shows the current one, falling back to project when nothing is set, optionally with a count of the memories in it and an active marker beside it. If it names project, session or global (repo, run and all or everywhere are accepted as aliases), the agent validates the value, reads the existing settings and writes the file back with only default_scope changed, keeping other keys such as global_search and auto_save. The excerpt is cut off in the example output.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit b7ad69a. 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 bash and 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.
Mem0 Memory Scope loads about 1.1k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 480 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 mem0ai/mem0 at commit b7ad69a, republished under its Apache-2.0 licence (© mem0ai). 480 words, ~1,133 tokens.
.claude/skills/mem0-scope/SKILL.md (or your agent's skills folder).View or change the default memory scope — the scope the memory tools use when
no explicit scope is given. The setting persists in ~/.mem0/settings.json
(default_scope) and the plugin reads it fresh on each memory operation, so a
change takes effect immediately in the current session.
The three scopes:
project (default) — this repo only. Filters by user_id + app_id.session — this run only. Adds run_id (the current session) so memories are
isolated to this conversation.global — across ALL your projects. Reads use app_id="*"; writes drop
app_id so the memory is user-wide.Look at the user's message for a target scope word: project, session, or
global (also accept "repo"→project, "run"→session, "all"/"everywhere"→global).
Read the current default scope from settings:
_S="$HOME/.mem0/settings.json"
[ -f "$_S" ] && grep -o '"default_scope"[[:space:]]*:[[:space:]]*"[a-z]*"' "$_S" | grep -o '[a-z]*"$' | tr -d '"' || echo "project"If the command prints nothing, the scope is project (the default).
(Optional) Show how many memories live in the current scope by calling
get_memories with scope="<current>", page_size=1, and reading the
count (or result length) from the response.
Display using the identity the plugin exported (do NOT re-shell git):
Mem0 memory scope
Current default scope: <current>
project - this repo only (user + app_id) <marker if active>
session - this run only (adds run_id) <marker if active>
global - all your projects (app_id = *) <marker if active>
User: ${MEM0_USER_ID}
Project: ${MEM0_APP_ID}
Session: ${MEM0_SESSION_ID}
To change: /mem0-scope session (or project / global)Put [active] next to the current scope. If you fetched a count in step 2,
add a Memories in scope: <N> line.
Validate the target is one of project, session, global. If not, show the
three options and stop.
Read the existing settings so you preserve every other key. Use the Read tool
on ~/.mem0/settings.json (it may not exist yet — treat a missing file as
{}).
Write the file back with the Write tool, keeping ALL existing keys and only
setting "default_scope" to the target. Pretty-print with 2-space indent and
a trailing newline. Do not drop global_search, auto_save, or any
other field that was present.
Example resulting file (when other keys already existed):
{
"auto_save": true,
"search_limit": 10,
"default_scope": "global"
}Confirm:
Default memory scope changed: <old> -> <new>
<one line describing the effect — see below>
Applies immediately to memory tools in this session.
To revert: /mem0-scope <old>Effect lines:
scope to override it for that one call.delete_all_memories deliberately ignores the default scope: deleting
user-wide always requires an explicit scope="global", so changing the
default can never turn a routine cleanup into a cross-project wipe.global scope (this user, all their projects) is distinct from the separate
global_search setting (all users). Leave global_search untouched here.IMPORTANT: Do NOT use markdown in your output. OpenCode TUI renders text verbatim — markdown like bold, ## headers, and | table | syntax appears as raw characters. Use plain text with indentation for structure. Use dashes for lists. Use spaces to align columns instead of markdown tables.
© mem0ai, 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
Just SKILL.md in integrations/opencode-plugin/opencode-skills/mem0-scope of mem0ai/mem0.
Open the folder on GitHubat commit b7ad69a
Mem0 Memory Scope 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 |
|---|---|---|---|---|---|---|
| Mem0 Memory Scope this skillmem0ai/mem0 | 67k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Agenticx Memory ArchitectDemonDamon/AgenticX | 294 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Hyperspacedb MemoryYARlabs/hyperspace-db | 161 | — | ~880 | Automated safety check: Pass | MIT | |
| Self Improving Systemsooiyeefei/ccc | 494 | — | ~5.2k | Automated safety check: Pass | MIT | |
| Mem0Anil-matcha/awesome-muse-connectors | 1.3k | — | ~867 | Automated safety check: Pass | MIT | |
| Mem0majiayu000/claude-skill-registry | 666 | 1 repos | ~1.8k | Automated safety check: Pass | Apache-2.0 |
DemonDamon/AgenticX
Guide for setting up and using the AgenticX memory system including Mem0 integration, long-term memory, context management, and memory-enhanced agents.
YARlabs/hyperspace-db
Zero-overhead cognitive long-term and episodic memory for AI agents (Mem0 drop-in and mcp-hyperspace-memory).
ooiyeefei/ccc
Decide whether your agent actually needs persistent memory, feedback loops, or closed-loop learning, then design the smallest thing that pays for itself.
Anil-matcha/awesome-muse-connectors
Mem0 memory CLI: add memories from messages, semantic search, read or delete memories, poll async events.
majiayu000/claude-skill-registry
Adds persistent, personalized long-term memory to LLM apps and agents with Mem0, the open-source memory layer: it extracts facts from conversations, stores them in a vector database and retrieves…
momori777/Artemis
Mem0 memory bridge for AI Girlfriend — search/read/write long-term memories from Qdrant vector DB.
mem0ai/mem0
Adds persistent memory to AI apps with the Mem0 Python and TypeScript SDKs: store, search, update and delete user memories, with framework integrations.
mem0ai/mem0
Adds, searches, lists, updates and deletes memories on the Mem0 platform from the terminal with the mem0 command, including a JSON mode built for agents.
mem0ai/mem0
Adds persistent memory to Vercel AI SDK apps with the Mem0 provider, using a wrapped model or standalone retrieve and store utilities.
mem0ai/mem0
Finds and deletes specific mem0 memories by search query or ID, always asking for confirmation first, and can undo the most recent memories added this session.
mem0ai/mem0
Saves a fact, decision or preference the user states into mem0 as written, labeled with a memory type such as decision, convention or user_preference.
mem0ai/mem0
Looks up stored agent memories by keyword or ID and prints compact one-line results instead of full detail.
Works with
Categories
Shows or changes the default Mem0 memory scope, project, session or global, which decides where memories are saved and searched. The default scope is what the memory tools use when no explicit scope is given.json and read fresh on each memory operation, so a change applies immediately in the current session.
Mem0 Memory Scope fits situations like: checking which Mem0 memory scope is currently active; isolating memories to the current session only; sharing memories across all of your projects; switching back to memories kept for this repo alone.
Run `npx skills add mem0ai/mem0 --skill mem0-scope -a claude-code`. Or copy the skill folder (integrations/opencode-plugin/opencode-skills/mem0-scope in mem0ai/mem0) into .claude/skills/mem0-scope in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mem0ai/mem0 --skill mem0-scope -a codex`. Or copy the skill folder (integrations/opencode-plugin/opencode-skills/mem0-scope in mem0ai/mem0) into .agents/skills/mem0-scope 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 mem0ai/mem0 --skill mem0-scope -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mem0-scope, .gemini/skills/mem0-scope, .github/skills/mem0-scope and .opencode/skills/mem0-scope in your project.
SKILL.md names no scripts, command-line tools or credentials: Mem0 Memory Scope is instructions for the agent only. Our summary lists: The Mem0 OpenCode plugin and its memory tools.
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.
Mem0 Memory Scope 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 1.1k tokens (SKILL.md is roughly 4.5k 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 Mem0 Memory Scope: Agenticx Memory Architect (DemonDamon/AgenticX, 294 stars), Hyperspacedb Memory (YARlabs/hyperspace-db, 161 stars), Self Improving Systems (ooiyeefei/ccc, 494 stars) and Mem0 (Anil-matcha/awesome-muse-connectors, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mem0ai (a GitHub organization) maintains it in mem0ai/mem0, which has 66,788 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 7, 2026.
Source: mem0ai/mem0 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.