agentleFS
rakaarwakyrakaarwaky/agents-arwaky/skills/office/pdf/SKILL.md

pdf

Skill0 starsChanged 5 days agoMITView on GitHub

Create, read, merge, fill, and secure PDF files. Use when generating PDFs, extracting text/tables, building or filling AcroForm forms, merging/splitting/watermarking/stamping pages, encrypting or decrypting documents, or preparing official IRS tax forms.

194 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use gift-evaluator, Podcast Generate and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • dav-niu474Skill

    gift-evaluator

    The PRIMARY tool for Spring Festival gift analysis and social interaction generation. Use this skill when users upload photos of gifts (alcohol, tea, supplements, etc.) to inquire about their value, authenticity, or how to respond socially. Integrates visual perception, market valuation, and HTML card generation.

    Also in 5 projects that use this

  • dav-niu474Skill

    Podcast Generate

    Generate podcast episodes from user-provided content or by searching the web for specified topics. If user uploads a text file/article, creates a dual-host dialogue podcast (or single-host upon request). If no content is provided, searches the web for information about the user-specified topic and generates a podcast. Duration scales with content size (3-20 minutes, ~240 chars/min). Uses z-ai-web-dev-sdk for LLM script generation and TTS audio synthesis. Outputs both a podcast script (Markdown) and a complete audio file (WAV).

    Also in 5 projects that use this

  • huang-x-hSkill

    Video Generation

    Implement AI-powered video generation capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to generate videos from text prompts or images, create video content programmatically, or build applications that produce video outputs. Supports asynchronous task management with status polling and result retrieval.

    Also in 6 projects that use this

  • huang-x-hSkill

    VLM

    Implement vision-based AI chat capabilities using the z-ai-web-dev-sdk. Use this skill when the user needs to analyze images, describe visual content, or create applications that combine image understanding with conversational AI. Supports image URLs and base64 encoded images for multimodal interactions.

    Also in 6 projects that use this

  • Liang-MHSkill

    stock_analysis

    获取 A 股、基金和港股的实时行情和技术分析数据

    Also in 5 projects that use this

  • OpenAISkill

    migrate-to-codex

    Migrate supported instruction files, skills, agents, and MCP config into Codex project and global files.

    Also in 5 projects that use this

  • +1 more from huang-x-h
  • +3 more from dav-niu474

The file

Files
SKILL.md

PDF Skill

Create PDFs from structured specs, build and fill AcroForm forms (with layout linting and visual overlays), extract text/tables/metadata, merge/split/rotate/watermark/stamp pages, export page images, manage metadata and attachments, and encrypt/decrypt — using pypdf, reportlab, and pdfplumber. Scanned (image-only) PDFs contain no text layer: when a page is image-only, stop and follow references/ocr-extraction.md instead of pretending to extract text.

Global rules

  • Scanned / image-only PDFs stop the pipeline — export the pages with pdf_page_image.py at 300 dpi and follow references/ocr-extraction.md on the PNGs; do not report empty text as "no content", and do not fabricate text.
  • Inspect before touching — run pdf_read.py --meta first; if encrypted is true, decrypt with pdf_secure.py --decrypt before any other operation. Rotation must be a multiple of 90.
  • Verify after every operation — re-read with pdf_read.py (--meta, --fields, or a re-extract) and confirm the result before reporting success; for anything visual (watermarks, flattened forms, stamps), render and inspect with vision_analyze.

Routing

StepReferencePurpose
Commands, procedure, pitfalls, verificationreferences/usage.mdWhen to Use, bundled toolchains, prerequisites, quick-reference command table, end-to-end procedure, full pitfall list, and the post-operation verification checklist.
Building or filling AcroFormsreferences/forms.mdField-spec geometry, radio groups, NeedAppearances behavior, layout-lint rules, and the visual review loop.
A page is image-onlyreferences/ocr-extraction.mdpymupdf-vs-marker decision table, scripts/extract_pymupdf.py, and scripts/extract_marker.py --check for disk headroom.
Text-in-existing-PDF by descriptionreferences/nano-pdf-editing.mdnano-pdf edit f.pdf 3 "…" — not for structural work.
IRS tax forms (2025)references/tax-forms.md, references/tax.mdRequired reading before filling any form in forms/; tax.md covers the preparation workflow.
Advanced rendering & toolingreferences/rendering-and-advanced.mdpypdfium2 rendering, pdf-lib / pdfjs-dist JavaScript, qpdf / poppler flags, performance tuning, and troubleshooting.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.