Skip to content
Back to skills

Page Index

ASecurity

Routes PageIndex PDF, flash, Markdown, and workspace retrieval workflows.

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
ai-agentspythonapi

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Page Index?

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

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

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: page-index
description: "Routes PageIndex PDF, flash, Markdown, and workspace retrieval workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# PageIndex

PageIndex turns PDFs and Markdown into hierarchical trees and exposes retrieval helpers for workspace-backed document Q&A.

Use this skill when the request mentions:
- generating a tree, outline, TOC, or section hierarchy from a PDF
- the fast no-LLM Flash path or embedded bookmarks
- converting Markdown headings into a tree
- optimizing an existing tree for search cost
- `PageIndexClient`, workspace storage, or document retrieval by page range
- the agentic vectorless RAG demo or tool-call based document QA

## Start here

- Install the runtime dependency set listed in `references/configuration.md`.
- Make `pageindex` importable in the current Python environment before using the bundled scripts.
- Quick import smoke: `python scripts/check_env.py`
- Main CLI help: `python scripts/pageindex_cli.py --help`

## Route map

- `sub-skills/pdf-indexing/` — classic PDF tree extraction with the LLM-assisted pipeline.
- `sub-skills/flash-indexing/` — fast PDF extraction with PageIndex Flash, embedded bookmarks, and merge-only optimization.
- `sub-skills/markdown-indexing/` — Markdown heading trees, thinning, and optional summaries.
- `sub-skills/retrieval-client/` — `PageIndexClient`, workspace persistence, page retrieval, and agentic Q&A patterns.

## Shared references

Read these when you need the full details behind a route:

- `references/workflows.md` — end-to-end workflows and the right route for each task family.
- `references/api-reference.md` — verified public APIs and signatures.
- `references/cli-reference.md` — bundled CLI wrapper and `pageindex.tree_optimize` flags.
- `references/data-formats.md` — tree JSON, workspace JSON, and Markdown semantics.
- `references/configuration.md` — model defaults, environment variables, and optional extras.
- `references/troubleshooting.md` — common failures and recovery steps.
- `references/repo-provenance.md` — staleness and source snapshot information.

## Selection hints

- PDF with TOC recovery, page-number reconciliation, summaries, or document descriptions -> `pdf-indexing`.
- Fast PDF structure from layout statistics, embedded bookmarks, or merge-only optimization -> `flash-indexing`.
- Markdown files with headings -> `markdown-indexing`.
- Workspace-backed retrieval, `get_document`, `get_document_structure`, `get_page_content`, or the agentic RAG demo -> `retrieval-client`.
- If a task mentions `--optimize`, start from `flash-indexing`; its reference material covers the merge-only and expand paths.

## Operating notes

- The package is source-first in this repository. Do not assume a pip-installable distribution exists; install the runtime dependency set from `references/configuration.md` and use the bundled scripts in a path-aware environment.
- Live LLM or agentic runs still need the user's API key and network access.
- Prefer the smallest safe workflow that matches the request.
- If the repository has changed, read `references/repo-provenance.md` before updating or refreshing the skill.

Files in this skill

  • SKILL.md3.1 KB
  • references/api-reference.md4.8 KB
  • references/cli-reference.md3.9 KB
  • references/configuration.md2.5 KB
  • references/data-formats.md3 KB
  • references/repo-provenance.md1.1 KB
  • references/repo-routing-metadata.json407 B
  • references/troubleshooting.md5.4 KB
  • references/workflows.md5.4 KB
  • scripts/check_env.py2.5 KB
  • scripts/pageindex_cli.py7.9 KB
  • sub-skills/flash-indexing/SKILL.md3 KB
  • sub-skills/flash-indexing/scripts/flash_smoke.py1.5 KB
  • sub-skills/markdown-indexing/SKILL.md2.5 KB
  • sub-skills/markdown-indexing/scripts/markdown_smoke.py1.5 KB
  • sub-skills/pdf-indexing/SKILL.md3 KB
  • sub-skills/retrieval-client/SKILL.md3 KB
  • sub-skills/retrieval-client/scripts/workspace_smoke.py2.3 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.