Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

context-slice

skill · nvxtien/context-sliceMIT licenceAudited 10 Oct 2026 · source 29542e0daae8

★ 0pushed today
✓SAFEGrade B · 89/100 · 10 Oct 2026 · 29542e0
0repo stars · whole nvxtien/context-slice

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…

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

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

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

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

Download folder ↗
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

AgentStatusMore
Claude CodeMentioned in its text, not testedSkills for Claude Code · About Claude Code
“Mentioned” means the skill’s text names the agent. We have not run it there.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 29542e0daae8

README badge

For maintainers · shows the latest audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/nvxtien/context-slice/badge.svg)](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

Add this badge to your README

[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/nvxtien/context-slice/badge.svg)](https://modelsatlas.com/skills/nvxtien/context-slice/)

Questions about context-slice

What does the context-slice skill do?
Reduce the context before sending it to the LLM
Is context-slice safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can context-slice access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does context-slice work with?
Its documentation mentions claude-code. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (29542e0daae8), read on 2026-10-10. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

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.