oma-pdf
Skill1.3k starsChanged 59 days agoMITView on GitHub
Extract PDF text, headings, tables, and images into Markdown using
1 other project uses a version of this, 1 of them edited.
Trending
Quiet since October.about the whole repository
Most recently taken up by
- deathrashed/agentsedited, first seen Jul 25, 2026
Who's talking about first-fluke/oh-my-agent
- A Hacker News story“Show HN: Oh-my-agent – A structural harness for AI agents in real projects”Hacker News · Mar 17, 2026 · 3 points
- sudosubin/agents.nix“agent-skills.github.first-fluke.oh-my-agent: 6d96258 → e7abefd”GitHub · Oct 5, 2026
- sudosubin/agents.nix“agent-skills.github.first-fluke.oh-my-agent: 0-unstable-2026-10-04 → 0-unstable-2026-10-05”GitHub · Oct 5, 2026
- awesome-dsh-plugin/awesome-dsh-plugin“Add OMA project hook integration”GitHub · Oct 5, 2026
- sudosubin/agents.nix“agent-plugins.github.first-fluke.oh-my-agent: init at 0-unstable-2026-10-04”GitHub · Oct 4, 2026
The biggest 5 of 15 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 15
Talked about on GitHub and Hacker News (15 times).
On GitHub · 14
- Oct 5, 2026agent-skills.github.first-fluke.oh-my-agent: 6d96258 → e7abefd — sudosubin/agents.nix0 reactions
- Oct 5, 2026agent-skills.github.first-fluke.oh-my-agent: 0-unstable-2026-10-04 → 0-unstable-2026-10-05 — sudosubin/agents.nix0 reactions
- Oct 5, 2026Add OMA project hook integration — awesome-dsh-plugin/awesome-dsh-plugin0 reactions
- Oct 4, 2026agent-plugins.github.first-fluke.oh-my-agent: init at 0-unstable-2026-10-04 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-skills.github.first-fluke.oh-my-agent: 0-unstable-2026-10-03 → 0-unstable-2026-10-04 — sudosubin/agents.nix0 reactions
9 more on GitHub
- Oct 3, 2026agent-skills.github.first-fluke.oh-my-agent: 7.0.0 → 0-unstable-2026-10-03 — sudosubin/agents.nix0 reactions
- Sep 27, 2026agent-skills.github.first-fluke.oh-my-agent: init at 7.0.0 — sudosubin/agents.nix0 reactions
- Sep 21, 2026[Resource]: oh-my-agent — hesreallyhim/awesome-claude-code0 reactions
- Jul 16, 2026Feature roadmap tracking against OMO and OMC — witt3rd/oh-my-hermes0 reactions
- May 12, 2026feat: Comparability to OmO and other similar tools — siddsachar/row-bot0 reactions · 2 comments
- Apr 18, 2026Audit candidate: first-fluke/oh-my-agent — xiaolai/nlpm0 reactions · 2 comments
- Mar 17, 2026📱 SNS 콘텐츠 - 2026-03-17 22:15 KST — leaf468/autothreads0 reactions
- Mar 17, 2026🤖 AI 트렌드 리포트 - 2026-03-17 22:15 KST — leaf468/autothreads0 reactions
- Mar 16, 2026oh-my-agent 2.9.1 (new formula) — Homebrew/homebrew-core0 reactions · 1 comment
On Hacker News · 1
- Mar 17, 2026Show HN: Oh-my-agent – A structural harness for AI agents in real projects3 points · 1 comment
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- deathrashed/agents★ 195% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository69 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cli/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- cli/CLAUDE.mdCLAUDE.md
- oma-academic-writingSkill
- oma-architectureSkill
- oma-backendSkill
- oma-brainstormSkill
- oma-coordinationSkill
- oma-dbSkill
- oma-debugSkill
- oma-deepsecSkill
- oma-designSkill
- oma-dev-workflowSkill
- oma-docsSkill
- oma-explanationSkill
- oma-frontendSkill
- oma-hwpSkill
- oma-imageSkill
- oma-marketSkill
- oma-mobileSkill
- oma-observabilitySkill
- oma-orchestrationSkill
- oma-pdfSkill
- oma-pmSkill
- oma-qaSkill
- oma-recapSkill
- oma-refactorSkill
- oma-scholarSkill
- oma-scmSkill
- oma-searchSkill
- oma-skill-creationSkill
- oma-slideSkill
- oma-tf-infraSkill
- oma-translationSkill
- oma-videoSkill
- oma-voiceSkill
- oma-academic-writingSkill
- oma-architectureSkill
- oma-backendSkill
- oma-brainstormSkill
- oma-coordinationSkill
- oma-dbSkill
- oma-debugSkill
- oma-deepsecSkill
- oma-designSkill
- oma-dev-workflowSkill
- oma-docsSkill
- oma-explanationSkill
- oma-frontendSkill
- oma-hwpSkill
- oma-imageSkill
- oma-marketSkill
- oma-mobileSkill
- oma-observabilitySkill
- oma-orchestrationSkill
- oma-pmSkill
- oma-qaSkill
- oma-recapSkill
- oma-refactorSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 9 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
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
- Distinctive: line 60
Check file size and warn when the input is large enough to risk slow conversion or memory pressure.
- Very specific: line 67
VERIFY: Run mdformat for Markdown output and inspect the result for readable structure.
- Distinctive: line 71
If the preview text is readable, use standard conversion.
- Very specific: line 72
If the PDF is tagged and standard output is garbled, retry with --use-struct-tree.
- Very specific: line 73
If tables are missing or broken, retry with --table-method cluster or --markdown-with-html before escalating to hybrid mode.
- Distinctive: line 74
If the PDF is scanned or image-based, start or reuse the hybrid OCR server and convert with hybrid mode.
- Distinctive: line 75
If conversion fails because the PDF is encrypted, stop and ask for the password or an unlocked copy.
- Very specific: line 76
If conversion hits memory or size limits, process smaller page ranges into distinct output directories (or append --to-stdout) so repeated …
- Distinctive: line 149
Does not intentionally modify the source PDF.
- Distinctive: line 152
Do not invent missing content when extraction is incomplete.
- Distinctive: line 153
Always report garbled text, missing tables, OCR uncertainty, or partial extraction.
- Distinctive: line 154
Prefer standard conversion first when the text layer is readable.
- Distinctive: line 155
Use OCR only when the PDF is scanned, image-based, or standard extraction quality is insufficient.
- Very specific: line 156
Keep detailed command sequences in resources/execution-protocol.md rather than duplicating every variant here.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PDF Skill - PDF to Markdown Conversion
Scheduling
Goal
Convert PDF files into structured Markdown or another requested extraction format while preserving readable document structure for LLM context, RAG, or downstream review.
Intent signature
- User asks to convert, parse, read, extract, or transform a PDF.
- User needs PDF text, headings, lists, tables, or images prepared for AI consumption.
- User mentions "PDF to markdown", "parse PDF", "read this PDF", or equivalent wording.
When to use
- Converting PDF documents to Markdown for LLM context or RAG
- Extracting structured content such as tables, headings, lists, images, footnotes, or hyperlinks
- Preparing PDF data for AI consumption
- Checking whether a PDF has a text layer before choosing OCR
When NOT to use
- Generating or creating PDFs -> use document-generation tools
- Editing existing PDFs -> out of scope
- Reading an already-text file -> use direct file reading
- Processing HWP, HWPX, DOCX, XLSX, or slide decks -> use the matching document skill
Expected inputs
input_path: PDF file or folder pathoutput_dir: optional target directoryformat: optional output format, defaultmarkdownocr_languages: optional OCR language list for scanned or image-based PDFsextraction_options: optional flags for tagged structure, image extraction, or hybrid conversion
Expected outputs
- Markdown, text, JSON, HTML, or combined extraction output
- Normalized Markdown when Markdown is produced
- A short report with output path, page count, and conversion issues
Dependencies
uvx opendataloader-pdffor standard conversionuvx --from "opendataloader-pdf[hybrid]" opendataloader-pdf-hybridfor OCR or hybrid conversion (the hybrid server is a console script of the[hybrid]extra, not a standalone package)uvx mdformatfor Markdown normalization- Local filesystem access to input and output paths
- Optional OCR runtime via the hybrid server
Control-flow features
- Branches on text-layer quality, tagged PDF availability, scan/OCR needs, and user-requested output format
- Calls external CLI tools through
uvx - Reads local files and writes local extraction outputs
- Uses a hybrid server only when OCR or complex extraction needs justify it
Structural Flow
Entry
- Confirm that the input path exists and is a PDF file, PDF folder, or supported batch input.
- Check file size and warn when the input is large enough to risk slow conversion or memory pressure.
- Resolve
output_dirand the expected output filename.
Scenes
- PREPARE: Validate the input path, output target, and requested extraction options.
- ACQUIRE: Assess whether the PDF has a readable text layer by extracting a text preview.
- ACT: Convert using standard mode, tagged-structure mode, or hybrid OCR mode.
- VERIFY: Run
mdformatfor Markdown output and inspect the result for readable structure. - FINALIZE: Report output path, page count, format, and any extraction quality issues.
Transitions
- If the preview text is readable, use standard conversion.
- If the PDF is tagged and standard output is garbled, retry with
--use-struct-tree. - If tables are missing or broken, retry with
--table-method clusteror--markdown-with-htmlbefore escalating to hybrid mode. - If the PDF is scanned or image-based, start or reuse the hybrid OCR server and convert with hybrid mode.
- If conversion fails because the PDF is encrypted, stop and ask for the password or an unlocked copy.
- If conversion hits memory or size limits, process smaller page ranges into distinct output directories (or append
--to-stdout) so repeated runs do not overwrite the same basename.
Failure and recovery
| Failure | Recovery |
uvx unavailable | Ask user to install uv before conversion |
opendataloader-pdf-hybrid not found | Invoke via uvx --from "opendataloader-pdf[hybrid]" opendataloader-pdf-hybrid; the bare package name does not exist on PyPI |
| Password-protected PDF | Ask for password or unlocked PDF |
| Garbled output | Retry with tagged structure or hybrid mode |
| Missing tables | Retry with --table-method cluster or --markdown-with-html first; hybrid mode for scanned tables |
| OCR language mismatch | Retry with explicit OCR languages, for example ko,en |
| Large file or memory pressure | Split into page ranges using distinct output directories or --to-stdout; never reuse one output directory for the same basename |
Exit
- Success: output file exists, Markdown is formatted when applicable, and extracted structure is readable.
- Partial success: output exists but quality issues are reported explicitly.
- Failure: no reliable output is produced and the blocking cause is reported.
Logical Operations
Actions
| Action | SSL primitive | Evidence |
| Validate path and options | VALIDATE | Input preflight in execution protocol |
| Probe text layer | READ | Text preview extraction |
| Choose conversion strategy | SELECT | Standard, tagged, or hybrid mode decision |
| Run converter | CALL_TOOL | uvx opendataloader-pdf |
| Start OCR server | CALL_TOOL | uvx --from "opendataloader-pdf[hybrid]" opendataloader-pdf-hybrid |
| Write output artifact | WRITE | Markdown, text, JSON, or HTML output |
| Normalize Markdown | CALL_TOOL | uvx mdformat |
| Inspect extraction quality | VALIDATE | Structure/readability verification |
| Report result | NOTIFY | Final user-facing summary |
Tools and instruments
opendataloader-pdf: primary PDF extraction CLIopendataloader-pdf-hybrid: hybrid OCR and complex extraction pathmdformat: Markdown normalization- Filesystem commands such as
file,wc, orpdfinfomay be used for preflight when available
Canonical command path
uvx opendataloader-pdf "{input_path}" -f text --pages 1-3 --to-stdout -q # text-layer probe (no temp files)
uvx opendataloader-pdf "{input_path}" --format markdown --output-dir "{output_dir}"
uvx mdformat "{output_path}"For scanned/image-based PDFs, start OCR first and then convert through hybrid mode:
uvx --from "opendataloader-pdf[hybrid]" opendataloader-pdf-hybrid --port 5002 --force-ocr --ocr-lang "{languages}"
uvx opendataloader-pdf --hybrid docling-fast --hybrid-mode full "{input_path}" --format markdown --output-dir "{output_dir}"On-request flags — --sanitize (PII masking), --pages (range extraction), --threads (parallel pages), --detect-strikethrough, hybrid --enrich-formula / --enrich-picture-description — are detailed in resources/execution-protocol.md. The two enrichment flags require client-side --hybrid-mode full.
Resource scope
| Scope | Resource target |
LOCAL_FS | Input PDFs and generated output files |
PROCESS | uvx subprocesses and optional hybrid server |
MEMORY | Extracted previews and validation notes |
OTHER | OCR model/runtime behavior inside hybrid mode |
Preconditions
- The input PDF path exists and is readable.
- The output location is writable or can be created.
- Required CLIs are available through
uvx. - OCR is only attempted when hybrid mode is available or can be started.
- Defaults come from the
pdf:section of.agents/oma-config.yaml, falling back toconfig/pdf-config.yamlfor unset keys; explicit user options override both, andoutput.overwrite: falserequires confirmation before replacing an existing output file.
Effects and side effects
- Creates or overwrites extraction output depending on configuration and user intent.
- May start a local hybrid OCR server on the configured port.
- May consume significant CPU, memory, or time for large or scanned PDFs.
- Does not intentionally modify the source PDF.
Guardrails
- Do not invent missing content when extraction is incomplete.
- Always report garbled text, missing tables, OCR uncertainty, or partial extraction.
- Prefer standard conversion first when the text layer is readable.
- Use OCR only when the PDF is scanned, image-based, or standard extraction quality is insufficient.
- Keep detailed command sequences in
resources/execution-protocol.mdrather than duplicating every variant here.
References
- Execution protocol:
resources/execution-protocol.md - Configuration: read the
pdf:section of.agents/oma-config.yamlfirst, then fall back toconfig/pdf-config.yamlfor any key it does not set. User overrides belong in.agents/oma-config.yaml, sinceoma updateoverwrites the skill config. - Context loading:
../_shared/core/context-loading.md - Quality principles:
../_shared/core/quality-principles.md
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
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.

