Skip to content
Research
Skill

/pdf

Extract text from PDF documents

From plugin
synthadoc
2k10 skills1 hook

Claude Code

$ npx -y skills add axoviq-ai/synthadoc --skill pdf --agent claude-code

SKILL.md

pdf.SKILL.md
name: 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-later

PDF 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
@axoviq-ai
Ships withsynthadoc

Document version: v1.5.3 Engineered for solo users and enterprises alike, providing a domain-specific knowledge base that scales seamlessly while maintaining accuracy through autonomous self-optimization.

Stars on GitHub

Momentum

stars in total
2.0k
Star history of axoviq-ai/synthadoc on GitHub, a chart by star-history.com

Other skills on synthadoc.

More skills from other plugins.

academic-paper-review

academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…

@bytedance@bytedanceInstall Skill
last30days

last30days

Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…

@mvanhorn@mvanhornInstall Skill

Questions about pdf.

Which coding agents can use pdf?
pdf installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.