Skip to content
Back to skills

Index Build

ASecurity

"Use PixelRAG to build visual retrieval indexes from rendered

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
ai-agentsrustbackend

Works with

  • cli

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill index-build --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Index Build?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Index Build
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-index-build/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-index-build)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: index-build
description: "Use PixelRAG to build visual retrieval indexes from rendered
  documents, tile chunks, embeddings, FAISS, or Qdrant."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# PixelRAG Index Build

Use this sub-skill when a task asks to make documents searchable with PixelRAG, build a local visual index, debug `pixelrag.yaml`, run chunk/embed/build-index stages, or choose FAISS versus Qdrant.

## Start Here

1. If the user only has URLs, PDFs, HTML, or images and no tiles yet, first read `../render-capture/SKILL.md`.
2. Pick an orchestration level:
   - End-to-end: `pixelrag index build --config pixelrag.yaml`.
   - Stage-by-stage: `pixelrag chunk`, `pixelrag embed`, and `pixelrag build-index`.
3. Decide device and backend:
   - `device: auto` chooses CUDA, MPS, then CPU in the local embedder path.
   - CPU/MPS is suitable for small demos; full Qwen embedding on CPU is slow.
   - FAISS is the default local backend; Qdrant is for server-backed or disk/quantized vector storage.
4. Validate generated artifacts before serving: `tiles/`, `embeddings/shard_*.npz`, `index.faiss` or Qdrant `summary.json`, `metadata.npz`, and `articles.json`.

## Read or Run

- Read [workflows.md](references/workflows.md) for end-to-end and stage-by-stage recipes.
- Read [config-and-data-formats.md](references/config-and-data-formats.md) for `pixelrag.yaml`, source adapters, chunk manifests, embeddings, and index layouts.
- Read [cli-reference.md](references/cli-reference.md) for flags and command selection.
- Read [troubleshooting.md](references/troubleshooting.md) for stale tiles, article IDs, Qdrant modes, GPU/model issues, and local-source surprises.
- Run [pixelrag_tiny_index_config.py](scripts/pixelrag_tiny_index_config.py) to generate a tiny local-source config without downloading models.

## Common Routes

| Request | Action |
| --- | --- |
| "Index this folder of PDFs/Markdown/images" | Generate a local-source `pixelrag.yaml`; use `pixelrag index build --device auto` for small runs or CUDA for production. |
| "Use Qdrant instead of FAISS" | Set `index.backend: qdrant` and provide URL/collection/client/quantization config as needed. |
| "Re-run after source files changed" | Trust the source-stamped tile manifests; use `--force` only for a clean rebuild. |
| "Department-filter search" | Preserve subdirectory layout under the local source; `articles.json` stores the first subdirectory as `department`. |
| "I already have embeddings" | Use `pixelrag build-index build --embeddings-dir ... --output-dir ...`. |
| "Now query this index" | Route to `../serve-search/SKILL.md`. |

## Validation Checklist

- `pixelrag index build --help` lists `--device {auto,cpu,mps,cuda}`.
- Local source only includes `.pdf`, `.html`, `.htm`, `.png`, `.jpg`, `.jpeg`, `.md`, and `.txt`.
- Wide tiles are chunked into columns no wider than 875 px and rows of 1024 px where applicable.
- `article_id` is propagated into `chunks.json` and embedding metadata.
- `articles.json` titles, URLs/paths, and department fields match the source set.
- Qdrant `append` and `recreate` are explicit choices, never accidental overwrites.

Files in this skill

  • SKILL.md3.1 KB
  • references/cli-reference.md2.6 KB
  • references/config-and-data-formats.md2.7 KB
  • references/troubleshooting.md2.4 KB
  • references/workflows.md2.8 KB
  • scripts/pixelrag_tiny_index_config.py2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.