agentleFS
gclmgclm/super-stack/skills/core/pdf/SKILL.md

pdf

Skill0 starsChanged 8 months agoMITView on GitHub

Read, create, or review PDF files. Use this skill when text extraction, rendering fidelity, scanned PDFs, page layout, or PDF generation matters, and choose the lightweight text path before the full rendering path when layout is not the main concern.

197 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use context7-efficient, file-reading 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.
  • hfzarslanSkill

    context7-efficient

    Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

    Also in 5 projects that use this

  • SeifBenayedSkill

    file-reading

    Use this skill when a file has been uploaded but its content is NOT in your context — only its path at /mnt/user-data/uploads/ is listed in an uploaded_files block. This skill is a router: it tells you which tool to use for each file type (pdf, docx, xlsx, csv, json, images, archives, ebooks) so you read the right amount the right way instead of blindly running cat on a binary. Triggers: any mention of /mnt/user-data/uploads/, an uploaded_files section, a file_path tag, or a user asking about an uploaded file you have not yet read. Do NOT use this skill if the file content is already visible in your context inside a documents block — you already have it.

    Also in 6 projects that use this

  • SeifBenayedSkill

    pdf-reading

    Use this skill when you need to read, inspect, or extract content from PDF files — especially when file content is NOT in your context and you need to read it from disk. Covers content inventory, text extraction, page rasterization for visual inspection, embedded image/attachment/table/form-field extraction, and choosing the right reading strategy for different document types (text-heavy, scanned, slide-decks, forms, data-heavy). Do NOT use this skill for PDF creation, form filling, merging, splitting, watermarking, or encryption — use the pdf skill instead.

    Also in 6 projects that use this

  • yf8578Skill

    market-research-reports

    Generate comprehensive market research reports (50+ pages) in the style of top consulting firms (McKinsey, BCG, Gartner). Features professional LaTeX formatting, extensive visual generation with scientific-schematics and generate-image, deep integration with research-lookup for data gathering, and multi-framework strategic analysis including Porter Five Forces, PESTLE, SWOT, TAM/SAM/SOM, and BCG Matrix.

    Also in 7 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 4 projects that use this

  • jjyaoaoSkill

    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 4 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 9 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 186 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the task involves PDF files and success depends on extracting content reliably, generating PDFs, or validating rendered …

    line 8
  2. Distinctive:

    avoid over-installing heavy dependencies for one-off text extraction tasks

    line 19
  3. Distinctive:

    verify rendering visually when layout fidelity actually matters

    line 20
  4. Distinctive:

    keep temp and output files organized

    line 21
  5. Distinctive:

    do not treat extracted text as proof of layout quality

    line 27
  6. Distinctive:

    when the PDF is scanned, image-based, or visually important, route to the full rendering path

    line 28
  7. Distinctive:

    prefer the user's or project's default Python environment before creating ad hoc environments

    line 29
  8. Very specific:

    only install system tools such as poppler when the task truly needs rendering or image export

    line 30
  9. Distinctive:

    if dependency installation is blocked, say which dependency is missing and continue with the best fallback path that still preserves answer …

    line 31
  10. Very specific:

    Read references/task-routing.md and classify the task.

    line 35
  11. Distinctive:

    Run a quick environment preflight for Python and PDF tools.

    line 36
  12. Very specific:

    If the task is text extraction, prefer pypdf, then pdfplumber if needed.

    line 37
  13. Very specific:

    If the task is rendering-sensitive, use pdftoppm/poppler and inspect rendered pages.

    line 38
  14. Very specific:

    Keep intermediate artifacts in tmp/pdfs/ and final repo outputs in output/pdf/ when working inside a repository.

    line 40

“Common” is measured: kept by at least 6 in 10 of the 186 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PDF

Use this skill when the task involves PDF files and success depends on extracting content reliably, generating PDFs, or validating rendered output.

Read First

  • the target PDF files
  • references/task-routing.md to choose between lightweight text extraction and full rendering review
  • harness/state.md if the task is part of an ongoing project workflow
  • harness/history.md if it exists

Goals

  • choose the lightest PDF workflow that can still answer the user request
  • avoid over-installing heavy dependencies for one-off text extraction tasks
  • verify rendering visually when layout fidelity actually matters
  • keep temp and output files organized

Rules

  • first classify the task as either lightweight text extraction or full PDF review/generation
  • for resume screening, field extraction, keyword analysis, or quick content checks, prefer the lightweight path
  • do not treat extracted text as proof of layout quality
  • when the PDF is scanned, image-based, or visually important, route to the full rendering path
  • prefer the user's or project's default Python environment before creating ad hoc environments
  • only install system tools such as poppler when the task truly needs rendering or image export
  • if dependency installation is blocked, say which dependency is missing and continue with the best fallback path that still preserves answer quality

Process

  1. Read references/task-routing.md and classify the task.
  2. Run a quick environment preflight for Python and PDF tools.
  3. If the task is text extraction, prefer pypdf, then pdfplumber if needed.
  4. If the task is rendering-sensitive, use pdftoppm/poppler and inspect rendered pages.
  5. For PDF generation, use stable programmatic tools such as reportlab and re-render for visual checks.
  6. Keep intermediate artifacts in tmp/pdfs/ and final repo outputs in output/pdf/ when working inside a repository.
  7. Report what workflow path was used, what dependencies were required, and what evidence supports the result.

Output

Tell the user:

  • which PDF workflow path was used: lightweight text extraction or full PDF review/generation
  • which dependencies or tools were available, missing, or installed
  • whether layout fidelity was actually verified visually
  • where any output files were written
  • any remaining evidence gaps such as scanned text quality or missing OCR

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.