Individual skill
mem0-scope
Views or changes the default memory scope (project, session, or global) used when saving and searching memories. Use when the user wants to control whether memories are scoped to this repo, this run, or shared across all their projects.
integrations/opencode-plugin/opencode-skills/mem0-scope/SKILL.md
Source commit ed1f10fc87080f0b67f99be370817504888462ab
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 68,812
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai Repository topic
- chatgpt Repository topic
- llm Repository topic
- python Repository topic
- rag Repository topic
- long-term-memory Repository topic
- memory Repository topic
- memory-management Repository topic
- state-management Repository topic
- ai-agents Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Read excerpt
# Mem0 Scope
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.