jiangnangenius/floe-agent/floe-pdf
Claude Code and agent skill by jiangnangenius/floe-agent
- community
Checking that the SKILL.md file is still in the repository.
Native PDF editing, region reflow, images, forms, annotations, OCR and verified raster redaction.
Install
npx vskill@latest install jiangnangenius/floe-agent/floe-pdfSKILL.md
PDF workbench
Follow this closed loop for PDF tasks:
- Inspect first:
document.pdf.inspectfor page count, metadata, text, and query matches before planning any edit. - Render only relevant pages with
document.pdf.render(single page or a spec like "1-3,5") when visual evidence is needed. - Compose:
document.pdf.merge(2-10 PDFs in order),document.pdf.split(extract pages "1-3,5,8-10"),document.pdf.fromImages(one image per page). - Edit with
document.pdf.edit: page removal, rotations, watermarks and page numbers.replaceTextperforms exact case-sensitive native content-stream edits, never a white cover. Existing-font replacements must fit the original bounds. For multi-object text or longer paragraphs, useoperationsactionreplaceRegion: inspect the native object inventory, pass the exactexpectedObjectCountand enclosingbounds, and supply new text/fontSize. CoreText reflows and embeds searchable Unicode text; overflowing text, partial object intersections and mixed nested forms fail without saving.addTextinserts a new text region. This is ordinary editing, not secure redaction. - Advanced operations require
expectedSHA256from the same inspection. Coordinates are unrotated PDF points with a lower-left origin. Page operations include reorderPages (every page exactly once), cropPage (visual crop only, NOT deletion), insertBlankPage. Annotation operations add/update/remove note, freeText, markup, shapes, ink and lines; use 0-based annotationIndex from the current revision. Images support insertImage/replaceImage/removeImage with workspace imagePath, explicit bounds and expected object count for removal. Images stretch to the rectangle; keep its aspect ratio when distortion is unwanted. - Forms and document structure: operations createField/setField/removeField support text, checkbox and choice fields. The existing
document.pdf.fillFormprovides additional AcroForm filling including radio/option lists. setMetadata updates title/author/subject/creator/keywords (empty value removes that attribute). setBookmarks replaces the top-level bookmark list.flattenAnnotationsrequires acceptFlattening after consent, preserves page content but removes interactivity; it is NOT secure redaction. - OCR and redaction: searchableOCR uses on-device Vision and rebuilds pages with a recognized, searchable text layer; text may contain recognition errors. rasterRedact rebuilds ALL pages from fresh raster images, masking selected regions before encoding. It copies no original text streams, annotations, forms, attachments, bookmarks or signatures, and verifies image-only output. Both must be the only edit operation and require the user's explicit acceptance of rasterization (acceptRasterization=true). Current bounded workflow accepts up to 50 unrotated pages with matching media/crop boxes. Do not describe ordinary covering, cropping, password protection or flattening as secure deletion. Do not claim PKI signature validation or vector-preserving secure redaction.
- Credentials: output protection accepts only saved userPasswordRef/ownerPasswordRef references resolved inside the approved executor.
document.pdf.unlockcreates a new decrypted copy using passwordRef and verifies reopening; it requires the correct credential and PDF modification permissions, and rejects signed files. Never put plaintext passwords into tool arguments. Signed files are rejected for ordinary edits; only explicitly accepted rasterized unsigned copies are supported. - Save to a new output, reopen with document.pdf.inspect and render changed pages. Existing outputs are refused, including alternate spellings that resolve to the source. Report actual output, digest/reopen evidence and remaining limits. Never silently substitute rasterization or a different editing operation after failure.
- Export: use document.pdf.export for real searchable text (
textor page-structuredjson), not Word-layout conversion. Use document.pdf.render forpngorjpegpage images. Empty text from scans requires the separate consented OCR workflow, never invented text.
File conversion without model rewriting
Use document.pdf.convert with file paths and a target format for Markdown, Word DOCX, HTML, RTF or text to PDF, and text PDF to those formats. Do not regenerate existing content through the model. PDF creation is paginated; PDF extraction preserves searchable text and page order, not original layout, embedded images or table structure. A scanned/image-only page fails explicitly; use the separate consented OCR workflow first. Source files remain unchanged and outputs must be new.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill-hub/sources/floe-pdf/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jiangnangenius/floe-agent/floe-pdf)