slm-governance
Governed-workspace behavior for SuperLocalMemory.
Skill by qualixar
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/qualixar-slm-governance
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security, legal, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/slm-governance
Tools it pre-approves 10
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
audit_trail,set_retention_policy,get_retention_stats,get_lifecycle_status,compact_memories,consistency_check,recall,search,remember,Bash(slm:*)
What's inside
- Skill name
slm-governance- Description
- Governed-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.
- License
- AGPL-3.0
- Allowed tools
- audit_trail,, set_retention_policy,, get_retention_stats,, get_lifecycle_status,, compact_memories,, consistency_check,, recall,, search,, remember,, Bash(slm:*)
- Instructions
- 265 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (1)
- SKILL.md
SKILL.md (first lines)
# slm-governance — Governed Workspace Behavior SuperLocalMemory can run with named users and roles per workspace (company mode), keeps a compliance audit trail, applies a retention lifecycle, and ships GDPR export and erasure commands. This skill documents how an agent must behave in a governed workspace and what the governance tools really do. The MCP audit and retention tools are in the `power` tool set, not the default: if they are missing, tell the user to run `slm tools set power` and restart this app (see `slm-profile`). The `slm gdpr` and `slm team` commands work either way. --- ## Role model By default SLM is single-user: whoever runs it is the owner and nothing asks for a login. Company mode adds named users, each with one role per workspace (profile). A role in one workspace grants nothing in another. | Role | Read | Write | Share (`shared`/`global` writes) | Delete | Manage users and settings | |------|------|-------|-------|--------|-----------------| | `viewer` | Yes | No | No | No | No | | `member` | Yes | Yes | Yes | No | No | | `admin` | Yes | Yes | Yes | Yes | Yes | **Agent behavior by role:** - **Viewer**: Only call `recall`, `search`, `fetch`, `list_recent` and other reads. Never call `remember`, `update_memory`, `delete_memory` or any write tool. If a write is refused, say so: "This workspace is read-only for my role." - **Member**: May write memories, including `scope="shared"` and `scope="global"` when the user explicitly asks for them. May not delete memories or change users, roles or settings. - **Admin**: Everything above plus deletion and user administration. No MCP tool or `slm` command reports your role (only a signed-in dashboard session can ask the daemon, at `GET /api/rbac/whoami`). Do not guess it: attempt what the user asked and treat a permission refusal as final. Setting up users, roles and "Require login" is done in the dashboard under **Settings → Access**; there is no `slm user` or `slm role` command. The only company-mode commands are `slm team status` and `slm team policy` (next section). Roles apply to every route that touches data, not only to `remember` and `recall`. That includes pictures, documents, connected folders and turning features on: reading a file by path, connecting a folder (`slm sources add`), turning on pictures and documents and cleaning up with `slm media gc --apply` or `slm media repair` need the owner or an admin. SLM's own data folder can never be named as a path or a source. With login required, every page of data (export, compliance records, profiles, learning and trust details) needs a signed-in user; a test walks every route so a new one cannot slip through. --- ## Who administers a company-mode workspace While users are enrolled and login is required, the install token or an API key alone no longer administers the workspace: any local program can fetch the install token, so it would let anyone switch company mode off. Administration needs one of these: - **A signed-in admin** (a user with the `admin` role on that workspace), through the dashboard. - **`slm team` on the SLM computer**, which uses a private capability file that only the user running SLM can read, so the owner can never be locked out even if every admin is: ```bash slm team status # "Require login: on. Users: N." (read-only, safe) slm team policy --require-login on # every user signs in slm team policy --require-login off # the machine owner is the user again ``` Run them as the same user that runs SLM, with the daemon running. Otherwise the daemon refuses them. Users, roles and sessions are kept when login is turned off. Switching the requirement off lowers protection for everyone, so do it only when the user asks for it in this conversation; `slm team status` first. With no users enrolled yet, the machine owner can still create the first administrator. ### Strict mode: `slm token show` With `SLM_REQUIRE_CREDENTIALS=1`, the dashboard is not handed the SLM key; the person pastes it into a one-time box. `slm token show` prints that key. It is a secret that opens write access: do not run it on your own, never paste it into chat, a memory or a log, and tell the user to run it in their own terminal. `slm rotate-token` replaces it (then `slm restart`). ### What remote web apps can never do A connected web app (see `slm-web-access`) cannot correct, delete, share or switch profile, cannot read another profile, and cannot change, delete, pin or replace a memory it is not allowed to see: it is answered as if that memory did not exist. It never sees memories that came from a connected folder, and sees a picture or page only when its text held no secret or personal data. --- ## require-login When login is required, every operation on memories needs a signed-in user, including the connection your assistant uses. SLM handles this at the daemon level; agents never put credentials in tool calls. If a tool call returns an authentication or permission error, you must: 1. Stop the current operation immediately. 2. Report the requirement to the user. 3. Never cache, retry, or work around the block. In this mode, `include_global=True` and `include_shared=True` on `recall` are quietly turned off while the recall policy forbids cross-profile reads (the default), so an opt-in recall can come back with only personal facts. Do not try to work around it. See `slm-scope`. --- ## Retention and lifecycle Every memory moves through lifecycle states as it goes unused: active, warm, cold, archived. Two tools set and inspect that, and a third runs the forgetting cycle. They need the `power` tool set.
From qualixar/superlocalmemory, AGPL-3.0.
More from qualixar/superlocalmemory
- 0.683score
superlocalmemory-web
qualixar
Use the user's SuperLocalMemory through Web access.
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-bot-memory
qualixar
Cross-bot memory on a shared computer (Grok Bot, Cursor plugin, any host where several agents share one machine).
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-cache
qualixar
KV 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…
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-compress
qualixar
Compress large text, tool output, or transcripts to reduce context-window usage while keeping the full 1M window intact — call slm_compress(content, mode…
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-session
qualixar
Manage SuperLocalMemory session lifecycle — call session_init once at the start of every fresh session to load relevant project context and get a session_id…
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-status
qualixar
Health and optimization stats for SuperLocalMemory — call slm_optimize_stats() for live compression and cache counters (compress_runs, tokens_saved_compress…
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-web-access
qualixar
Set up and troubleshoot SuperLocalMemory Web access, the optional link that lets web apps (ChatGPT, Claude on the web, Muse, Composio, other remote MCP…
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-graph
qualixar
Index and query a codebase as a structural graph — build the code graph, trace blast radius of a change, find callers/callees/inheritors, semantic code search…
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-loop
qualixar
Gate-verified bounded loops with SuperLocalMemory as the durable ledger.
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-media
qualixar
Save pictures and PDFs in SuperLocalMemory and find them again by describing them.
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-mesh
qualixar
Cross-session peer coordination via the SLM mesh network.
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-profile
qualixar
Memory profiles (separate namespaces inside one SuperLocalMemory store) and MCP tool sets (which tools your host sees).
SkillAFreshness: A★ 257Claude Code +9
Signals
- Stars
- 257
- Forks
- 36
- Open issues
- 3
- Contributors
- 13
- Last commit (this folder)
- Oct 22, 2026 (6 days ago)
- Last release
- Oct 22, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- Repository
- github.com/qualixar/superlocalmemory
- Website
- www.superlocalmemory.com
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.356score
slm-governance
qualixar
Governed-workspace behavior for SuperLocalMemory.
SkillAFreshness: A★ 257Claude Code +9 - 0.356score
slm-governance
qualixar
Governed-workspace behavior for SuperLocalMemory.
SkillAFreshness: A★ 257Claude Code +9 - 0.356score
slm-governance
qualixar
Governed-workspace behavior for SuperLocalMemory.
SkillAFreshness: A★ 257Claude Code +9 - 0.356score
slm-governance
qualixar
Governed-workspace behavior for SuperLocalMemory.
SkillAFreshness: A★ 257Claude Code +9 - 0.356score
slm-governance
qualixar
Governed-workspace behavior for SuperLocalMemory.
SkillAFreshness: A★ 257Claude Code +9 - 0.356score
slm-governance
qualixar
Governed-workspace behavior for SuperLocalMemory.
SkillAFreshness: A★ 257Claude Code +9 - 0.356score
slm-governance
qualixar
Governed-workspace behavior for SuperLocalMemory.
SkillAFreshness: A★ 257Claude Code +9
More from qualixar
- 0.683score
slm-loop
qualixar
Gate-verified bounded loops with SuperLocalMemory as the durable ledger.
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-cache
qualixar
KV 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…
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-compress
qualixar
Compress large text, tool output, or transcripts to reduce context-window usage while keeping the full 1M window intact — call slm_compress(content, mode…
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-bot-memory
qualixar
Cross-bot memory on a shared computer (Grok Bot, Cursor plugin, any host where several agents share one machine).
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-graph
qualixar
Index and query a codebase as a structural graph — build the code graph, trace blast radius of a change, find callers/callees/inheritors, semantic code search…
SkillAFreshness: A★ 257Claude Code +9 - 0.683score
slm-media
qualixar
Save pictures and PDFs in SuperLocalMemory and find them again by describing them.
SkillAFreshness: A★ 257Claude Code +9
Cite this page
slm-governance skill. Agent Mart. https://agentmart.dev/skills/qualixar-slm-governance (last updated 2026-10-24)