Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add mamahoos/dot-files --skill rtl-persian-pdfgit clone --depth 1 https://github.com/mamahoos/dot-filesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mamahoos/dot-files/rtl-persian-pdf)<a href="https://agentmods.dev/skills/mamahoos/dot-files/rtl-persian-pdf"><img src="https://agentmods.dev/badge/skills/mamahoos/dot-files/rtl-persian-pdf/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/mamahoos/dot-files/rtl-persian-pdf"><img src="https://agentmods.dev/badge/skills/mamahoos/dot-files/rtl-persian-pdf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00060 | $0.00392 |
| Opus 5 | $0.00030 | $0.00196 |
| Sonnet 5 | $0.00012 | $0.00078 |
| Haiku 4.5 | $0.00006 | $0.00039 |
Grade A, and why
rtl-persian-pdf scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
RTL Persian PDF
Purpose
Orchestrate a deterministic Persian RTL PDF pipeline from user request to verified artifact.
Single Responsibility Contract
This file handles orchestration only:
- decide the pipeline path
- enforce validation gates
- report output contract
Detailed implementation (HTML baseline, commands, fallback internals, troubleshooting) lives in reference.md.
Inputs
- source path (
.mdor.html) - output path (
.pdf) - optional page settings (default
A4, margin14mm) - optional style intent (default formal and minimal)
Outputs
- generated PDF path
- renderer used (primary or fallback)
- fonts used
- validation status and residual risks
Core Workflow
- Confirm input/output contract.
- Choose route:
- HTML input -> normalize and render
- Markdown input -> convert then render
- Use primary renderer first (Chromium).
- Run validation gates.
- If validation fails, apply controlled fallback path.
- Return output contract.
Validation Gates (Mandatory)
- PDF exists and is non-empty
pdfinfopasses and metadata is sane- first-page visual spot-check completed
- mixed Persian/Latin bidi is visually acceptable
Guardrails
- Do not skip validation gates.
- Do not silently change page size, margin, or font stack.
- Do not rely on unverifiable claims about output quality.
- Prefer local explicit fonts over system-dependent defaults.
Additional Resources
- For command recipes and templates, see
reference.md.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 65 lines · 60 tokens per session scan A ec514b0209ba
rtl-persian-pdf is a skill published in the GitHub repository mamahoos/dot-files (4 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 392 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
md2pdf
Convert a Markdown file to PDF with GitHub-style formatting using the md2pdf tool.
processing-pdfs
Processes PDF files. Extracts text and tables, fills forms, merges and splits documents, batch-processes files, converts to images, and generates PDFs programmatically. Use when working with .pdf files. Do NOT use for Word documents, spreadsheets, or presentations.
docling-mcp-skill
Docling reference and workflows — layout-aware extraction for complex tables, multi-column, scanned PDFs where markitdown fails. CLI and MCP tiers, consent policy. Triggers: docling, scanned PDF OCR, markitdown insufficient.
import-papers
Process PDFs in research/dump/, extract metadata, generate bibtex entries, and move files to research/papers/. Use when importing research papers or managing a paper bibliography. Only applies inside a checkout that has research/dump/ and research/papers.bib, and requires the pdftotext CLI (poppler-utils) — skip on…
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…
remarkable
Render a Markdown or Org document to a PDF for reading on Petar's reMarkable Paper Pure, in the clean classic CS/Lisp-paper aesthetic (Computer Modern Book, small-caps numbered sections, monochrome code, links as footnotes), using pandoc and tectonic. Use when the user asks for a PDF for the reMarkable, a "paper PDF"…