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:
- Call
sro_preview(path)on a large file, PDF/report, or compact evidence directory before broad native reading. Use the preview directly when enough. - Continue with
sro_read({ artifact_id }, mode, hint)only when targeted evidence is needed. For multi-question documents and evidence closures, prefermode: "collect"with explicitslots. - If
slot_digest.overall_statusisreadyornext_action.allowed_nextallows writing, write the requested deliverable. Do not keep broad-reading or repeatingsro_readafter ready. - Native small reads are still allowed for setup files, templates, unsupported objects, and named unresolved slots.
- Use
sro_raw(raw_ref)only when the original content is explicitly needed.sro_card -> sro_readremains for compatibility andbench_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 usesro_previewfirst.
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.