critical-thinking-fix-page

Replace or insert targeted pages in merged OCR'd Markdown documents using PyMuPDF.

1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/brianlan/Critical-Thinking-Robert-Ennis --skill critical-thinking-fix-page
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: critical-thinking-fix-page
Source: https://github.com/brianlan/Critical-Thinking-Robert-Ennis/tree/main/.claude/skills/critical-thinking-fix-page
Command: npx skills add https://github.com/brianlan/Critical-Thinking-Robert-Ennis --skill critical-thinking-fix-page

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymupdf, and includes scripts (resource) components.

What problem does it solve?

This Skill enables precise surgical edits to a merged OCR'd Markdown document by replacing or inserting a targeted page with freshly OCR'd content, ensuring continuity and accuracy in long-form documents.

Core Features & Use Cases

  • Page-level editing: replace an existing page or insert a missing page based on OCR output from a dedicated workflow.
  • End-to-end orchestration: coordinates PDF extraction, per-page OCR (with optional custom rules), boundary detection, and verification for reliable updates.
  • Use Case: correct a page with OCR errors in a textbook merger, or add a missing page between two existing sections to restore document completeness.

Quick Start

Replace the targeted page in a merged OCR document with the newly OCR'd content from the corresponding page file.

Frequently Asked Questions about critical-thinking-fix-page

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I replace a single page in a merged OCR Markdown document?▼

Use this Skill to replace a targeted page by running fresh OCR output from the corresponding page file, executing boundary detection and continuity verification to ensure precise line-level updates within the merged Markdown.

How does boundary detection work for surgical OCR edits?▼

Boundary detection for surgical OCR edits works by using an Oracle-like step to identify exact page margins within the merged Markdown, guaranteeing accurate insertion or replacement of freshly OCR'd content without disrupting surrounding text.

Can I insert a missing page into an existing OCR'd Markdown merger?▼

Yes, you can insert a missing page into an existing OCR'd Markdown merger. The Skill supports page-level insertion, adding newly OCR'd content between existing sections while verifying document continuity and completeness.

Does this OCR page editing workflow require PyMuPDF?▼

Yes, this OCR page editing workflow requires PyMuPDF. It implements dependencies on PyMuPDF within a Python-based workflow to handle PDF extraction and per-page OCR processing for targeted document updates.

What is the best way to fix OCR errors in a specific page of a merged document?▼

The best way to fix OCR errors in a specific page of a merged document is surgical editing, which replaces only the targeted page with fresh OCR output while preserving the rest of the merged Markdown file.