Compass
crabbuild/compass
A skill your agent uses for graph-first AI coding sessions and repository analysis: session initialization, architecture maps, dependency or call-graph tracing, symbol and repository search…
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…
$ npx skills add qualixar/superlocalmemory --skill slm-graph -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install qualixar/superlocalmemory slm-graph --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-graph .claude/skills/slm-graph && 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-graph" agent skill from https://github.com/qualixar/superlocalmemory/tree/main/plugin/skills/slm-graph into .claude/skills/slm-graph/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slm-graph", 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-graphType 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-graph -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install qualixar/superlocalmemory slm-graph --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-graph .agents/skills/slm-graph && 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-graph" agent skill from https://github.com/qualixar/superlocalmemory/tree/main/plugin/skills/slm-graph into .agents/skills/slm-graph/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slm-graph", 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-graph -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install qualixar/superlocalmemory slm-graph --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-graph .cursor/skills/slm-graph && 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-graph" agent skill from https://github.com/qualixar/superlocalmemory/tree/main/plugin/skills/slm-graph into .cursor/skills/slm-graph/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slm-graph", 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-graph--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-graph -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install qualixar/superlocalmemory slm-graph --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-graph .gemini/skills/slm-graph && 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-graph" agent skill from https://github.com/qualixar/superlocalmemory/tree/main/plugin/skills/slm-graph into .gemini/skills/slm-graph/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slm-graph", 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-graphInstalls 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-graph -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-graph .github/skills/slm-graph && 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-graph" agent skill from https://github.com/qualixar/superlocalmemory/tree/main/plugin/skills/slm-graph into .github/skills/slm-graph/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slm-graph", 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-graph -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-graph --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-graph .opencode/skills/slm-graph && 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-graph" agent skill from https://github.com/qualixar/superlocalmemory/tree/main/plugin/skills/slm-graph into .opencode/skills/slm-graph/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slm-graph", 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-graphIndex 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…
Slm Graph is an agent skill from 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, and detect what changed since last index. Use when the user asks how code connects, what breaks if X changes, what calls a function, what a class inherits from, how to navigate an unfamiliar codebase, or to understand risk before editing.
Its SKILL.md is about 2.7k 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 Development, covering Pull requests and Codebase onboarding. 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.
6 steps, taken from the step headings in SKILL.md.
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:
build_code_graphquery_graphget_blast_radiussemantic_search_codeget_review_contextdetect_changesBashFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
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 Graph loads about 2.7k tokens when it runs. Until then it costs about 112 tokens; SKILL.md has 839 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: build_code_graph, query_graph, get_blast_radius, semantic_search_code, get_review_context, detect_chAutomated 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). 839 words, ~2,749 tokens.
.claude/skills/slm-graph/SKILL.md (or your agent's skills folder).Index any repo as a code knowledge graph and answer structural questions about it: callers, callees, impact radius, semantic search, and review context. Requires the code MCP profile (set SLM_MCP_PROFILE=code in your plugin .mcp.json).
Prerequisite rule: every tool except build_code_graph self-guards — if the graph is not built it returns {"success": false, "error": "Code graph not built. Run build_code_graph first."}. Always index first.
build_code_graph — index a repositorybuild_code_graph(
repo_path: str,
languages: str = "",
exclude_patterns: str = "",
) -> {success, files_parsed, nodes, edges, flows, communities, duration_ms}Parses all supported source files, extracts functions/classes/imports, builds the call graph, detects execution flows, and identifies code communities. Replaces any previous index for the same repo.
repo_path — absolute path to the repository root. Must exist.languages — comma-separated language filter, e.g. "python,typescript". Empty string = index all supported languages.exclude_patterns — comma-separated glob patterns to exclude, e.g. "**/node_modules/**,**/.venv/**". Empty = no exclusions.When to (re)build:
detect_changes or query_graph returns stale/unexpected results.# Index the full repo
build_code_graph(repo_path="/abs/path/to/myrepo")
# Index only Python, skip tests and generated code
build_code_graph(
repo_path="/abs/path/to/myrepo",
languages="python",
exclude_patterns="**/tests/**,**/generated/**"
)query_graph — traverse relationshipsquery_graph(
pattern: str,
target: str = "",
limit: int = 20,
) -> {success, pattern, target, results: [{qualified_name, kind, file_path, name}]}Query the graph for structural relationships. pattern is required and must be one of the eight valid values below. target is a qualified name, partial name, or node ID — matched with exact-then-LIKE fallback.
Valid patterns:
| pattern | returns |
|---|---|
callers_of | functions/methods that call target |
callees_of | functions/methods that target calls |
imports_of | modules/symbols that target imports |
imported_by | who imports target |
tests_for | test nodes associated with target |
inherits_from | base classes of target |
inherited_by | subclasses of target |
contains | symbols defined inside target (e.g. methods in a class) |
# Who calls the auth handler?
query_graph(pattern="callers_of", target="authenticate_user")
# What does the payment processor import?
query_graph(pattern="imports_of", target="PaymentProcessor", limit=30)
# What classes inherit from BaseModel?
query_graph(pattern="inherited_by", target="BaseModel")get_blast_radius — impact analysisget_blast_radius(
changed_files: str,
max_depth: int = 2,
max_nodes: int = 500,
) -> {success, changed_nodes, impacted_nodes, impacted_files, edges, depth_reached, truncated}Computes the full impact radius for one or more changed files using bidirectional BFS (callers and callees). Returns every node and file reachable within max_depth hops. Use this before editing to understand risk surface.
changed_files — comma-separated file paths relative to the repo root, e.g. "src/auth/handler.py,src/auth/models.py".max_depth — BFS depth. Default 2. Increase to 3–4 for deep call chains; lower to 1 for a quick first-degree check.max_nodes — caps the result set. If truncated=true in the response, the real blast radius is larger.# What breaks if I change the auth handler?
get_blast_radius(changed_files="src/auth/handler.py")
# Deeper analysis across two files
get_blast_radius(
changed_files="src/payments/gateway.py,src/payments/models.py",
max_depth=3,
max_nodes=200
)If truncated is true, narrow the scope with max_nodes or reduce max_depth to get a reliable result.
semantic_search_code — find code by meaningsemantic_search_code(
query: str,
kind: str = "",
limit: int = 20,
) -> {success, results: [{qualified_name, kind, file_path, score, line_start, name}]}Hybrid FTS5 + vector search over all indexed code entities. Use when you know what the code does but not what it's called.
query — natural language description, e.g. "retry logic for HTTP requests" or "parse JWT token from header".kind — optional filter: "Function", "Class", "File", or "Test". Empty = all kinds. Case-insensitive match in the engine.limit — max results. Default 20.Results include a score field (higher = more relevant).
# Find where authentication is handled
semantic_search_code(query="authenticate user from request token")
# Find only test functions that cover database writes
semantic_search_code(query="database write transaction rollback", kind="Test")
# Find the rate limiter class
semantic_search_code(query="rate limiting middleware", kind="Class", limit=5)get_review_context — assemble PR review contextget_review_context(
changed_files: str,
include_source: bool = True,
) -> {success, summary, review_items, test_gaps, risk_score}Produces a token-optimized review package for a set of changed files: a plain-language summary, a ranked list of review items with per-node risk scores, and a list of changed symbols that have no associated test coverage.
changed_files — comma-separated file paths relative to the repo root.include_source — whether to include source code snippets in the context (default True). Set False to reduce token usage when you only need the risk analysis.risk_score is a float 0–1 on the overall changeset. review_items[].risk_score is per-node.
# Get review context for a PR touching two files
get_review_context(changed_files="src/auth/handler.py,src/auth/utils.py")
# Risk summary only, no source snippets
get_review_context(
changed_files="src/payments/gateway.py",
include_source=False
)detect_changes — what changed since last indexdetect_changes(
base: str = "HEAD~1",
) -> {success, summary, risk_score, changed_functions, test_gaps, review_priorities}Runs git diff against base, maps the changed hunks to graph nodes, and returns a risk-scored list of changed functions, test gaps, and review priorities. Requires the repo to be a git repository.
base — git ref to diff against. Default "HEAD~1" (one commit back). Any valid git ref works: "main", "v3.6.13", a commit SHA, etc.# What changed in the last commit?
detect_changes()
# What changed since the release branch?
detect_changes(base="release/v3.6.13")
# What changed relative to main?
detect_changes(base="main")Returns error if the repo root is not a git repository or if git is not available.
# 1. Index it
build_code_graph(repo_path="/abs/path/to/repo")
# 2. Find the entry point by meaning
semantic_search_code(query="request router entry point", kind="Function")
# 3. Trace what it calls
query_graph(pattern="callees_of", target="handle_request")
# 4. See who else calls the same core function
query_graph(pattern="callers_of", target="authenticate_user")# 1. Know what you are touching
semantic_search_code(query="retry HTTP requests with backoff")
# 2. Understand blast radius before making the change
get_blast_radius(changed_files="src/http/client.py")
# 3. Check test gaps
get_review_context(changed_files="src/http/client.py")# 1. What changed in this branch vs main?
detect_changes(base="main")
# 2. Full impact analysis for the changed files
get_blast_radius(changed_files="src/auth/handler.py,src/auth/models.py")
# 3. Assemble review context
get_review_context(changed_files="src/auth/handler.py,src/auth/models.py")All tools return {"success": false, "error": "<message>"} on failure — they never raise.
| Error message | Cause | Fix |
|---|---|---|
Code graph not built. Run build_code_graph first. | No index exists | Call build_code_graph(repo_path=...) first |
Repository path does not exist: <path> | Bad repo_path in build | Pass an absolute path that exists |
Git not available or not a git repository: ... | detect_changes needs git | Only works in git repos with git installed |
Invalid pattern '...' | Wrong pattern in query_graph | Use one of the 8 valid pattern strings |
No node found matching '<target>' | Target not in index | Rebuild or check the qualified name via semantic_search_code |
If build_code_graph returns files_parsed: 0, no supported source files were found — check repo_path and exclude_patterns.
This skill uses graph tools that are only active under the code MCP profile
(or full / power). Your plugin .mcp.json must include:
"env": {
"SLM_MCP_PROFILE": "code",
"SLM_AGENT_ID": "claude_code"
}Without this, the six graph tools are not registered and will appear as unknown
tools. Run slm status to confirm the active profile.
Switching profiles at runtime (v3.8.0+): Use switch_profile("code") via
MCP to activate the code profile in a session that started with a different
profile. See slm-profile for the full profile switching workflow.
slm-profile — workspace isolation and profile switching (required for code tools)slm-recall — retrieve architectural decisions before graph queriesslm-status — confirm the active profile and graph index healthSuperLocalMemory 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-graph of qualixar/superlocalmemory.
Open the folder on GitHubat commit ce2d7a9
Slm Graph 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 Graph this skillqualixar/superlocalmemory | 227 | — | ~2.7k | Automated safety check: Notes | AGPL-3.0 | |
| Compasscrabbuild/compass | 168 | — | ~5k | Automated safety check: Pass | Custom licence | |
| GitHub MCPvibeeval/vibecosystem | 531 | — | ~2.3k | Automated safety check: Notes | MIT | |
| Review PRPrefectHQ/fastmcp | 28k | — | ~3.1k | Automated safety check: Pass | Apache-2.0 | |
| ObservalObserval/Observal | 4.1k | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Adopt PR Branch Contextpydantic/pydantic-ai-harness | 946 | — | ~1.8k | Automated safety check: Pass | MIT |
crabbuild/compass
A skill your agent uses for graph-first AI coding sessions and repository analysis: session initialization, architecture maps, dependency or call-graph tracing, symbol and repository search…
vibeeval/vibecosystem
GitHub MCP Server ile GitHub API erisimi. An agent skill from vibeeval/vibecosystem.
PrefectHQ/fastmcp
Assess a FastMCP pull request for justified behavior, compatibility, and correctness, then follow CI and review feedback to a revision-specific verdict.
Observal/Observal
A skill your agent uses when starting any task the organization may already have an approved skill, prompt, MCP server, or Agent for: reviewing code, a commit, a diff, or a pull request; writing…
pydantic/pydantic-ai-harness
Fills in issue-brief.md and pr-decisions.md for an existing pull request, so you can pick up a PR mid-flight with its linked issue and past review decisions summarized.
bgauryy/octocode
Researches code with evidence: traces callers, imports and cross-repo links, diagnoses failures and reports findings with exact file and line references and a confidence label.
qualixar/superlocalmemory
AI agent memory with mathematical foundations. An agent skill from qualixar/superlocalmemory.
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).
qualixar/superlocalmemory
Health and optimization stats for SuperLocalMemory — call slmoptimizestats() for live compression and cache counters (compressruns, tokenssavedcompress, cacheproxyhits, cacheproxymisses…
Works with
Categories
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…. Slm Graph is an agent skill from 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, and detect what changed since last index.
Slm Graph fits situations like: the user asks how code connects; what breaks if X changes; what calls a function; what a class inherits from.
Run `npx skills add qualixar/superlocalmemory --skill slm-graph -a claude-code`. Or copy the skill folder (plugin/skills/slm-graph in qualixar/superlocalmemory) into .claude/skills/slm-graph in your project. Claude Code loads it when a task matches its description.
Run `npx skills add qualixar/superlocalmemory --skill slm-graph -a codex`. Or copy the skill folder (plugin/skills/slm-graph in qualixar/superlocalmemory) into .agents/skills/slm-graph 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-graph -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-graph, .gemini/skills/slm-graph, .github/skills/slm-graph and .opencode/skills/slm-graph in your project.
Going by SKILL.md and its folder, Slm Graph needs the command-line tools its instructions call (git). Its frontmatter pre-approves these tools: build_code_graph, query_graph, get_blast_radius, semantic_search_code, get_review_context, detect_changes, Bash.
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. 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 Graph 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 2.7k tokens (SKILL.md is roughly 11k 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 Graph: Compass (crabbuild/compass, 168 stars), GitHub MCP (vibeeval/vibecosystem, 531 stars), Review PR (PrefectHQ/fastmcp, 28k stars) and Observal (Observal/Observal, 4.1k 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 7, 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.