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.5 | $0.00024 | $0.00157 |
| Sonnet 5.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 2mo 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.
- 2mo 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 (5 stars, last pushed 3d ago), licensed MIT. It adds 60 tokens to every session and 392 once invoked, about $0.0002 per session on Opus 5.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.
rtl-persian-pdf compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rtl-persian-pdfmamahoos/dot-files | Skill | 5 | 3d ago | MIT | A | 60 | Claude Code, Cursor |
| md2pdfjoshukraine/dotfiles | Skill | 429 | 10d ago | MIT | A | 22 | Claude Code |
| processing-pdfstelagod/code-abyss | Skill | 244 | 3mo ago | MIT | A | 57 | Claude Code |
| import-papersDJRHails/dotfiles | Skill | 2 | 2d ago | MIT | A | 76 | Claude Code, Codex |
| docling-mcp-skilldarellchua2/opencode-config-template | Skill | 6 | 1mo ago | Apache-2.0 | A | 54 | Claude Code, Codex |
| overleafDJRHails/dotfiles | Skill | 2 | 2d ago | MIT | B | 109 | Claude Code, Codex |
| pdfmalob/nix-config | Skill | 462 | 6d ago | MIT | A | 92 | Claude Code, Codex |