pdf-analyzer

Extract PDF text and convert diagrams to Mermaid code.

Updated Jul 14, 2025
One-click install
npx skills add https://github.com/russell-lubojacky/ask-houston-ai --skill pdf-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-analyzer
Source: https://github.com/russell-lubojacky/ask-houston-ai/tree/main/.claude/skills
Command: npx skills add https://github.com/russell-lubojacky/ask-houston-ai --skill pdf-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users read and extract text from PDFs, understand embedded diagrams, and convert diagrams into Mermaid diagrams for documentation and analysis, saving time compared to manual review.

Core Features & Use Cases

  • Text Extraction: Read and extract all text content from PDF files.
  • Image and Diagram Analysis: Interpret diagrams, identify nodes, connections, and labels.
  • Mermaid Conversion: Convert visual diagrams to Mermaid syntax for documentation and flow visualizations.
  • Use Case: You have a multi-page PDF with a network diagram; extract text and identify components and relationships, then generate a Mermaid diagram to embed in your docs.

Quick Start

Upload a PDF or provide its path to Claude. Request: "Extract all text from this PDF and generate a Mermaid diagram of the embedded network diagram."

Frequently Asked Questions about pdf-analyzer

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

FAQPage Schema
How do I extract text from a PDF file?

Text extraction from PDFs reads and retrieves all text content page by page. Upload your PDF or provide its path to Claude, then request text extraction to get structured output of all readable content from the document.

Can I convert diagrams in PDFs to Mermaid format?

Yes, Mermaid conversion transforms visual diagrams—network maps, flowcharts, architecture diagrams—into Mermaid syntax. The Skill identifies nodes, connections, and labels, then generates Mermaid code you can embed directly in documentation.

What types of diagrams can this Skill analyze?

Diagram analysis covers architecture diagrams, flowcharts, network diagrams, and other visual structures. The Skill identifies diagram components, relationships between nodes, labels, and data paths to enable both understanding and Mermaid conversion.

How do I use this with a multi-page PDF containing both text and diagrams?

Provide the PDF path and request both text extraction and diagram analysis in one task. Page-wise processing extracts all text while diagram-aware parsing identifies visual content, returning structured text summaries alongside Mermaid diagram code.

What's the best way to document extracted diagrams from PDFs?

Extract the PDF's diagrams and convert them to Mermaid format. Mermaid code embeds directly into documentation platforms, eliminating manual recreation and keeping visual documentation synchronized with source PDFs.

Related Skills