PDF Extract
Skill8 starsChanged 7 months agoApache-2.0View on GitHub
Extract plain UTF-8 text from local PDF files; pipeline input for summarize.
In this repository38 other files it gives its agents.
- Brave SearchSkill
- BrowserSkill
- CloudflareSkill
- DNS ToolsSkill
- Docker APISkill
- Endpoint CheckSkill
- Fetch URLSkill
- GitHubSkill
- Google OAuthSkill
- GoogleSkill
- GoPlacesSkill
- LoopSkill
- Microsoft Edge TTSSkill
- 1PasswordSkill
- OpenAI WhisperSkill
- OpenStreetMapSkill
- ProxmoxSkill
- RememberSkill
- RSS / AtomSkill
- RTSP SnapshotSkill
- Session LogsSkill
- SimplifySkill
- SkillifySkill
- SpotifySkill
- SSH ExecSkill
- StuckSkill
- SummarizeSkill
- TaskFlowSkill
- Tesseract OCRSkill
- tmuxSkill
- TranslateSkill
- Update ConfigSkill
- VerifySkill
- Video FramesSkill
- WeatherSkill
- WikipediaSkill
- Wolfram AlphaSkill
- yt-dlpSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Use this skill whenever the user drops a PDF and wants its content read, quoted, searched, or summarized.
- Distinctive: line 32
No arguments. Returns provider info, file-size limit, default char cap.
- Very specific: line 54
Prefer max_chars: 50000 when chaining into summarize_text (summarize rejects inputs > 60 000 chars).
- Very specific: line 56
If truncated: true, warn the user the summary is based on the first N chars.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PDF Extract
Use this skill whenever the user drops a PDF and wants its content read,
quoted, searched, or summarized. The extension decodes PDFs in pure Rust
(no pdftotext, no Python), returns plain text, and truncates to keep the
result within a safe LLM window.
Use when
- "Read this PDF"
- "What does this document say?" (after a PDF attachment)
- Summarizing a PDF — call this first, then pass the output to
summarize_text - Searching for specific text inside a PDF
Do not use when
- The file is an image scan with no embedded text layer (OCR not done here)
- The file is a form with no flowing text (only fields)
- The user wants editing, not extraction — this tool is read-only
Tools
status
No arguments. Returns provider info, file-size limit, default char cap.
extract_text
path(string, required) — absolute or relative path to the PDF (≤ 25 MB)max_chars(integer, optional, 1..=1 000 000, default 200 000) — truncates output
Returns:
{
"path": "...",
"bytes": 12345,
"max_chars": 200000,
"truncated": false,
"char_count": 1200,
"total_char_count": 1200,
"text": "..."
}Execution guidance
- Prefer
max_chars: 50000when chaining intosummarize_text(summarize rejects inputs > 60 000 chars). - If
truncated: true, warn the user the summary is based on the first N chars; offer to do a second pass on later pages with a differentmax_chars+ byte offset (not yet supported). - Error
-32602on bad path → ask the user to confirm the absolute path. - Error
-32006on extraction failure → likely a scanned PDF with no text layer, or a corrupted file. Suggest an OCR tool (out of scope). - For multi-step work (extract → summarize → store decision), wrap the chain in a TaskFlow so a restart doesn't lose progress.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

