Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/anishmoncivarghese/docsift/claude-mdgit clone --depth 1 https://github.com/anishmoncivarghese/docsiftWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/anishmoncivarghese/docsift/claude-md)<a href="https://agentmods.dev/instructions/anishmoncivarghese/docsift/claude-md"><img src="https://agentmods.dev/badge/instructions/anishmoncivarghese/docsift/claude-md.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00718 | $0.00718 |
| Opus 5 | $0.00359 | $0.00359 |
| Sonnet 5 | $0.00144 | $0.00144 |
| Haiku 4.5 | $0.00072 | $0.00072 |
Grade A, and why
docsift CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DocSift
Open-source document-preparation gateway: PDFs and Office files in → clean, structured, AI-ready Markdown/JSON + token-aware chunks out. Local-first, no paid APIs for core conversion.
Tagline: Convert documents once. Give agents only what they need.
Key documents (read before making product decisions)
- PRD (source of truth for scope):
../DocSift_PRD_v0.2.md - v0.1 spec:
docs/specs/v0.1-spec.md - Active plan:
docs/superpowers/plans/2026-08-01-m2-comparison-harness.md
The product owner is a non-technical founder: explain trade-offs in plain language, keep responses concise, and never assume knowledge of programming jargon.
Commands
uv sync --all-extras # install with both engines (docling is large)
uv sync --extra markitdown --extra api # lighter install (what CI uses — no docling)
uv run pytest # unit tests (integration excluded by default)
uv run pytest -m integration # real-engine tests (docling downloads models on first run)
uv run ruff check . && uv run ruff format --check .
uv run docsift --help
Architecture (src layout, package docsift)
core/— Pydantic models (the engine-neutral schema), exceptions. No engine knowledge.engines/—base.py(ConversionEngine ABC),registry.py(lazy loading),router.py(file type → engine), one adapter module per engine.processing/— token_estimator; cleaner + chunker arrive in Milestone 3.services/—conversion_service.pyorchestrates validate → route → convert → normalize → write.cli/— Typer app; entry pointdocsift.
Hard rules
- Engine imports stay lazy (inside methods).
docsift --helpmust work with neither engine installed. Never importdoclingormarkitdownat module top level. - Docling and MarkItDown are dependencies, never vendored or forked (PRD §14). Pin via
uv.lock. - All PDFs route to Docling in auto mode. MarkItDown gets PDFs only via explicit
--engine markitdownor compare mode. No PDF complexity detection — it is a PRD non-goal. - No engine-specific types outside
engines/. Everything downstream consumescore.modelsonly. - Never log or print document contents — not in logs, not in error messages, not in CLI output. Filenames and metrics are fine.
- uv only. No pip install, no poetry, no requirements.txt.
- TDD: failing test first, minimal implementation, then commit. Integration tests (real engine runs) are marked
@pytest.mark.integrationand excluded by default. - Conventional commits:
feat:,fix:,test:,chore:,ci:,docs:.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 5d ago First seen · 48 lines · 718 tokens per session scan A 6e0209d15302
docsift CLAUDE.md is an instructions file published in the GitHub repository anishmoncivarghese/docsift (6 stars, last pushed 23d ago), licensed MIT. It adds 718 tokens to every session, about $0.0036 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
agentic-reviewer AGENTS.md
Instructions for FilippoScaramuzza/agentic-reviewer, covering agentic reviewer — journal paper review framework, project overview, directory structure, workflow and phase 0: setup & paper conversion.
pdfmux CLAUDE.md
Claude Code instructions for NameetP/pdfmux, covering pdfmux — agent instructions, project, commands, python and site.
markitdown-mcp AGENTS.md
Instructions for trsdn/markitdown-mcp, covering ai agents integration guide, 🤖 quick reference for ai agents, primary use cases, available tools and 🛠️ tool usage guide.
go-docs-mcp CLAUDE.md
Instructions for drolosoft/go-docs-mcp, covering go-docs-mcp, build & run, architecture, key decisions and tools.
vkr-builder AGENTS.md
AGENTS.md instructions for maxbarsukov/vkr-builder, covering vkr-builder, как себя вести and основные команды.
harborclerk AGENTS.md
AGENTS.md instructions for r0shi/harborclerk, covering agents.md, what this is, non-negotiables, working agreement and review policy.