scythe-context

scythe-context is a skill for Claude Code, Codex from Lianye-Scythe/scythe-context-mcp. It costs 43 tokens per session (1,727 once invoked), scanned A, original, Apache-2.0.

A local code-search tool for finding relevant files and connected code in an unfamiliar repository. It can rank likely matches and show imports, related files, and limited surrounding code.

In plain words
What is it for?
Use it to search an unfamiliar repository, inspect a file's imports and reverse imports, or gather a bounded set of related code. For exact text or known file paths, it recommends ordinary local search and direct file reads.
Why use it?
Large codebases make it difficult to know where a feature is implemented or which files depend on it. Focused search results reduce the need to read unrelated files and help trace how code fits together.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to search an unfamiliar repository, inspect a file's imports and reverse imports, or gather a bounded set of related code. For exact text or known file paths, it recommends ordinary local search and direct file reads.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lianye-scythe/scythe-context-mcp/scythe-context
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Lianye-Scythe/scythe-context-mcp --skill scythe-context
Clone the repo
git clone --depth 1 https://github.com/Lianye-Scythe/scythe-context-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scythe-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/lianye-scythe/scythe-context-mcp/scythe-context/github.svg)](https://agentmods.dev/skills/lianye-scythe/scythe-context-mcp/scythe-context)
Your own site
<a href="https://agentmods.dev/skills/lianye-scythe/scythe-context-mcp/scythe-context"><img src="https://agentmods.dev/badge/skills/lianye-scythe/scythe-context-mcp/scythe-context/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scythe-context

Your own site · 80×15
<a href="https://agentmods.dev/skills/lianye-scythe/scythe-context-mcp/scythe-context"><img src="https://agentmods.dev/badge/skills/lianye-scythe/scythe-context-mcp/scythe-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,727 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.01727
Opus 5.5 $0.00017 $0.00691
Sonnet 5.5 $0.00009 $0.00345
Haiku 4.5 $0.00004 $0.00173

Measured 1mo ago against content hash 0877c37dc804, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scythe-context scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/scythe-context/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Scythe Context CLI

Use the installed scythe-context command. Check --version when newly documented fields or behavior are missing. Read scythe-context --help when additional options are needed. If unavailable, use a built source checkout through node /absolute/path/to/scythe-context-mcp/dist/command.js; do not download or install packages just to discover commands.

Choose the lookup tool

  • Read files directly when the relevant path and range are known. Use rg --files to locate a known filename or path pattern.
  • Use rg for exact names, error messages, literals, regular expressions, or an exhaustive textual match list. It searches current files without an index; prefer it for a simple lookup rather than building an index solely for that lookup.
  • Use Scythe search when you need ranked candidates across an unfamiliar repository. Use context when import relationships and bounded related snippets would help trace the implementation; use related for a focused view of an indexed file's symbols, imports, and reverse imports.
  • Local keyword retrieval depends on matching terms; it does not provide semantic understanding or reliably bridge different languages or synonyms. Start with identifiers or technical terms likely to appear in the source. If wording mismatch prevents useful results, consider the optional embeddings workflow below when within scope.
  • Once results identify enough relevant code, read those file ranges and continue the task. Avoid repeating the same lookup through both tools without a missing piece to resolve. Neither faster task completion nor lower total token use is guaranteed.

Local lookup

Run commands in the target repository or supply --project /absolute/repo/path. Explicit project selection overrides the configured default.

scythe-context status
# Only when metadata is missing or stale:
scythe-context index
scythe-context context "auth token validation"

Search and context commands default to local keyword mode and paths output. Index freshness affects these results; rg and direct reads use current file contents. Read the matching file ranges next.

Read the full file on GitHub · 83 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +2 lines 0877c37dc804
  2. 1mo ago First seen · 81 lines · 43 tokens per session scan A c8ca7a8a2a1a

Subscribe to this mod's changes

scythe-context is a skill published in the GitHub repository Lianye-Scythe/scythe-context-mcp (1 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 43 tokens to every session and 1,727 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-18.

Related

scythe-context compared with skills from other repositories

scythe-context next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scythe-contextLianye-Scythe/scythe-context-mcpSkill11mo agoApache-2.0A43Claude Code, Codex
graph-retrievalstudy8677/repobrainSkill1.4k6d agoMITA46Claude Code
knowledge-layerstudy8677/repobrainSkill1.4k6d agoMITA42Claude Code
agent-repo-initstudy8677/repobrainSkill1.4k6d agoMITA58Claude Code
researchstudy8677/repobrainSkill1.4k6d agoMITA32Claude Code
debug-operatordylanroscover/EmbodySkill2253d agoMITA21Claude Code
debug-helperathola/skrillsSkill70yesterdayMITA12Claude Code, Codex