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/startrail-org/pixelrag/claude-mdgit clone --depth 1 https://github.com/StarTrail-org/PixelRAGWhat 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 | $0.00371 | $0.00371 |
| Opus 5 | $0.00186 | $0.00186 |
| Sonnet 5 | $0.00074 | $0.00074 |
| Haiku 4.5 | $0.00037 | $0.00037 |
Grade A, and why
PixelRAG 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 3d 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.
What it actually says
PixelRAG
Visual RAG: render documents (web pages, PDFs) as screenshot tiles and retrieve over the images
with a Qwen3-VL embedding model. See README.md for the product overview and deploy/README.md
for how it runs in production.
Layout
render/—pixelshotcapture (Playwright/CDP, PDF)embed/,index/— tiles → vectors → FAISS indexserve/— FAISS search API (pixelrag serve)web/— Next.js frontend (on Vercel) +agent-server.mjs(the chat agent backend)train/— separate uv project (LoRA finetune); install from insidetrain/, not the rootdeploy/— systemd units, CD workflow, blue-green scripts
Conventions
- Python:
uvonly (uv add, neveruv pip install); work in.venv; commituv.lock. - One distribution (
pixelrag) with extras; the CLIs arepixelshotandpixelrag <stage>. mainis branch-protected — land changes via PRs.
Operational context (host-specific, kept out of this public repo)
Deploy/runtime details that are specific to the live host are not committed here. They are imported below; the import is a harmless no-op anywhere the file doesn't exist:
@~/.claude/pixelrag-ops.md
If deploy-host notes appeared from that import, you are on the deploy host — production services run there, so operate carefully. If nothing appeared, you're on a normal dev checkout and can ignore deployment concerns.
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.
- 3d ago First seen · 29 lines · 371 tokens per session scan A 945da17ca768
PixelRAG CLAUDE.md is an instructions file published in the GitHub repository StarTrail-org/PixelRAG (9,837 stars, last pushed 4d ago), licensed Apache-2.0. It adds 371 tokens to every session, about $0.0019 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-30.
Other instructions, from other repositories
pdf-inline-image-rag-mcp AGENTS.md
AGENTS.md instructions for Joncallim/pdf-inline-image-rag-mcp, covering pdf inline image rag mcp agent guide, invariants, repository map, focused workflow and validation.
pdf-rag CLAUDE.md
Claude Code instructions for abdellahiheiballa/pdf-rag, covering foundational rules, our relationship, proactiveness, designing software and test driven development (tdd).
gpt-rag-ingestion azure-boundaries.instructions.md
Instructions for Azure/gpt-rag-ingestion, a project described as: The GPT-RAG Data Ingestion service automates processing of diverse documents—PDFs, images, spreadsheets, transcripts, and SharePoint—readying them for Azure AI Search. It applies smart chunking, generates text and image embeddings, and enables rich…
OpenDocuments AGENTS.md
Instructions for joungminsung/OpenDocuments, covering agents.md, project overview, monorepo structure, common commands and 특정 패키지만.
mimo-vision AGENTS.md
AGENTS.md instructions for wulusai2333/mimo-vision, covering repository guidelines, project overview, project structure & module organization, build, test, and development commands and coding style & naming conventions.
vexor CLAUDE.md
Instructions for scarletkc/vexor, a project described as: A semantic search engine for files and code.