Pixelrag

From akillness/jeo-skills · View interactive version

Pixelrag is an AI agent skill from the GitHub repository akillness/jeo-skills. Operate StarTrail-org/PixelRAG for screenshot-based visual retrieval: render pages or documents into image tiles, chunk/embed them, build a FAISS index, configure local search, or inspect its search API. Use when the task names PixelRAG, pixelshot, or multimodal visual RAG. It retrieves visual conte

How to use this skill

Skill file

PixelRAG operator

Instructions

  1. Check the source pin. From jeo-skills root use python3 .agent-skills/pixelrag/scripts/preflight.py --repo /absolute/upstream --json; from the installed skill root use scripts/preflight.py. No --repo is inventory only. Hashes cover selected source files, not Git HEAD, the full tree, package installation, model downloads, or runtime. Read pinned source notes.
  2. Choose local or hosted retrieval explicitly. PixelRAG renders visual documents/pages to image tiles, embeds visual content, builds a search index, and can serve queries. The upstream README also documents a hosted API and a prebuilt multi-terabyte index download. Do not switch to either external surface by implication; confirm data transfer, provider, cost, account, and destination.
  3. Map the local pipeline. Separate pixelshot capture from pixelrag stages (chunk, embed, build-index, index, serve). Inspect pixelrag.yaml, source connector, embedding model/device, output/index directory, and server bind before proceeding. PixelRAG is multimodal visual retrieval, not a knowledge graph/ontology.
  4. Get approval before effects. Ask before installing extras/native packages; downloading model weights or datasets; capturing private/third-party URLs; sending content or queries to hosted APIs or paid providers; writing/rebuilding/deleting tiles, embeddings, indexes or target data; or starting a service/public bind. Do not put credentials in CLI arguments or reports.
  5. Verify by stage. After approval, inspect pixelrag <stage> --help, run a small authorized sample, verify rendered tiles and their source mapping, index output, and query results. Preflight is offline provenance only; it is not a successful render, model load, index build, API deployment, or search test.

Examples

# Provenance check only; absolute, non-symlink checkout.
python3 .agent-skills/pixelrag/scripts/preflight.py --repo /work/PixelRAG --json

# Only after package/model/source/index approval:
pip install 'pixelrag[index]'
# Create and inspect pixelrag.yaml before running the pipeline.
pixelrag index build
pixelrag serve --index-dir ./my_index --port 30001

Best practices

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.