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 moonlight-lupin/agent-skills --skill receipt-compilergit clone --depth 1 https://github.com/moonlight-lupin/agent-skillsWrote 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/moonlight-lupin/agent-skills/receipt-compiler)<a href="https://agentmods.dev/skills/moonlight-lupin/agent-skills/receipt-compiler"><img src="https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/receipt-compiler/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/moonlight-lupin/agent-skills/receipt-compiler"><img src="https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/receipt-compiler.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.00038 | $0.01465 |
| Opus 5.5 | $0.00015 | $0.00586 |
| Sonnet 5.5 | $0.00008 | $0.00293 |
| Haiku 4.5 | $0.00004 | $0.00146 |
Grade A, and why
receipt-compiler 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.
How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Receipt Compiler
Overview
Receipt Compiler turns a folder of phone-camera receipt photos into one A4 PDF that looks like a photocopied expense-claim pack: each receipt is straightened (perspective warp, deskew), converted to a B&W "scanned" look, tiled on A4 with uniform visual scale, numbered, and summarised on an optional cover page.
Four subcommands with an enforced confirmation gate:
scan— straighten + scanify + OCR each photo →manifest.jsonreview— print the extracted expense tableconfirm— stamp user approval + bind the reviewed data (digest)pack— build the A4 PDF (refuses to run untilconfirmhas run)
When to Use
- "Compile my receipts into a PDF for expense claim"
- "Make a claim pack from these receipt photos"
- "Straighten and B&W these receipts and line them up on A4"
- Not for: scanning via flatbed scanner, or PDFs of invoices (use
pdfskill).
Prerequisites
pip install opencv-python-headless pillow pillow-heif pytesseract reportlab numpy
# PyMuPDF is needed only to run the self-test (tests/), not the script itself
Plus system tesseract-ocr on PATH. Check with tesseract --version.
Workflow (agent must follow the gate)
Step 1 — scan
python3 ~/.hermes/skills/productivity/receipt-compiler/scripts/receipt_compiler.py \
scan <photos_dir> -o <workdir> [--mode bw|photo]
Default --mode bw gives the photocopy look the user asked for. Use --mode photo
for grayscale. Completion criterion: manifest exists with one entry per photo;
ocr_confidence and needs_review flags set.
Step 2 — review + confirm (MANDATORY, user in the loop)
python3 .../receipt_compiler.py review <workdir>
# ... apply any corrections to manifest.json, THEN re-run review so the user
# ... sees the corrected table ...
python3 .../receipt_compiler.py review <workdir>
# ... after the user approves the corrected table ...
python3 .../receipt_compiler.py confirm <workdir>
Present the printed table to the user in chat. Ask:
- Are the extracted dates/merchants/amounts right? Fix
manifest.jsonfields. - Optional requirements — ask every time, do not assume:
- cover page (with claimant/period/notes)
- per-receipt numbering badges
- per-receipt captions (date · merchant · amount)
- currency symbol on totals
- Exclusions — any receipt to drop (
"include": false)? - Purpose/notes text for the cover.
What ships with it
2 files 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 · 135 lines · 38 tokens per session scan A 5900b6a87f35
receipt-compiler is a skill published in the GitHub repository moonlight-lupin/agent-skills (136 stars, last pushed 2d ago), licensed MIT. It adds 38 tokens to every session and 1,465 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-09-13.
receipt-compiler compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| receipt-compilermoonlight-lupin/agent-skills | Skill | 136 | 2d ago | MIT | A | 38 | Claude Code, Codex |
| document-exportspedroiff0/awesome-skills | Skill | 1 | today | MIT | A | 44 | Claude Code, Codex |
| invoice-to-ledger-csvRobinBeraud/hermes-skills | Skill | 11 | yesterday | none | A | 55 | Claude Code, Codex |
| invoicenexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 46 | Claude Code, Codex |
| hunter_expert_trading_record_exporteragentpit-io/hunter-community | Skill | 624 | yesterday | Apache-2.0 | A | 204 | Claude Code, Codex |
| report-generatoryennanliu/InvestSkill | Skill | 296 | 15d ago | MIT | A | 11 | Claude Code |
| financial-document-parserXiaoLuoLYG/GOD | Skill | 1.3k | 6d ago | Apache-2.0 | B | 42 | Claude Code, Codex |