pageindex-grounded

pageindex-grounded is a skill for Claude Code, Codex from jimezsa/opencolab. It costs 45 tokens per session (2,162 once invoked), scanned A, original, MIT.

A local research-answering workflow for papers that have already been downloaded. It builds an index of each paper's structure and uses it to give precise paper- or page-level references when the evidence supports an answer.

In plain words
What is it for?
Use it to verify a claim in a paper, locate where a paper says something, compare a small set of local papers, or check a previous research synthesis.
Why use it?
It makes follow-up answers traceable to the local papers instead of relying on memory or broad summaries. It also helps identify when an earlier research summary overstated or missed a qualification.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 tools/PageIndex/run_pageindex.py \.

Good fit Use it to verify a claim in a paper, locate where a paper says something, compare a small set of local papers, or check a previous research synthesis.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/jimezsa/opencolab
agentmods
npx agentmods add skills/jimezsa/opencolab/pageindex-grounded

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for pageindex-grounded

README.md
[![agentmods](https://agentmods.dev/badge/skills/jimezsa/opencolab/pageindex-grounded/github.svg)](https://agentmods.dev/skills/jimezsa/opencolab/pageindex-grounded)
Your own site
<a href="https://agentmods.dev/skills/jimezsa/opencolab/pageindex-grounded"><img src="https://agentmods.dev/badge/skills/jimezsa/opencolab/pageindex-grounded/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.

agentmods 80×15 button for pageindex-grounded

Your own site · 80×15
<a href="https://agentmods.dev/skills/jimezsa/opencolab/pageindex-grounded"><img src="https://agentmods.dev/badge/skills/jimezsa/opencolab/pageindex-grounded.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,162 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.02162
Opus 5 $0.00023 $0.01081
Sonnet 5 $0.00009 $0.00432
Haiku 4.5 $0.00005 $0.00216

Measured 12d ago against content hash 87d641b02595, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

pageindex-grounded 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 12d 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.

projects/SKILLS/pageindex-grounded/SKILL.md · 241 lines

How it starts

The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PageIndex Grounded Skill

Use this skill when the user needs precise, grounded follow-up answers from papers that already exist locally under the current project.

Typical use cases:

  • exact claim verification from one downloaded paper
  • "where does this paper say X?" questions
  • page-level follow-up after fast-research, pro-research, or deep-research
  • bounded cross-paper comparison across a small local paper set
  • checking whether a prior synthesis overclaimed or missed a qualification

Do not use this skill for paper discovery. Use fast-research, pro-research, or deep-research first when the papers are not already local. Do not use this skill as a replacement for paper-summary. paper-summary remains the canonical per-paper summary workflow. When the user wants the figure image itself instead of only a grounded answer, hand off to the shared pdf-figure-extract skill after you identify the likely paper and page range.

Mission

Given a precise question over already-downloaded local papers:

  1. Select a bounded local paper set that is likely to contain the answer.
  2. Generate or reuse cached PageIndex tree artifacts for those papers.
  3. Use the tree structure to retrieve the most relevant sections.
  4. Verify the answer against the tree output, the local PDF, and existing paper summaries when needed.
  5. Return a concise grounded answer with exact paper or page references and explicit limitations.
  6. Persist reusable artifacts under the active research run folder, normally <RUN_ROOT>/pageindex/.

Prerequisites

  • Local PDFs already exist under an active research run folder, normally research/<YYYY-MM-DD>-<topic-slug>/pdf/, or under the legacy flat research/pdf/ layout.
  • Optional metadata exists under <RUN_ROOT>/meta/ or legacy research/meta/.
  • Optional paper summaries exist under <RUN_ROOT>/pdf/*.md or legacy research/pdf/*.md.
  • python3 is installed and available in PATH.
  • A local checkout of the open-source PageIndex repo exists. Recommended path: tools/PageIndex.
  • GEMINI_API_KEY is available for the local PageIndex runner.

Read the full file on GitHub · 241 lines

Changes

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.

  1. 12d ago First seen · 241 lines · 45 tokens per session scan A 87d641b02595

Subscribe to this mod's changes

pageindex-grounded is a skill published in the GitHub repository jimezsa/opencolab (11 stars, last pushed 29d ago), licensed MIT. It adds 45 tokens to every session and 2,162 once invoked, about $0.0002 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.

Related

Other skills, from other repositories