stirling-pdf
Skill0 starsChanged 2 months agoMITView on GitHub
Stirling PDF document processing. Use when: user asks to convert, merge, split, compress, OCR, or manipulate PDF files. Also for converting between PDF and Markdown/images/Word/HTML. Useful alongside Obsidian for PDF-to-Markdown conversion.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- codex-model-profilesSkill
- cognitive-rhythm-writingSkill
- daikinSkill
- decoSkill
- epgstationSkill
- japanese-tech-writingSkill
- piholeSkill
- popin-aladdinSkill
- switch2-controlSkill
The file
Files
Stirling PDF
Base URL: https://pdf-tools.msageha.net/api/v1 (Stirling PDF v3.0.0).
File-processing endpoints accept multipart/form-data and return the processed
file directly; /analysis/* and /info/status return JSON.
Key facts
- Auth is deployment-dependent: requests to this instance don't need an
X-API-KEYheader, but if login is ever enabled, add one or requests get a 401. - Response is the processed file (binary); save with
-o output.extand callcurl -sSfso an HTTP error leaves no output file (curl exits 22 and reports the status on stderr; rerun without-f/-oto read the error JSON). pageNumberssupports ranges:1,3,5-9,all, or expressions like2n+1.- Large files may take time; inform the user before starting.
- Confirm before destructive operations (removing pages, adding passwords).
Core operations
| Task | Endpoint |
| PDF → Markdown/Text/Word/HTML | POST /convert/pdf/{markdown,text,word,html} |
| PDF → Images | POST /convert/pdf/img |
| Markdown/HTML/URL/Office → PDF | POST /convert/{markdown,html,url,file}/pdf |
| Images → PDF | POST /convert/img/pdf |
| Merge / Split / Remove / Rotate / Rearrange pages | POST /general/{merge-pdfs,split-pages,remove-pages,rotate-pdf,rearrange-pages} |
| Compress | POST /misc/compress-pdf |
| OCR | POST /misc/ocr-pdf |
| Repair / Flatten | POST /misc/{repair,flatten} |
| Extract images / Add page numbers / Add stamp / Update metadata | POST /misc/{extract-images,add-page-numbers,add-stamp,update-metadata} |
| Add/remove password, watermark | POST /security/{add-password,remove-password,add-watermark} |
| Page count / basic info / properties | POST /analysis/{page-count,basic-info,document-properties} |
| Server status | GET /info/status |
Full field lists, defaults, and ready-to-run curl examples: see references/api-reference.md and references/commands.md.
Obsidian Integration
To add a PDF to the Obsidian vault as a note: convert PDF → Markdown, then (only
if the conversion succeeded) obsidian-cli create "Notes/<name>" --content
"$(cat output.md)". See references/commands.md for the full recipe.
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.

