Skip to content
cccskills
FreePublished on GitHub

pdf

Extract text from PDF documents

The English summary is being prepared. Showing the original description.

See how to install

Files included (5)

  • SKILL.md1.1 KB
  • references/cjk-notes.md399 B
  • requirements.txt19 B
  • scripts/__init__.py0 B
  • scripts/main.py3.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

docx

Free

Extract text from Microsoft Word documents

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 19, 2026

image

Free

Extract text from images using a vision LLM

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 19, 2026

Ingest Markdown and plain text files

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 19, 2026

pptx

Free

Extract text from Microsoft PowerPoint presentations

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 19, 2026

Extract conversation turns from AI session history files (.jsonl)

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 19, 2026

url

Free

Fetch and extract text from web URLs

The English summary is being prepared. Showing the original description.

axoviq-ai/synthadoc1.6KUpdated Oct 19, 2026

See all skills by axoviq-ai

Report a problem with this skill