slm-scope

Solid

Controls memory visibility across profiles — personal (private, default), shared (selected profiles), or global (all profiles on this machine). Default is always personal. Only change scope when the user explicitly asks to share a memory across workspaces. Works with both remember (write scope) and recall (read scope flags).

AI & Automation 199 stars 34 forks Updated today AGPL-3.0

Install

View on GitHub

Quality Score: 88/100

Stars 20%
77
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# slm-scope — Memory Scope and Sharing Model SuperLocalMemory is profile-isolated by default. Every profile is a fully independent memory namespace. The scope model adds controlled, opt-in sharing between profiles on the same machine — it is never active unless you explicitly set it. --- ## The Three Scopes | Scope | Visibility | When to use | |-------|-----------|-------------| | `personal` | Active profile only | Default — all facts. Never set explicitly. | | `shared` | Active profile + `shared_with` profiles | Team handoffs, shared project context | | `global` | Every profile on this machine | Machine-wide conventions, org-wide rules | **The default is always `personal`.** A fact stored without a `scope` argument is private to the profile that stored it. Recall without scope flags returns only personal facts. This is identical to single-profile SLM. --- ## Opt-in is mandatory Never set `scope="shared"` or `scope="global"` (or the recall equivalents `include_shared`, `include_global`) unless the user explicitly asks you to share or read across profiles. This is a hard rule — scope expansion is an action with team-wide or machine-wide impact, and it must always be user-initiated. --- ## Writing a shared or global fact ### share with specific profiles ``` remember( content="API gateway rate limit is 1000 req/min per client", tags="api,limits,ops", project="platform", importance=8, session_id="<sid>", scope="shared", shared_with="devops-profile,backen...

Details

Author
qualixar
Repository
qualixar/superlocalmemory
Created
5 months ago
Last Updated
today
Language
Python
License
AGPL-3.0

Similar Skills

Semantically similar based on skill content — not just same category