MCP Server Builder
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
KV cache for repeated reads — call slmcacheget(key) first; on a miss do the expensive operation then slmcacheset(key, value, ttlseconds) to store it; on a hit use the returned value directly; always…
$ npx skills add qualixar/superlocalmemory --skill slm-cache -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install qualixar/superlocalmemory slm-cache --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/qualixar/superlocalmemory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugin/skills/slm-cache .claude/skills/slm-cache && 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 "slm-cache" agent skill from https://github.com/qualixar/superlocalmemory/tree/main/plugin/skills/slm-cache into .claude/skills/slm-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slm-cache", 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/qualixar/superlocalmemory/tree/main/plugin/skills/slm-cacheType 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 qualixar/superlocalmemory --skill slm-cache -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install qualixar/superlocalmemory slm-cache --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/qualixar/superlocalmemory.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugin/skills/slm-cache .agents/skills/slm-cache && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "slm-cache" agent skill from https://github.com/qualixar/superlocalmemory/tree/main/plugin/skills/slm-cache into .agents/skills/slm-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slm-cache", 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 qualixar/superlocalmemory --skill slm-cache -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install qualixar/superlocalmemory slm-cache --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/qualixar/superlocalmemory.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugin/skills/slm-cache .cursor/skills/slm-cache && 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 "slm-cache" agent skill from https://github.com/qualixar/superlocalmemory/tree/main/plugin/skills/slm-cache into .cursor/skills/slm-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slm-cache", 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/qualixar/superlocalmemory.git --path plugin/skills/slm-cache--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 qualixar/superlocalmemory --skill slm-cache -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install qualixar/superlocalmemory slm-cache --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/qualixar/superlocalmemory.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugin/skills/slm-cache .gemini/skills/slm-cache && 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 "slm-cache" agent skill from https://github.com/qualixar/superlocalmemory/tree/main/plugin/skills/slm-cache into .gemini/skills/slm-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slm-cache", 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 qualixar/superlocalmemory slm-cacheInstalls 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 qualixar/superlocalmemory --skill slm-cache -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/qualixar/superlocalmemory.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugin/skills/slm-cache .github/skills/slm-cache && 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 "slm-cache" agent skill from https://github.com/qualixar/superlocalmemory/tree/main/plugin/skills/slm-cache into .github/skills/slm-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slm-cache", 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 qualixar/superlocalmemory --skill slm-cache -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install qualixar/superlocalmemory slm-cache --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/qualixar/superlocalmemory.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugin/skills/slm-cache .opencode/skills/slm-cache && 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 "slm-cache" agent skill from https://github.com/qualixar/superlocalmemory/tree/main/plugin/skills/slm-cache into .opencode/skills/slm-cache/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slm-cache", 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.
slm-cacheKV cache for repeated reads — call slmcacheget(key) first; on a miss do the expensive operation then slmcacheset(key, value, ttlseconds) to store it; on a hit use the returned value directly; always…
Slm Cache is an agent skill from qualixar/superlocalmemory. KV cache for repeated reads — call slmcacheget(key) first; on a miss do the expensive operation then slmcacheset(key, value, ttlseconds) 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.
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows. It works with Model Context Protocol. The repository describes itself as: Open-source governed, local-first memory control plane for AI agents and teams. arXiv:2608.08253. The licence is AGPL-3.0.
Read from SKILL.md and the folder at commit ce2d7a9. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
slm_cache_setslm_cache_getBashFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python and bash).
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.
Slm Cache loads about 1.5k tokens when it runs. Until then it costs about 91 tokens; SKILL.md has 584 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 noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: slm_cache_set, slm_cache_get, BashAutomated 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 qualixar/superlocalmemory at commit ce2d7a9, republished under its AGPL-3.0 licence (© qualixar). 584 words, ~1,505 tokens.
.claude/skills/slm-cache/SKILL.md (or your agent's skills folder).When the same file, query result, or expensive tool output is needed more than once in a session, fetching it again wastes tokens and time. slm_cache_set stores a result under a stable key; slm_cache_get retrieves it on subsequent calls. The cache is agent-scoped (automatically namespaced by tenant/agent ID), TTL-bounded, and fail-open.
This is an agent-routed cache — it caches results the agent explicitly routes through SLM. It cannot cache Claude conversation turns.
slm_cache_set(
key: str, # required — cache key (max 512 chars)
value: str, # required — value to store (max 1 MB)
ttl_seconds: int = 86400, # time-to-live in seconds (default 24 h)
) -> dict| Key | Type | Meaning |
|---|---|---|
ok | bool | True on success; False on validation error or internal error |
stored | bool | True when the value was written to the cache |
note | str | None | Error detail or None on success |
Keys are SHA-256-hashed internally per agent so they do not collide across agents. The raw key string you supply is the only handle you need.
slm_cache_get(
key: str, # required — same key used in slm_cache_set
) -> dict| Key | Type | Meaning |
|---|---|---|
ok | bool | True on clean execution (including miss); False on internal error |
hit | bool | True when the key exists and has not expired |
value | str | None | The stored value on a hit; None on miss |
note | str | None | Error detail or None |
A miss returns {"ok": true, "hit": false, "value": null, "note": null}. ok: false means something went wrong internally but the miss behaviour is the same — treat both as a cache miss and proceed with the real fetch.
Always check the cache first, then fill on miss:
# 1. Check cache
cached = await slm_cache_get(key="file:/absolute/path/to/config.json")
if cached["hit"]:
content = cached["value"]
else:
# 2. Expensive operation (file read, search, API call)
content = read_file("/absolute/path/to/config.json")
# 3. Store for the rest of the session
await slm_cache_set(
key="file:/absolute/path/to/config.json",
value=content,
ttl_seconds=3600, # 1 h — adjust to data volatility
)
# 4. Use contentUse a stable, human-readable prefix so keys are recognisable in stats and won't collide accidentally:
| Content type | Suggested prefix | Example |
|---|---|---|
| File read | file: | file:/repo/src/config.py |
| Search result | search: | search:recall:session_init_context |
| Tool output | tool: | tool:build_code_graph:/repo |
| External fetch | url: | url:https://api.example.com/v1/data |
Key length cap: 512 characters. Keys longer than that are rejected (ok: false).
Cache when:
Do NOT cache:
ccr_id values (CCR already handles its own storage).Neither tool raises an exception. On any internal error:
slm_cache_get returns {"ok": false, "hit": false, "value": null, ...} — treat as a miss and proceed with the real fetch.slm_cache_set returns {"ok": false, "stored": false, ...} — log the note if useful, but continue; the value is still available in memory this step.Never block a task on a cache failure.
| Data type | Suggested TTL |
|---|---|
| Static config / generated file | 86400 s (24 h — the default) |
| Session-specific tool output | 3600 s (1 h) |
| Rapidly changing API data | Do not cache, or 60–300 s |
Set ttl_seconds to match how long the data remains valid. After expiry slm_cache_get returns a miss automatically.
The slm cache subcommand exists but has known pre-existing parse-test failures. Prefer the MCP tools above. If you must use CLI:
slm cache status [--json] [--tenant default]
slm cache clear [--json] [--tenant default]
slm cache invalidate --tag <tag> [--json] [--tenant default]
slm cache ttl --set <seconds> [--semantic <seconds>] [--json] [--tenant default]
slm cache semantic on|off [--json] [--tenant default]These subcommands control daemon-level cache settings. They do not read or write individual cache entries — use the MCP tools for that.
slm-compress — for large content reduction; cache and compress work togetherslm-status — view cache_kv_hits/cache_kv_misses counters from slm_optimize_statsslm-profile — cache entries are namespaced per profile; switching profiles gives a fresh cache namespaceSuperLocalMemory v4.1.21 · Qualixar · AGPL-3.0-or-later
© qualixar, AGPL-3.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 plugin/skills/slm-cache of qualixar/superlocalmemory.
Open the folder on GitHubat commit ce2d7a9
Slm Cache 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 |
|---|---|---|---|---|---|---|
| Slm Cache this skillqualixar/superlocalmemory | 227 | — | ~1.5k | Automated safety check: Notes | AGPL-3.0 | |
| MCP Server Builderanthropics/skills | 180k | 64 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| MCP Server BuildershareAI-lab/learn-claude-code | 78k | 5 repos | ~1.2k | Automated safety check: Pass | MIT | |
| MCP Integration for Pluginsanthropics/claude-plugins-official | 38k | 11 repos | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| Fastmcp Client CLIPrefectHQ/fastmcp | 28k | 1 repos | ~823 | Automated safety check: Pass | Apache-2.0 | |
| MemPalace Memory SearchMemPalace/mempalace | 59k | — | ~1.4k | Automated safety check: Pass | MIT |
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
shareAI-lab/learn-claude-code
Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.
anthropics/claude-plugins-official
Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.
PrefectHQ/fastmcp
Query and invoke tools on MCP servers using fastmcp list and fastmcp call.
MemPalace/mempalace
Mines project files and conversation exports into a local, searchable memory palace and recalls past work by semantic search through the mempalace CLI.
charmbracelet/crush
Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.
qualixar/superlocalmemory
AI agent memory with mathematical foundations. An agent skill from qualixar/superlocalmemory.
qualixar/superlocalmemory
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 by meaning, assemble PR review context…
qualixar/superlocalmemory
Run gate-verified bounded loops with SuperLocalMemory as the durable ledger.
qualixar/superlocalmemory
Search and retrieve facts, decisions, and past context from SuperLocalMemory.
qualixar/superlocalmemory
Capture durable facts, decisions, constraints, and gotchas into SuperLocalMemory.
qualixar/superlocalmemory
Controls memory visibility across profiles — personal (private, default), shared (selected profiles), or global (all profiles on this machine).
Works with
Categories
KV cache for repeated reads — call slmcacheget(key) first; on a miss do the expensive operation then slmcacheset(key, value, ttlseconds) to store it; on a hit use the returned value directly; always…. Slm Cache is an agent skill from qualixar/superlocalmemory. KV cache for repeated reads — call slmcacheget(key) first; on a miss do the expensive operation then slmcacheset(key, value, ttlseconds) 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 Cache fits situations like: agent Workflows work in your project.
Run `npx skills add qualixar/superlocalmemory --skill slm-cache -a claude-code`. Or copy the skill folder (plugin/skills/slm-cache in qualixar/superlocalmemory) into .claude/skills/slm-cache in your project. Claude Code loads it when a task matches its description.
Run `npx skills add qualixar/superlocalmemory --skill slm-cache -a codex`. Or copy the skill folder (plugin/skills/slm-cache in qualixar/superlocalmemory) into .agents/skills/slm-cache 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 qualixar/superlocalmemory --skill slm-cache -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/slm-cache, .gemini/skills/slm-cache, .github/skills/slm-cache and .opencode/skills/slm-cache in your project.
SKILL.md names no scripts, command-line tools or credentials: Slm Cache is instructions for the agent only. Our summary lists: Python 3. Its frontmatter pre-approves these tools: slm_cache_set, slm_cache_get, Bash.
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 notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Slm Cache is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k 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 Slm Cache: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and Fastmcp Client CLI (PrefectHQ/fastmcp, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
qualixar (a GitHub organization) maintains it in qualixar/superlocalmemory, which has 227 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 8, 2026.
Source: qualixar/superlocalmemory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.