Skip to content
Back to skills

Sieve

ASecurity

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 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 26, 2026
ai-agentsrustgobashsqlgitapi

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumUses curl or wget to download content

Pro scans all 3 files and shows the line behind each finding

Scanned November 26, 2026

npx -y skills add xgbtxy/ap --skill sieve --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sieve?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sieve
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/xgbtxy-sieve/badge)](https://www.skillsdirectory.com/skills/xgbtxy-sieve)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md1 KB
  • README.zh-CN.md1.1 KB
  • SKILL.md1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.