open-book-layered-index

open-book-layered-index is a skill for Claude Code from wvov7/course-revision-skills. It costs 56 tokens per session (868 once invoked), scanned A, original, MIT.

A system for building a searchable index for open-book exams from lecture PDFs or presentations. It links topics, diagrams, and optionally past exam topics to source files and page numbers.

In plain words
What is it for?
Use it to organise course materials into topic and page tables, map important diagrams, and point to frequently tested topics.
Why use it?
It reduces the time spent searching course materials during revision or an exam, without adding long explanations to the index.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to organise course materials into topic and page tables, map important diagrams, and point to frequently tested topics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wvov7/course-revision-skills/open-book-layered-index
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wvov7/course-revision-skills --skill open-book-layered-index
Clone the repo
git clone --depth 1 https://github.com/wvov7/course-revision-skills

Made for: Claude Code.

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 open-book-layered-index

README.md
[![agentmods](https://agentmods.dev/badge/skills/wvov7/course-revision-skills/open-book-layered-index/github.svg)](https://agentmods.dev/skills/wvov7/course-revision-skills/open-book-layered-index)
Your own site
<a href="https://agentmods.dev/skills/wvov7/course-revision-skills/open-book-layered-index"><img src="https://agentmods.dev/badge/skills/wvov7/course-revision-skills/open-book-layered-index/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 open-book-layered-index

Your own site · 80×15
<a href="https://agentmods.dev/skills/wvov7/course-revision-skills/open-book-layered-index"><img src="https://agentmods.dev/badge/skills/wvov7/course-revision-skills/open-book-layered-index.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 868 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.00056 $0.00868
Opus 5 $0.00028 $0.00434
Sonnet 5 $0.00011 $0.00174
Haiku 4.5 $0.00006 $0.00087

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

Security

Grade A, and why

open-book-layered-index 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.

skills/open-book-layered-index/SKILL.md · 108 lines

What it actually says

Open-Book Layered Index

开卷考试复习索引。输出分层检索结构,将知识点映射至课件文件名与页码;默认不包含知识点解释性正文。

Applicability

  • 开卷考试复习资料编制
  • 需快速定位:某主题对应哪份 PDF、哪几页
  • 输入为全套 lecture PDF/PPT;可选历年试题目录用于附录权重表

Design Principles

  1. 覆盖完整优先于篇幅压缩
  2. 知识结构优先于课件原始页序
  3. 索引职责与解释职责分离:本 skill 仅负责索引
  4. 图示、UML、流程图、表格须转写为可检索文字条目,不得使用「见图」类占位表述

Output Contract

默认输出 revision_exam.md,推荐结构:

# <Course> Open-Book Index

## Layer 1 — Course Blocks
Mermaid 概览:Block → 课件文件列表

## Layer 2 — Per-Lecture Index Tables
### <PDF filename>
| Topic(缩写首次附全称) | Pages |
|--------|-------|

## Layer 3 — Figure / Diagram Index(可选)
| Figure / Diagram | PDF | Pages | Related topics |

## Appendix — Exam Topic Pointers(可选,需 oldResource)
| Topic | Frequency | Priority | PDF | Pages |

英方课程:英文术语及缩写首次出现须附全称。

Workflow

1. Corpus ingestion

读取全部 PDF/PPT,同时处理:

  • 正文、图片、UML、架构图、时序图、状态图、活动图、表格、公式
  • 图中箭头、标注及其逻辑关系

对每张关键图示提取:核心概念、组成单元、单元关系、说明的问题、关联知识点。

2. Layer 1 — Course blocks

按主题将课程划分为若干 Block;每 Block 映射一组课件文件。输出 Mermaid 分层概览。

3. Layer 2 — Lecture index tables

对每份 PDF 生成完整「Topic → Pages」表。页码为 PDF 内页序;若课件含 printed slide number,可同时标注。

4. Layer 3 — Figure index

汇总关键图表索引,支持考场按图名检索。

5. Appendix — Exam pointers(可选)

若提供 @oldResource

  • 统计历年试题考点频率
  • 输出单一 Master Table,合并频率、优先级与页码指向
  • 不得重复生成多张同义排序表

Constraints

  • 页码必须对应工作区中真实文件名
  • Layer 2 须覆盖全部课件,不得遗漏章节
  • 缩写首次出现须含全称
  • 合并或删除旧版中间文件前须经用户确认

Examples

使用 open-book-layered-index:@lectureSlides 生成 revision_exam.md。Layer 1–3 为分层索引,不包含知识点解释。
使用 open-book-layered-index,结合 @oldResource 在 Appendix 中追加考点频率与页码指向表。

Short anonymized sample: references/sample-output.md.

Attribution

  • Author: JohanHuang2005
  • Tool: Cursor Composer 2.5
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 108 lines · 56 tokens per session scan A cba969a06542

Subscribe to this mod's changes

open-book-layered-index is a skill published in the GitHub repository wvov7/course-revision-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 56 tokens to every session and 868 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

final-review

A workflow for turning course materials into printable final-exam review PDFs. It can organize slides, notes, reading materials, PDFs, images, and scanned documents by chapter, including materials from bilingual courses.

limpidwei/final-exam-review · 267 tokens

shenlun-review-pro

A study assistant for Chinese civil-service essay exams, covering close reading, answer scoring, corrections, draft comparison, and learning progress. It can work from exam papers, questions, source passages, answers, PDFs, images, and documents.

liuyuexi1987/shenlun-review-pro · 133 tokens

pptx-import

A method for adding an uploaded PowerPoint presentation to an existing classroom as extra pages while keeping the slides' original layout. PowerPoint is Microsoft's presentation file format.

THU-MAIC/OpenMAIC · 125 tokens

exam-study-guide

A study-guide builder for a completed exam chapter that has not yet passed its required checks. It creates a structured teaching checklist and, in full mode, a self-contained HTML and printable PDF guide with readable formulas, visible images, explanations, examples, and answers.

ZeKaiNie/universal-examprep-skill · 113 tokens

brief-compliance-check

Check a LaTeX coursework submission against the requirements in a supplied PDF assessment brief. Use when verifying format, required sections, word limits, or deliverables before submission. Not for general prose proofreading; use $proofread.

flonat/flonat-research · 50 tokens

textbook-to-md

Convert PDF/EPUB textbooks to searchable markdown files for an AI agent's own reference. Use this skill whenever: (1) the user asks to convert a textbook/PDF chapter to markdown, (2) you need to search textbook content and no markdown version exists yet, (3) batch-converting a set of reference books into a knowledge…

drpwchen/textbook-to-note · 90 tokens