PDF Studio — Offline PDF Toolkit

    by Abdelrahman Younes

    0

    Offline PDF toolkit for merging, splitting, compressing, and Arabic-aware text extraction or watermarking.

    $10

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    PDF Studio — Offline PDF Toolkit

    Example session with this skill installed

    I need to extract all text from 'contract_v2.pdf' while fixing any reversed Arabic text, and also render the first 3 pages as 200 DPI images for a preview gallery.

    • Read your context and instructions
    • Compiled the pdf studio

    I have processed 'contract_v2.pdf' to extract the text content and generate page previews. The Arabic text has been reshaped for correct readability, and the images are rendered at 200 DPI.

    PDF Processing Results

    OperationCommand ExecutedOutput File/DirectoryStatus
    Text Extractionpdf_tool.py extract-text contract_v2.pdf -o contract_v2.txt --fix-arabiccontract_v2.txtOK
    Page Renderingpdf_tool.py to-images contract_v2.pdf --dpi 200contract_v2_page_1.png, contract_v2_page_2.png, contract_v2_page_3.pngOK

    Next steps

    1. Review contract_v2.txt to verify the Arabic text flow.
    2. Check the generated PNG files in the current directory for quality.
    3. Use the encrypt command if these previews need to be password protected before distribution.
    I have processed 'contract_v2.pdf

    Connects securely to your tools. The creator never sees your data.

    About this skill

    PDF Studio gives your AI agent a complete offline PDF workshop — no uploads, no external APIs, files never leave the buyer's machine.

    13 operations in one CLI:

    • Merge, split (per page / chunks / custom ranges), organize (reorder, delete, rotate)
    • Compress at three levels (lossless, balanced, maximum)
    • AES-256 encryption with permissions, plus password removal
    • Text and image watermarks — including correctly shaped Arabic text (bundled Amiri font)
    • Stamp / signature placement
    • Form field listing and filling, with optional flattening
    • Text extraction with Arabic order repair, image extraction, page rendering to PNG

    Built on PyMuPDF by the creator of the free PDF Studio desktop app (see PDF Studio on GitHub). The Arabic support is the real differentiator: Arabic written into PDFs comes out properly connected and ordered, and reversed Arabic extracted from PDFs is repaired.

    Requirements: Python 3.9+ on the buyer's machine and one pip install (PyMuPDF, Pillow, arabic-reshaper, python-bidi). Everything runs locally.

    License: AGPL-3.0, source included in the package.

    Requires Python 3.9+ and pip installation of PyMuPDF, arabic-reshaper, and python-bidi. Page numbers use 1-based indexing. Coordinates use PDF points (e.g., 595x842 for A4).

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 4 days ago

    Software
    Python 3.9+

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed4 days ago

    What's inside

    Frequently Asked Questions

    This skill is an offline toolkit that manages PDF tasks like merging, splitting, and compressing files. It specifically solves the problem of corrupted or reversed Arabic text during extraction and provides correct Arabic shaping when adding watermarks or stamps.

    Beyond your AI agent, you will need a local Python 3.9+ environment with the dependencies listed in the skill files installed. The skill includes the necessary Amiri Arabic typeface and uses libraries like PyMuPDF and arabic-reshaper to process files locally on your machine.

    The skill can generate modified PDF documents, plain text files from extractions, and PNG images from embedded assets or rendered pages. It also provides metadata info and lists of interactive form fields in a structured format.

    You can tell your agent to perform specific actions like "Merge these three reports into one encrypted PDF" or "Extract the text from this document and fix the reversed Arabic." You can also ask it to watermark pages with specific text or fill out PDF forms using JSON data.

    The skill relies on a local Python environment and uses a coordinate system based on PDF points from the top-left corner for placing stamps. While it handles complex Arabic text shaping, it requires the user to provide correct coordinates for precise image or signature placement.

    No, this is an offline toolkit that processes everything on your local machine. Files are never uploaded to third party APIs, ensuring your data remains private during encryption, redaction, or watermarking.

    New in Productivity

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.