/superlocalmemory:slm-profilefrom SuperLocalMemory
Manages SuperLocalMemory memory profiles (namespaces) and MCP tool sets. Switch profiles to isolate memory across projects/clients, or change tool visibility for connected apps.
Ships in SuperLocalMemory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Two different things are called "profile" in SuperLocalMemory. Keep them apart.
default. This is what switch_profile,
slm profile and the profile_id argument are about.SLM_MCP_PROFILE: core, code, full, power,
mesh) decides which tools the server shows your host. switch_profile does
not change it.A memory profile organises memory. It is not a security boundary: any local
caller that can name a profile can read it, unless the user has turned on company
mode with roles. For memories that must be unreachable from another bot or user,
use a separate data directory (SLM_DATA_DIR) or company mode (slm-governance).
slm profile list [--json]
slm profile create <name> [--json]
slm profile switch <name> [--json]
slm status --json # data.profile is the active profile
Creating a profile is a CLI action; there is no MCP tool for it. Over MCP:
switch_profile(
profile_id: str, # the name of an existing profile
)
switch_profile changes the active profile. The change is not private to
your session: it is written as the machine's active profile, so every later call
from every session on this machine, and the dashboard, now work in it until
someone switches again. An unknown name is refused (Profile '<name>' does not exist); nothing is created. In company mode it also needs a role on the target
profile. Only switch when the user asks to move; do not switch to peek at
something.
Most tools take an optional profile_id: remember, recall, search,
fetch, list_recent, update_memory, delete_memory, session_init,
close_session, report_outcome, report_feedback, get_status,
get_memory_summary, the correction and memory-kind tools, and others. A
non-empty value serves that one call from that profile (which must already
exist) and never moves the active profile. An empty value means the active
profile. Prefer this to switching and switching back.
recall(query="rollout plan", profile_id="work", session_id="<sid>")
remember(content="...", tags="ops", profile_id="client-acme")
forget and the mesh tools take no profile_id; they act on the active profile.
recall returns only the profile's own memories, plus shared or global ones
only when you opt in (see slm-scope).remember writes to the profile you name or the active one.code_graph.db in the data directory.slm_cache_* key-value cache and slm_compress recovery store are keyed
by the calling agent, not by profile, so switching profiles does not give you
a clean cache (see slm-cache).To keep two bots or two clients completely apart, give each its own
SLM_DATA_DIR in its MCP config. You can run several SLM MCP servers at once,
named differently (for example superlocalmemory-personal and
superlocalmemory-work), each pointed at its own directory.
| Profile | Tools | What it is |
|---|---|---|
core | 20 tools — remember, recall, search, fetch, expand, list_recent, update_memory, forget, session, optimize, corrections, summaries, switch_profile | Smallest set |
code | 40 tools — core + portable Brain evidence, report_outcome/report_feedback, 6 code-graph tools, memory kinds, bounded loops | For coding agents that need the graph; no mesh, no get_status |
full | 60 tools (5 more while images are on) — everyday memory, delete_memory, get_status, observe, saved views, learning tools, skills, optimize, kinds, loops, mesh | The default for every app |
power | 72 tools — full + audit_trail, retention, compaction, consistency_check, behavioral and diagnostic tools | Governance and admin work |
mesh | 9 tools — mesh coordination only | Lightweight cross-session signalling |
Every app gets the 60-tool full set unless the user chose another: no plugin
or extension SuperLocalMemory ships sets one. It fits hosts that cap the total
number of MCP tools at about 100. While pictures
and documents are on (slm media status), full lists 62 tools and power 74:
the five picture tools remember_media, get_media, remember_document,
media_status and media_upload_link are added to both, and never to core,
code or mesh (see slm-media). The server reads this when it starts. Two
more environment variables widen or narrow it: SLM_MCP_ALL_TOOLS=1 registers
every tool (112), and SLM_MCP_TOOLS=remember,recall,... registers exactly the names
listed. SLM_MCP_PROFILE=whole is also every tool. The code-graph tools beyond
the six in code (such as update_code_graph, list_graph_stats) and tools
such as core_memory and settle_session_outcomes exist only with
SLM_MCP_ALL_TOOLS=1, whole or an explicit SLM_MCP_TOOLS list. Tools whose
function is to manage the SLM computer are never available to a remote caller.
The tool set is read when the MCP server starts. To change it for every app at once, the user runs one command and then restarts their apps (or reconnects them in Dashboard → Connected apps); asking the server at runtime does not work:
slm tools # the current set and how many tools each set has
slm tools set power # core, code, full, power, mesh or whole
slm tools set default # back to full
An app whose own MCP config sets SLM_MCP_PROFILE keeps that value: it wins
over the saved choice, for that app only (slm connect <ide> --profile <name>
writes it). Setting SLM_MCP_PROFILE to a name that does not exist stops
slm mcp with a message listing the valid names. Older count-suffixed names
such as code20, full38 and power50 still resolve, with a startup warning.
On an install that already has memories, do not set SLM_DATA_DIR in the MCP
config: it points the host at a different, empty store.
switch_profile is in core, code, full and power, and in the default
set. It is not in mesh.
Check the tool set first: slm tools shows it (an app's own SLM_MCP_PROFILE,
if set, overrides it for that app). Tell the user which set has the tool and
the command, for example "run slm tools set power and restart this app", and
let them decide; widening the set adds tools to every connected app. Mesh tools need full, power, mesh or the
default. Picture and PDF tools need full, power or whole and the feature
turned on (slm media enable). Code-graph tools need code or SLM_MCP_ALL_TOOLS=1. Audit and
retention tools need power. report_outcome and report_feedback need
anything but core or mesh.
slm-scope — opt-in fact sharing across profiles (personal/shared/global)slm-graph — code-graph tools and the tool set they needslm-mesh — mesh tools and the tool set they needslm-status — check the active profile nameslm-governance — roles and company modeSome hosts block local MCP servers by policy, and many agents, bots and agent frameworks never had them. SuperLocalMemory works the same from any shell, so this skill still applies:
slm status --json first. Never report "SLM unavailable" only because an MCP tool is missing.slm tool <name> --json '{...}', with the same arguments, checks and results: a successful call prints exactly what the MCP tool returns, and a failed one prints "success": false with error.code and error.message. slm tool describe <name> shows one tool's arguments; slm tool list lists the tools available right now (pictures and documents appear once they are turned on, slm media status).slm command answers in one JSON document on stdout: add --json after it, put slm --json before it, or set SLM_JSON=1 in the environment. slm mcp, slm session and slm session-context ignore SLM_JSON so servers and hooks keep working; give them --json directly. Read success first; a failure carries error.code and error.message. Exit code 0 means success, 1 that the command ran and failed (error.exit_code keeps a more specific code), 2 that it could not run, 130 that it was interrupted. Under JSON a command never asks a question: one that needs a confirmation answers confirmation_required and names the flag. slm gdpr export streams its document over several lines.slm recall "<question>" --json and slm remember "<text>" --json. slm help --json lists every command with its options.The slm-cli skill has the full command reference.
SuperLocalMemory v4.2.34 · Qualixar · AGPL-3.0-or-later
What SKILL.md sets; muted values are Claude Code's defaults
- "Switch to my work profile" - "What profile am I currently in?" - "Create a profile for this client" - "Read the work profile once without leaving this one" - "I need mesh or code-graph tools" (a tool-set question, not a profile switch) - "Why can't I see tool X?" - Multi-project workflows needing memory isolation - Switching between personal and team workspaces
npx claudepluginhub qualixar/superlocalmemory --plugin superlocalmemory17 skills in this plugin
/slm-bot-memoryCross-bot memory on a shared computer (Grok Bot, Cursor plugin, any host where several agents share one machine). Explains agent_id attribution vs. profile/scope access, how to namespace by agent_id + profile + scope, and what must never be written to memory. Read this before the first remember/recall on a new Grok-Bot-style host./slm-cacheKV cache for repeated reads — call slm_cache_get(key) first; on a miss do the expensive operation then slm_cache_set(key, value, ttl_seconds) to store it; on a hit use the returned value directly; always fail-open (hit:false on any error, never raises); saves tokens when the same file, query result, or tool output is read more than once in a session./slm-cliUse SuperLocalMemory from the shell when its MCP tools are not available to you. Every MCP tool runs as `slm tool <name>` with the same arguments, checks and JSON result, and the session protocol (start, recall before answering or searching, cue check before editing, remember decisions, pictures and PDFs, close) has a command for each step. Includes the full tool-to-command table./slm-compressCompress large text, tool output, or transcripts to reduce context-window usage while keeping the full 1M window intact — call slm_compress(content, mode, reversible, ttl_seconds) to shrink content; if the result is lossy a ccr_id is returned so you can call slm_retrieve(ccr_id) later to recover the exact original; always fail-open (ok:false → continue with the original)./slm-getting-started-botFirst-session orientation for SuperLocalMemory on a headless bot host (Grok Bot, or any Cursor-format plugin install with no hooks, no dashboard, and no interactive setup wizard). What is different here vs. Claude Code/Codex, which 21 tools are actually available, and the first three calls to make./slm-governanceGoverned-workspace behavior for SuperLocalMemory. Covers roles (admin/member/viewer) and company mode, who administers a company-mode workspace (a signed-in admin, or `slm team` on the SLM computer), `slm token show` in strict mode, what remote web apps can never see or change, retention and lifecycle settings, the audit trail, GDPR export and erasure, and how agents must behave when operating under workspace governance. The audit and retention tools need the power MCP profile. Agents must never bypass governance controls.2 plugins in one repository ship this exact skill · first indexed Nov 23, 2026
Other plugins' skills for the same job