agentleFS
xgbtxyxgbtxy/ap/skills/sieve/SKILL.md

sieve

Skill2 starsChanged 14 days agoMITView on GitHub

Compress noisy CLI/CI logs, JSON/JSONL streams, HTML tables, and CSV/TSV by 80-99% into a deterministic digest with sub-ms bundled SQLite FTS5 `search` and lossless `peek` (`--lines`, `--grep`, `--json-path`).

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. Wondermonger-daydreaming/claude-skills-library★ 7same name
    2. G10DC/sieve★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository8 other files it gives its agents.

The file

Files
SKILL.md

Sieve — Lossless Output Compressor, Compiler/Test/Diff Digester & FTS5 Flight Recorder

Keep massive tool outputs out of the context window without losing a single compiler error (rustc/tsc/gcc/go), failing test assertion (cargo test/pytest/jest/vitest), unified git diff hunk, JSONL error event, or HTML/CSV table row (ANSI colors stripped automatically before digestion; raw stream preserved losslessly). Native Rust single-binary primitive with bundled SQLite FTS5 (0 runtime dependencies).

Usage

# 1. Wrap any noisy command (captures stdout+stderr+exit code losslessly)
ap sieve run -- cargo test

# 2. Pipe API JSON, JSONL/NDJSON event streams, scraped HTML (extracts <table>!), or CSV/TSV
curl -s https://api.example.com/events.jsonl | ap sieve pipe --label api-events

# 3. Search across ALL archived outputs from the session in <1ms via bundled SQLite FTS5
ap sieve search "upstream_timeout"

# 4. Losslessly inspect exact slices from any archived stream (zero re-execution!)
ap sieve peek <id> --lines 120:160
ap sieve peek <id> --grep "AssertionError|panicked at" -C 6
ap sieve peek <id> --json-path "16.error"

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.