/major-ai-skills:use-plain-text-over-pdfsfrom major-ai-skills
Provide extracted text when layout is irrelevant, retaining the original PDF for visual or page-specific verification.
Ships in major-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When you upload a multi-page PDF or image-heavy document into an AI assistant, modern multimodal models often convert the pages into high-resolution images, consuming up to 1,600 visual tokens per page while struggling with multi-column text wrap and table borders.
The Text-First Token Hygiene Protocol advocates extracting raw plain text or clean Markdown before prompting - reducing token usage by up to 80%, slashing latency from 20 seconds to 1 second, and eliminating visual OCR errors.
┌─────────────────────────────────────────────────────────────┐
│ Document Ingestion Economics │
│ │
│ [ RAW 10-PAGE PDF UPLOAD ]: │
│ • Visual OCR conversion: ~16,000 vision tokens │
│ • 15-20 second ingestion latency │
│ • Risk of scrambled two-column reading orders │
│ │
│ [ EXTRACTED PLAIN TEXT / MARKDOWN ]: │
│ • Pure text tokens: ~2,500 tokens (84% Token Reduction) │
│ • Sub-second response latency │
│ • 100% Deterministic string search and table retention │
└─────────────────────────────────────────────────────────────┘
Before uploading a heavy file, use one of these instant extraction methods:
| Method | How to Do It | Best For |
|---|---|---|
| Direct Copy-Paste | Highlight the exact 3 sections you need $\rightarrow$ Ctrl+C $\rightarrow$ Paste in <context> | Short sections, articles, agreements |
CLI pdftotext | Run pdftotext input.pdf output.txt | Bulk technical whitepapers & manuals |
| Browser Print to Text | Open PDF in Chrome $\rightarrow$ Select All $\rightarrow$ Copy | Instant 5-second extraction |
Analyze the extracted text from [DOCUMENT NAME] below:
<document_content>
[PASTE CLEAN EXTRACTED TEXT HERE]
</document_content>
Task:
- Extract the 3 key findings and all financial numbers.
- Ignore any residual formatting glitches.
pdftotext whitepaper.pdf - | pbcopy and pasted only the "Security & Encryption" chapter.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization./act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.Other plugins' skills for the same job