by YOLOW92
Local-first web & document ingestion engine in Rust — HTTP/browser capture, layout-aware PDF/Office/OCR parsing, persistent sync, verifiable data graphs, and evidence-grounded AI context.
# Add to your Claude Code skills
git clone https://github.com/YOLOW92/pagesiftpagesift is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by YOLOW92. Local-first web & document ingestion engine in Rust — HTTP/browser capture, layout-aware PDF/Office/OCR parsing, persistent sync, verifiable data graphs, and evidence-grounded AI context. It has 315 GitHub stars.
pagesift's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/YOLOW92/pagesift" and add it to your Claude Code skills directory (see the Installation section above).
pagesift is primarily written in Rust. It is open-source under YOLOW92 on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh pagesift against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Local-first web & document ingestion engine in Rust — HTTP/browser capture, layout-aware PDF/Office/OCR parsing, persistent sync, verifiable data graphs, evidence-grounded AI context, and live claim resolution.
One self-hosted Rust binary with a CLI, Firecrawl v1/v2 & Jina Reader HTTP APIs, an MCP server, a C ABI, and native Python / Node.js packages.
English · 简体中文 · 日本語 · Español
pagesift turns live web pages, uploaded binary documents, archives, and long-lived monitored sources into clean Markdown, schema-validated JSON, provenance-tracked DataGraph relations, budget-compiled ContextPack evidence, and persistent incrementally verified Resolve conclusions inside a single memory-bounded Rust binary. HTTP fetching, native document readers, HTML extraction, adaptive sync state, incremental context indexing, deterministic seven-layer claim resolution, and evidence storage run in-process without requiring Python, JVM, or Node workers; a headless browser pool, NVIDIA GPU OCR, and user-configured LLM endpoints attach only when requested.
Drop-in or companion for: Firecrawl (self-hosted v1/v2 API), Jina Reader (/r/ and /s/), Crawl4AI, trafilatura, Readability, pymupdf4llm, Docling, Kreuzberg, and xberg.
Affiliate link: the project may earn a commission on purchases.
Proxy-Seller sponsors pagesift: residential, ISP and datacenter proxy IPs (IPv4/IPv6), 220+ geos, 24/7 support. Use promo code PAGESIFT for 15% off ISP / IPv4 / residential proxies.
CLI / HTTP / MCP / FFI) → policy & SSRF-guarded net → adaptive strategy (HTTP / embedded JSON / browser) → native format readers → DataGraph, Context, Resolve & append-only store → cgroup-sized NUMA worker pool (pagesift-flow)zip, tar, 7z), SQLite/CSV, 373 code languages, and WARC (format matrix)DataGraph (graph.jsonl, citations, claim lifecycles, conflicts, fact_clusters, ?asOf=), ContextPack (KnowledgeUnit, ContextDelta, provenanceManifest), Resolve (ConclusionRecord, CounterSearchAudit, ResolveEvent), plus structured warnings on partial captures/r/, /s/) · MCP (stdio / HTTP) · Python · Node.js / TypeScript · Rust crate · C ABI (Go, Java, Kotlin, C#, Ruby, PHP, Lua, Perl, Dart, Swift, Zig) · LangChain & LlamaIndexserve --role gateway, worker, standby), Linux x86_64/aarch64 (glibc ≥ 2.28 & musl), macOS arm64, Windows x86_64, Docker ghcr.io/yolow92/pagesift:1.7.0| Surface | Install | Minimal call |
|---|---|---|
| CLI | cargo install pagesift --locked |
pagesift scrape https://example.com |
| Python | pip install pagesift |
pagesift.scrape("https://example.com").markdown |
| Node.js | npm install @pagesift/node |
(await new Scraper().scrape("https://example.com")).markdown |
| Server | docker run -p 3002:3002 ghcr.io/yolow92/pagesift:1.7.0 |
curl localhost:3002/r/https://example.com |
| MCP | — | claude mcp add pagesift -- pagesift mcp |
CLI
pagesift scrape https://example.com # Clean Markdown to stdout
pagesift scrape --graph https://example.com # Markdown + DataGraph provenance & claims
pagesift scrape report.pdf # Local PDF, Office, e-book, email, archive, code or WARC
pagesift --ocr scrape scan.pdf # OCR scanned PDF pages or uploaded images
pagesift crawl https://docs.rs --limit 500 --out ./data/ # Crawl to disk (add --graph for graph.jsonl)
pagesift graph inspect ./data/graph.jsonl # Inspect citations, lineage, claims and conflicts
pagesift sync init --id docs --seed https://example.com # Initialize and run a persistent Loop sync source
pagesift context pack --file report.pdf "rate limits" # Compile a token-budgeted ContextPack with citations
pagesift resolve check --store ./data/store --source-id docs "Plan Pro costs $99/yr." # Verify & persist conclusion
pagesift extract --schema schema.json https://example.com # Schema JSON with CSS selector relocation
pagesift doctor # Inspect local browsers, GPU and models
Python & Node.js
import pagesift
page = pagesift.scrape("https://example.com", formats=["markdown", "links"])
print(page.markdown, page.metadata["title"], page.links)
with pagesift.Scraper(store_path="./data/store") as s:
pack = s.context(action="pack", source_ids=["docs"], query="rate limits", budget_tokens=1024)
verdict = s.resolve(action="check", source_ids=["docs"], answer="Plan Pro costs $99/yr.")
print(pack["pack"]["compiledContext"], verdict["conclusion"]["state"])
import { Scraper } from '@pagesift/node'
const scraper = new Scraper({ storePath: './data/store' })
const page = await scraper.scrape('https://example.com', { formats: ['markdown', 'links'] })
const pack = await scraper.context({ action: 'pack', sourceIds: ['docs'], query: 'rate limits', budgetTokens: 1024 })
const verdict = await scraper.resolve({ action: 'check', sourceIds: ['docs'], answer: 'Plan Pro costs $99/yr.' })
console.log(page.markdown, pack.pack, verdict.conclusion?.state)
HTTP server (Firecrawl v1/v2, Jina Reader, /v2/sources, /v2/graph, /v2/context, /v2/resolve) & MCP
docker run -d -p 3002:3002 -v pagesift-data:/data -e PAGESIFT_API_KEYS=sk-test ghcr.io/yolow92/pagesift:1.7.0
curl -s localhost:3002/v2/scrape -H 'Authorization: Bearer sk-test' -H 'Content-Type: application/json' \
-d '{"url":"https://example.com","formats":["markdown"]}'
curl -s localhost:3002/r/https://example.com -H 'Authorization: Bearer sk-test'
curl -s localhost:3002/v2/parse -H 'Authorization: Bearer sk-test' -F [email protected] -F 'options={"formats":["markdown"]}'
curl -s localhost:3002/v2/context/pack -H 'Authorization: Bearer sk-test' -H 'Content-Type: application/json' \
-d '{"sourceIds":["docs"],"query":"rate limits","budgetTokens":1024}'
curl -s localhost:3002/v2/resolve/check -H 'Authorization: Bearer sk-test' -H 'Content-Type: application/json' \
-d '{"sourceIds":["docs"],"answer":"Plan Pro costs $99/yr."}'
pagesift mcp # stdio for a single agent
pagesift mcp http --port 3003 # shared local MCP daemon
MCP exposes pagesift_scrape, pagesift_batch_scrape, pagesift_crawl, pagesift_poll_job, pagesift_cancel_job, pagesift_map, pagesift_interact, pagesift_interact_stop, pagesift_sync, pagesift_graph_query, pagesift_context, pagesift_resolve, and (with a configured model) pagesift_agent / pagesift_agent_status. See Shared MCP service, Context reference, and Resolve reference.
Organized by architectural plane—showing implemented surfaces, data paths, and reference docs:
| Plane | Implemented capabilities | Reference |
|---|---|---|
| Interfaces & compatibility | Self-hosted CLI, Firecrawl v1/v2 HTTP API (/v2/scrape, /v2/crawl, /v2/parse, /v2/monitor, /v2/sources, /v2/graph, /v2/context, /v2/resolve, /v2/agent, /interact), Jina Reader (/r/, /s/), MCP (stdio/HTTP), Python, Node.js/TS, Rust library, C ABI bindings |
parse-api.md · context.md · resolve.md · mcp-service.md |
| Acquisition & safety | Conditional HTTP (ETag/Last-Modified), SSRF & DNS-rebinding guards, robots.txt & per-host rate |