Documents

ClawPDF Master

Try it

Advanced PDF tool: text/table extraction, creation, merge/split, forms, OCR — PLUS unique feature: PDF-to-Markdown conversion, batch folder processing and automatic AI document summaries.

What it does

Komplet PDF-håndteringsværktøj baseret på velafprøvede metoder (pypdf, pdfplumber, reportlab, poppler), **forbedret med 3 unikke features** som ingen anden PDF-skill har:

The skill document

ClawPDF Master

Komplet PDF-håndteringsværktøj baseret på velafprøvede metoder (pypdf, pdfplumber, reportlab, poppler), forbedret med 3 unikke features som ingen anden PDF-skill har:

🆕 Unikke features (findes ikke i originalen)

Feature 1: PDF → Markdown-konvertering

Konverter enhver PDF til ren, struktureret Markdown (overskrifter, lister, tabeller som GitHub-flavored markdown). Perfekt til AI-agenter der vil genbruge indhold.

python3 scripts/pdf_to_markdown.py input.pdf output.md

Feature 2: Batch-behandling af mapper

Behandle HELE mapper med PDF'er på én gang — ekstraher, konverter eller merge alle filer:

python3 scripts/pdf_batch.py ./mappe --action extract --out ./resultater
python3 scripts/pdf_batch.py ./mappe --action merge --out samlet.pdf

Feature 3: Automatisk dokument-resumé

Få et struktureret resumé af et dokument (emne, nøglepunkter, tal, datoer, handlinger) uden at læse hele filen — perfekt til hurtig gennemgang af kontrakter og rapporter:

python3 scripts/pdf_summary.py kontrakt.pdf

Standard-operationer (arvet + forbedret)

Læs tekst

from pypdf import PdfReader
reader = PdfReader("doc.pdf")
for page in reader.pages:
    print(page.extract_text())

Læs tabeller (med layout-bevarelse)

import pdfplumber
with pdfplumber.open("doc.pdf") as pdf:
    for page in pdf.pages:
        for table in page.extract_tables():
            print(table)

Create PDF

from reportlab.lib.pagesizes import A4
from reportlab.pdfgen import canvas
c = canvas.Canvas("ny.pdf", pagesize=A4)
c.drawString(100, 800, "Hej verden!")
c.save()

Merge / split / roter / vandmærke / krypter

# Merge
qpdf --empty --pages a.pdf b.pdf -- merged.pdf
# Split (side 1-5)
qpdf input.pdf --pages . 1-5 -- sider1-5.pdf
# Roter side 1 +90°
qpdf input.pdf output.pdf --rotate=+90:1
# Remove password
qpdf --password=hemmeligt --decrypt laas.pdf aaben.pdf

OCR af scannede PDF'er

# Kræver: pip install pytesseract pdf2image + tesseract
python3 scripts/pdf_ocr.py scanned.pdf --lang dan --out tekst.txt

Udfyld formularer

Se docs/forms.md for trin-for-trin (pdf-lib / pypdf).


Hurtig reference

TaskToolCommand
Læs tekstpypdf/pdfplumberpage.extract_text()
Læs tabellerpdfplumberpage.extract_tables()
Create PDFreportlabCanvas/Platypus
Mergeqpdfqpdf --empty --pages ...
Splitqpdfqpdf input.pdf --pages . 1-5 -- out.pdf
OCRtesseractpython3 scripts/pdf_ocr.py
→ Markdownunikpython3 scripts/pdf_to_markdown.py
Batch-mappeunikpython3 scripts/pdf_batch.py ./mappe
Summaryuniquepython3 scripts/pdf_summary.py doc.pdf

Feedback

  • Hjælpsom? → clawhub star clawpdf-master
  • Opdateringer: clawhub sync

Related skills

Stores durable facts in a categorized, plain-markdown vault on disk, alongside your agent's built-in memory.

by Iván559 installs18 stars

Generate and edit Draw.io, Mermaid, and Excalidraw diagrams from natural language using a structured JSON spec.

by nssa.io1.0k installs47 stars

Join a video meeting as an AI bot with voice, avatar, and screenshare across four operating modes.

by johnpatternai22 installs8 stars

Find why your productivity system keeps failing, then apply the smallest fix — capacity math, bottleneck routing, durable local notes.

by Iván855 installs69 stars

Fetch raw ad creative, app, ranking, and revenue data from AdMapix as structured JSON.

by fly0pants4.3k installs296 stars

More from northcap-group

Browse all skills

Dealing Range Theory (DRT) — complete ICT structure: Type 1 (continuation), Type 2 (reversal), Type 3 (consolidation), quadrant levels (25/50/75), entry models, SMT confirmation and news filter. For market analysis and trade setups.

by Northcap Group2 installs1 stars

Crypto DRT scalping strategy + backtest reference on 12 crypto pairs (TRX, BNB, BTC, LINK, AVAX, DOGE, SOL, NEAR, XRP, LDO, ADA, ETH), all 7 days. Backtested 2 years (~400+ trades). 100% lokal backtest-reference — ingen netværkskald, ingen API-nøgle. Backtest results are historical and not a guarantee of future performance.

by Northcap Group2 installs1 stars

How to build wealth from zero — bootstrapping, scaling strategies, resource allocation, and wealth mindset. Strategic advisory for Mohamed.

by northcap-group1 installs

Provides pay-per-call crypto trading signals with entry, stop-loss and take-profit via the x402 standard (USDC on Ethereum). Live DRT/ICT signals for agents and traders.

by Northcap Group1 installs1 stars

How the world's best entrepreneurs network, negotiate, and create partnerships. Relationships that build millions.

by northcap-group

Crypto DRT scalping — Dealing Range Theory on 12 crypto pairs (TRX, BNB, BTC, LINK, AVAX, DOGE, SOL, NEAR, XRP, LDO, ADA, ETH), all 7 days. Backtested 2 years (~400+ trades). Backtest results are historical and not a guarantee of future performance. Separate play-money account rules.

by northcap-group