pdf-extraction

Extract text, tables, and section headers from regulatory PDFs.

Updated Dec 20, 2025
One-click install
npx skills add https://github.com/jvalenzano/ranger-twin --skill pdf-extraction-jvalenzano
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-extraction
Source: https://github.com/jvalenzano/ranger-twin/tree/main/agents/nepa_advisor/skills/pdf-extraction
Command: npx skills add https://github.com/jvalenzano/ranger-twin --skill pdf-extraction-jvalenzano

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill eliminates manual, error-prone extraction from regulatory PDFs by turning text, tables, and headers into structured data for NEPA-related documents.

Core Features & Use Cases

  • Full-text extraction and table extraction from Forest Service Handbooks (FSH), Forest Service Manuals (FSM), and CFR documents.
  • Section-, page-, and content-based extraction to support targeted analysis.
  • Output includes Markdown-formatted text, extracted tables, section metadata, and citations for traceability.

Quick Start

Use the pdf-extraction skill to extract all text from a regulatory PDF by specifying extraction_mode = "full" and a path to the file.

Frequently Asked Questions about pdf-extraction

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

FAQPage Schema
How do I extract text and tables from Forest Service regulatory PDFs?

Extract text and tables from Forest Service regulatory PDFs by specifying an extraction mode and file path to pull structured Markdown text, table data, section metadata, and citations from FSH, FSM, and CFR documents.

Can I extract specific sections from a CFR document instead of the full PDF?

You can extract specific sections from a CFR document by using section-based, page-range, or content-pattern extraction modes. This targeted approach returns only the relevant extracted_text, tables, and section metadata.

Does this PDF extraction tool work with NEPA-related documents?

This PDF extraction tool works with NEPA-related documents by specifically targeting Forest Service Handbooks, Forest Service Manuals, and CFR files to turn regulatory text and headers into actionable structured data.

What is the best way to parse tables from FSH and FSM manuals?

The best way to parse tables from FSH and FSM manuals is using a tool that returns structured table data alongside Markdown-formatted text and section metadata, eliminating manual and error-prone PDF extraction.

What dependencies are needed to extract regulatory PDF content?

To extract regulatory PDF content, the skill requires the pymupdf and pdfplumber dependencies to process the documents and output structured text, tables, sections_found, and citations.