with one click
Read/extract/combine/split PDFs.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Read/extract/combine/split PDFs.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Help build/debug DeepSeek API usage (openai-compatible).
Run a command on a recurring interval (poll CI etc.).
Launch this project's app to see a change in action.
Schedule a one-off or cron task via DeepCode's daemon.
Help author a new skill — frontmatter + body + best-trigger description.
Modify settings.json / hooks / permissions safely + explain trade-offs.
| name | |
| description | Read/extract/combine/split PDFs. |
Common PDF ops without bringing in a heavyweight Node dependency. Use
the OS-bundled tools (macOS) or pdftk (Linux) via Bash.
| Op | macOS | Linux (pdftk) |
| ----------------- | ----------------------------------------- | ----------------------------------------------- | ---- |
| Extract pages 2-5 | cpdf in.pdf 2-5 -o out.pdf (needs cpdf) | pdftk in.pdf cat 2-5 output out.pdf |
| Merge a, b, c | (PDF Toolkit / cpdf) | pdftk a.pdf b.pdf c.pdf cat output merged.pdf |
| Split per page | cpdf -split in.pdf -o page-%d.pdf | pdftk in.pdf burst output page-%02d.pdf |
| Text dump | pdftotext in.pdf - (needs poppler) | same |
| Page count | pdftk in.pdf dump_data | grep NumberOfPages | same |
If neither cpdf nor pdftk is installed, use Python + pypdf (one
dep, pure Python):
python3 -c "
from pypdf import PdfReader, PdfWriter
r = PdfReader('in.pdf')
w = PdfWriter()
for p in r.pages[1:5]: # pages 2-5 (0-indexed)
w.add_page(p)
w.write(open('out.pdf', 'wb'))
"
For summarization, extract text first, then feed it to the model. Use
pdftotext in.pdf - (poppler) which writes to stdout — easy to capture
in Bash output.
If the PDF is scanned (image-only), text extraction returns empty/garbage. Tell the user: "this PDF is scanned; you'd need OCR via tesseract first" rather than producing nonsense.