Borrowing it
Nothing to install: this file belongs to anishmoncivarghese/docsift. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/anishmoncivarghese/docsift/main/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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/anishmoncivarghese/docsift/claude-md"><img src="https://agentmods.dev/badge/instructions/anishmoncivarghese/docsift/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.5 | $0.00287 | $0.00287 |
| Sonnet 5.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 2mo 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.
- 2mo 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 (7 stars, last pushed 3mo ago), licensed MIT. It adds 718 tokens to every session, about $0.0029 per session on Opus 5.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.
docsift CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docsift CLAUDE.mdanishmoncivarghese/docsift | Instructions file | 7 | 3mo ago | MIT | A | 718 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 279k | today | MIT | A | 4,325 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,086 | GitHub Copilot |