Back to skills
SKILL.md
Sieve
ASecurityCompress 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 stars
- 0 votes
- 0 copies
- 0 views
- Added November 26, 2026
Works with
Security analysis
96/100- Uses curl or wget to download content
Pro scans all 3 files and shows the line behind each finding
npx -y skills add xgbtxy/ap --skill sieve --agent claude-codeAre you the author of Sieve?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/xgbtxy-sieve)---
name: sieve
description: 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`).
---
# 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
```bash
# 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"
```
Files in this skill
- README.md
- README.zh-CN.md
- SKILL.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.