Agent skill

Sparse Reading

by Zedong-Liu in Zedong-Liu/SparseReading

Use SparseRead tools to inspect large, structured, or multi-file project inputs with targeted evidence.

MITAuto-check passed

Install Sparse Reading

skills CLI
$ npx skills add Zedong-Liu/SparseReading --skill sparse-reading -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Zedong-Liu/SparseReading sparse-reading --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Zedong-Liu/SparseReading.git skills-src && mkdir -p .claude/skills && cp -r skills-src/integrations/codex/plugin/sparseread-codex/skills/sparse-reading .claude/skills/sparse-reading && rm -rf skills-src

Use ~/.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/

Facts

Skill name
sparse-reading
GitHub stars
242
Token cost
~278 tokens
SKILL.md length
153 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Use SparseRead tools to inspect large, structured, or multi-file project inputs with targeted evidence.

  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Sparse Reading is an agent skill from Zedong-Liu/SparseReading. Use SparseRead tools to inspect large, structured, or multi-file project inputs with targeted evidence.

Its SKILL.md is about 280 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Python and TypeScript. The repository describes itself as: SparseRead: token-efficient reading for AI agents. 读得更少,token 更省,证据不变。 Paper arXiv:2608.22237. The licence is MIT.

Example prompts

  • “/sparse-reading”

What it can do on your machine

Read from SKILL.md and the folder at commit 5c6fee5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sparse Reading loads about 278 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 153 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~278

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.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated 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.

SKILL.md

The full file from Zedong-Liu/SparseReading at commit 5c6fee5, republished under its MIT licence (© Zedong-Liu). 153 words, ~278 tokens.

Download SKILL.mdSave it as .claude/skills/sparse-reading/SKILL.md (or your agent's skills folder).
name
sparse-reading
description
Use SparseRead tools to inspect large, structured, or multi-file project inputs with targeted evidence.

SparseRead in Codex

Use SparseRead when an answer depends on a large document, structured file, or a collection of project files.

  • Call sro_decide to inspect the recommended reading route for a path.
  • Call sro_preview before exploring a large or structured input. Use the returned card and preview to choose the evidence needed.
  • Call sro_read with a focused goal and suitable mode such as scout, focus, collect, or verify.
  • Call sro_raw only with a raw_ref returned by SparseRead and a narrow range or selector.
  • Call sro_card for file metadata and sro_trace to explain recent SparseRead routing.

Small and bounded reads can use Codex's normal tools. If a hook redirects a broad shell read, preview the named path and use the evidence tools before retrying the native command.

Codex does not run the bundled hooks until you review and trust their definitions in /hooks. Trust is a user decision; the plugin does not bypass it.

© Zedong-Liu, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in integrations/codex/plugin/sparseread-codex/skills/sparse-reading of Zedong-Liu/SparseReading.

Open the folder on GitHubat commit 5c6fee5

Compare with similar skills

Sparse Reading 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.

Sparse Reading compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sparse Reading this skillZedong-Liu/SparseReading242—~278Automated safety check: PassMIT
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT
Image to Three.js Modelimg2threejs/img2threejs18k1 repos~8.2kAutomated safety check: PassApache-2.0
Firecrawl Page Scrape Integrationfirecrawl/firecrawl190k1 repos~944Automated safety check: PassISC

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • MCP Server Builder

    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.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Image to Three.js Model

    img2threejs/img2threejs

    Rebuilds the object in a reference image as a procedural, animation-ready Three.js model written entirely in code, using staged sculpting with quality checks.

    18k GitHub starsUsed in 1 repo~8.2k tokens
    Game DevelopmentAuto-check passed
  • Adds Firecrawl's /scrape endpoint to application code to pull markdown, HTML, links, screenshots or structured data from a single known URL.

    190k GitHub starsUsed in 1 repo~944 tokens
    Data & AnalyticsAuto-check passed
  • Guides adding Firecrawl's /interact endpoint to product code for pages that need clicks, forms, pagination or logged-in flows beyond plain scraping.

    190k GitHub starsUsed in 1 repo~731 tokens
    Data & AnalyticsAuto-check passed

More from Zedong-Liu/SparseReading

  • Sparse Reading

    Zedong-Liu/SparseReading

    Use SparseRead for long documents, PDFs, and compact multi-file evidence closures without disrupting small native reads.

    242 GitHub stars~437 tokensUpdated 10 days ago
    Auto-check passed

Questions about Sparse Reading

What does Sparse Reading do?

Use SparseRead tools to inspect large, structured, or multi-file project inputs with targeted evidence. Sparse Reading is an agent skill from Zedong-Liu/SparseReading. Use SparseRead tools to inspect large, structured, or multi-file project inputs with targeted evidence.

How do I install Sparse Reading in Claude Code?

Run `npx skills add Zedong-Liu/SparseReading --skill sparse-reading -a claude-code`. Or copy the skill folder (integrations/codex/plugin/sparseread-codex/skills/sparse-reading in Zedong-Liu/SparseReading) into .claude/skills/sparse-reading in your project. Claude Code loads it when a task matches its description.

How do I install Sparse Reading in Codex?

Run `npx skills add Zedong-Liu/SparseReading --skill sparse-reading -a codex`. Or copy the skill folder (integrations/codex/plugin/sparseread-codex/skills/sparse-reading in Zedong-Liu/SparseReading) into .agents/skills/sparse-reading in your project. Codex loads it when a task matches its description.

Can I use Sparse Reading in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Zedong-Liu/SparseReading --skill sparse-reading -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sparse-reading, .gemini/skills/sparse-reading, .github/skills/sparse-reading and .opencode/skills/sparse-reading in your project.

What does Sparse Reading need to run?

SKILL.md names no scripts, command-line tools or credentials: Sparse Reading is instructions for the agent only.

Does Sparse Reading access the network?

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.

Is Sparse Reading safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Sparse Reading use?

Sparse Reading is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sparse Reading use?

About 278 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Sparse Reading?

Skills that share tags, products or a category with Sparse Reading: MCP Server Builder (anthropics/skills, 180k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars) and Image to Three.js Model (img2threejs/img2threejs, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sparse Reading?

Zedong-Liu (a GitHub user) maintains it in Zedong-Liu/SparseReading, which has 242 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on September 28, 2026.

Source: Zedong-Liu/SparseReading on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.