Skip to content
Back to skills

Acprk Textbook Index

ASecurity

Build and query a table-of-contents index of math and crypto textbooks to answer "which book and chapter proves X?". Use when a proof needs a standard lemma, when idea mining needs an external mathematical structure, or when adding books to references/textbooks.

  • 78 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 26, 2026
researchpythonbash

Works with

  • cli

Security analysis

A100/100

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

Scanned September 26, 2026

npx -y skills add jiayaoqijia/cryptoskill --skill acprk-textbook-index --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Acprk Textbook Index?

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

Security grade badge for Acprk Textbook Index
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jiayaoqijia-acprk-textbook-index/badge)](https://www.skillsdirectory.com/skills/jiayaoqijia-acprk-textbook-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: textbook-index
description: Build and query a table-of-contents index of math and crypto textbooks to answer "which book and chapter proves X?". Use when a proof needs a standard lemma, when idea mining needs an external mathematical structure, or when adding books to references/textbooks.
---

# textbook-index

## Build / extend the index

```bash
python3 skills/textbook-index/scripts/extract_toc.py <book-or-dir> ... \
        --out-dir references/textbooks/toc --summary /tmp/toc.json [--max-level 2]
python3 skills/textbook-index/scripts/extract_toc.py --selftest
```

- PDF with bookmarks → `bm` (pages = physical PDF pages).
- No usable bookmarks → parses the printed "Contents" pages (`txt`, printed page numbers); rejects OCR garbage
  using a dictionary hit-rate check (needs `/usr/share/dict/words`; otherwise accepts with a warning).
- Scanned (no text layer), DjVu without `djvused`, or noisy OCR → stub; fill a chapter-level TOC from the
  publisher's public page and label it `TOC from public source`.
- Output contains only bibliographic data + TOC; never commit PDFs or body text. Then add a row to
  `references/textbooks/CATALOG.md` and, if it fills a gap, to `TOPIC-MAP.md`.

## Query ("which book/chapter proves X?")

1. `TOPIC-MAP.md` row for the topic → first look / second opinion.
2. `grep -ril "<term>" references/textbooks/toc/` for terms the map lacks; beware homonyms
   (Frobenius *norm* vs Frobenius *automorphism* vs Frobenius *group*; "character" of a group vs of a field;
   "lattice" of subgroups vs Euclidean lattice; "trace" of a matrix vs field trace).
3. Open your own copy at the section; copy the exact statement, and **check each hypothesis against your
   setting** (characteristic, ring vs field, finite vs infinite group, prime vs prime power modulus, Galois vs
   non-Galois extension). Most mis-citations fail here, not at the conclusion.
4. Record in `MATH-REFS.md`:
   `| id | statement we use | source (book, section, printed page) | hypotheses checked? | used in |`.
5. If the statement is load-bearing, hand it to `theorist` for a Sage/Lean check.

## Ignition pattern for idea mining

"Book B chapter C + concrete bottleneck step S": ask what structure in C acts on the objects of S
(a group action, a grading, a decomposition, a norm, an extremal bound). This pairing, not "give me ideas",
is what produces candidate free parameters for `idea-mining-loop`.

Files in this skill

  • LICENSE1.1 KB
  • SKILL.md2.4 KB
  • SOURCE.md355 B
  • TRUST.auto.yaml2 KB
  • scripts/extract_toc.py18.7 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…