Agent skill · Audited from source
context-slice
skill · nvxtien/context-sliceMIT licenceAudited 10 Oct 2026 · source 29542e0daae8
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 29542e0daae8 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Use before reading source files to understand, implement, or explain something in a Java, TypeScript/TSX, JavaScript, Python, Rust, or Go repository. Serves a budget-bounded, relevance-ranked slice of the codebase…
Cite
Cite this page
ModelsAtlas. “context-slice (nvxtien/context-slice)”. Retrieved 10 Oct 2026. https://modelsatlas.com/skills/nvxtien/context-slice
Trust audit
Audit 0.4.1 · source read 10 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 29542e0daae8 · 10 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishernvxtien GitHub userOwner of the repository this skill is read from
- Source foldernvxtien/context-slice/skills/context-sliceThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict29542e0daae8A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Use before reading source files to understand, implement, or explain something in a Java, TypeScript/TSX, JavaScript, Python, Rust, or Go repository. Serves a budget-bounded, relevance-ranked slice of the codebase…
---
name: context-slice
description: Use before reading source files to understand, implement, or explain something in a Java, TypeScript/TSX, JavaScript, Python, Rust, or Go repository. Serves a budget-bounded, relevance-ranked slice of the codebase (target symbol plus ranked callers/callees) through MCP tools instead of whole-file reads, shrinking how much context window the task consumes.
---
# Context Slice
Context Slice is an MCP server that indexes a repository's symbols and call
graph (via Tree-sitter, no LLM involved) and serves a compact, explainable
slice of it — not whole files. Prefer its tools over `Read`/`Grep` on source
files whenever the task is about a specific symbol, function, class, or
behavior in a supported repository, so the model spends tokens on the
relevant code instead of re-reading entire files to find it.
**Supported languages:** Java, TypeScript, TSX, JavaScript, Python, Rust, Go.
For any other language, or a question with no clear target symbol (e.g.
"what does this project do overall"), fall back to normal file reading.
## When to call Context Slice
Call Context Slice automatically when the request requires understanding the
checked-out codebase, such as finding a symbol, tracing callers, explaining a
flow, fixing a bug, implementing a change, reviewing a module, or inspecting
the current Git diff. Do not call it for general programming questions,
commands that do not require code understanding (such as formatting or
committing), or when the relevant code is already fully available in context.
Before reading source files, use `ToolSearch` to load the deferred Context
Slice tools. Then call `context.preview` before using Bash, grep, Read, or
other direct file tools. Fall back to direct file tools only when Context Slice
cannot answer, the repository is unsupported, or the tool is unavailable.
## Workflow
1. **Start with `context.preview`** for any implementation or explanation
task: `{ task: "<the task in the user's own words>" }`. It returns a
selected target symbol, its rendered body, ranked direct callers/callees
included under the token budget, inclusion/omission explanations, and any
unresolved calls. Read the explanations — they say _why_ each piece was
included, and what was left out and why.
2. **Do not assume an unresolved call has a concrete implementation.**
Tree-sitter analysis cannot prove runtime dispatch (reflection, DI
proxies, framework-generated code, Python/Go dynamic dispatch). An
unresolved call in the result means exactly that — unresolved, not
"has no implementation."
3. **Drill in with the other tools once you know the target symbol's id or
name:**
- `context.symbol` — read one symbol as `signature` / `skeleton` / `body`
/ `full` source. Use the smallest `detail` level that answers the
question; only use `full` when the exact source text matters.
- `context.callers` — bounded-depth callers of a symbol (`depth` 1-5).
- `context.slice` — a strict-budget slice centered on one symbol instead
of a task description.
- `context.search` — find candidate symbols by name/text when you don't
yet know the exact target.
- `context.diff` — a `git diff` under a strict token budget, when the
task is about recent changes.
4. **Only fall back to `Read`/`Grep` on raw source files** when: the
language isn't supported, the repository has no index yet and a quick
one-off answer is needed, or a tool result's explanation says the
information isn't in the index (e.g. a file outside the checked-out
source, or an unresolved dynamic call you must manually verify).
## Notes
- The index lives in `.context-slice/` inside the target repository and
refreshes automatically on every tool call — changed files are never
served stale, and there is no separate "build the index" step to run
first.
- Every tool call targets the project Claude Code currently has open
(`CONTEXT_SLICE_ROOT`), not the context-slice plugin's own source.
- All tool output is structural (symbols, call edges, source text) derived
from the repository itself — never benchmark answers, expected results, or
anything from outside the checked-out source.Excerpt, first 4,217 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 29542e0
git clone https://github.com/nvxtien/context-slice git -C context-slice checkout 29542e0daae8
The author documents no install command, so this uses the repository directly. Our verdict covers commit 29542e0daae8 only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
29542e0daae8
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/nvxtien/context-slice/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
helloianneo/ian-xiaohei-illustrations
生成 Ian 风格的中文正文配图。用于用户要求为中文文章、帖子、博客、Notion 文档、工作流文档、方法论、流程、结构、状态、隐喻或观点生成“怪诞”“小黑”“手绘”“正文配图”“文章插图”“配图建议”“shot list”“去标题/改图”等任务;默认使用小黑 IP、纯白手绘、少量红橙蓝批注、简洁清爽但天马行空的视觉风格。
htdt/godogen
Autonomous game development for Godot, Bevy, and Babylon.js with Claude Code and Codex
htdt/godogen
Autonomous game development for Godot, Bevy, and Babylon.js with Claude Code and Codex
htdt/godogen
Autonomous game development for Godot, Bevy, and Babylon.js with Claude Code and Codex
htdt/godogen
Autonomous game development for Godot, Bevy, and Babylon.js with Claude Code and Codex
giancarloerra/SocratiCode
Explore and understand codebases using SocratiCode semantic search, dependency graphs, and context artifacts. Use when exploring code, understanding architecture, finding functions/types, analysing dependencies,…
Add this badge to your README
[](https://modelsatlas.com/skills/nvxtien/context-slice/)
<a href="https://modelsatlas.com/skills/nvxtien/context-slice/"><img src="https://modelsatlas.com/skills/nvxtien/context-slice/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about context-slice
What does the context-slice skill do?
Is context-slice safe to install?
What can context-slice access on my machine?
Which assistants does context-slice work with?
How current is this page?
Sources
- github.com/nvxtien/context-slice/tree/main/skills/context-slice — the audited source at commit 29542e0daae8 and every finding aboveObserved · 10 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the context-slice skill do?
- Is context-slice safe to install?
- What can context-slice access on my machine?