Skip to content
Agent Memory
Skill

/sparse-reading

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

BOOST
From plugin
sparsereading
1711 skill1 MCP
Install
$ npx -y skills add Zedong-Liu/SparseReading --skill sparse-reading --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/sparse-reading

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

sparse-reading.SKILL.md
name: sparse-reading
description: Use SparseRead for long documents, PDFs, and compact multi-file evidence closures without disrupting small native reads.

Use this skill only when a tool result, `sro_preview`, or the task shape indicates SparseRead is useful. Keep ordinary native `read`, `grep`, and `exec` workflows for small files, small config/code/data tasks, exact full-table computation, and script-driven analysis.

SparseRead protocol:

1. Call `sro_preview(path)` on a large file, PDF/report, or compact evidence directory before broad native reading. Use the preview directly when enough. 2. Continue with `sro_read({ artifact_id }, mode, hint)` only when targeted evidence is needed. For multi-question documents and evidence closures, prefer `mode: "collect"` with explicit `slots`. 3. If `slot_digest.overall_status` is `ready` or `next_action.allowed_next` allows writing, write the requested deliverable. Do not keep broad-reading or repeating `sro_read` after ready. 4. Native small reads are still allowed for setup files, templates, unsupported objects, and named unresolved slots. 5. Use `sro_raw(raw_ref)` only when the original content is explicitly needed. `sro_card -> sro_read` remains for compatibility and `bench_protocol`, not as the normal production path.

OpenClaw gate profiles:

  • `native`: do not push SparseRead.
  • `advisory`: SparseRead may help, but native tools stay available.
  • `enforce`: broad native read/search/exec-dump should use

`sro_preview` first.

Command-security closures are advisory, not hard replacement. Use one `sro_read(mode="collect")`; once ready, write the report/JSON immediately. Read small templates or named unresolved files natively when needed.

Read more
Ships withsparsereading

Read less. Solve more. SparseRead is a training-free reading layer for tool-using agents.

Get the whole plugin
Stats
173
Stars
8
Forks
Active
Maintenance
Python
Language
MIT
License
23d ago
Last commit
5mo ago
Created
5h ago
Added

Repo: Zedong-Liu/SparseReading