Research
Skill
Extract text from PDF documents
Install
$ npx -y skills add axoviq-ai/synthadoc --skill pdf --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/pdf
Context preview
The summary Claude sees to decide when to auto-load this skill.
Extract text from PDF documents
SKILL.md
pdf.SKILL.mdname: pdf
version: "1.0"
description: Extract text from PDF documents
entry:
script: scripts/main.py
class: PdfSkill
triggers:
extensions:
- ".pdf"
intents:
- "pdf"
- "research paper"
requires:
- pypdf
- pdfminer.six
author: axoviq.com
license: AGPL-3.0-or-laterPDF Skill
Extracts text from PDF files using `pypdf` as the primary parser, with `pdfminer.six` as a fallback for CJK fonts that pypdf cannot decode (detected when pypdf yields fewer than 50 characters per page on average).
Setup
pip install pypdf pdfminer.six
Standalone usage
import asyncio
from synthadoc.skills.pdf.scripts.main import PdfSkill
skill = PdfSkill()
async def main():
result = await skill.extract("/path/to/paper.pdf")
print(result.text) # extracted text from all pages
print(result.metadata) # {"pages": N, "cjk_fallback": bool, ...}
asyncio.run(main())When this skill is used
- Source path ends with `.pdf`
- User intent contains: `pdf`, `research paper`
Scripts
- `scripts/main.py` — `PdfSkill` class
References
- `references/cjk-notes.md` — notes on CJK font handling
Ships withsynthadoc
Document version: v1.4.2 Engineered for solo users and enterprises alike, providing a domain-specific knowledge base that scales seamlessly while maintaining accuracy through autonomous self-optimization.
Get the whole plugin

