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 agentmods add skills/thedavidweng/skills/cli-invoicenpx skills add thedavidweng/skills --skill cli-invoicegit clone --depth 1 https://github.com/thedavidweng/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/thedavidweng/skills/cli-invoice)<a href="https://agentmods.dev/skills/thedavidweng/skills/cli-invoice"><img src="https://agentmods.dev/badge/skills/thedavidweng/skills/cli-invoice.svg" alt="Measured on agentmods" 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.00070 | $0.01577 |
| Opus 5 | $0.00035 | $0.00788 |
| Sonnet 5 | $0.00014 | $0.00315 |
| Haiku 4.5 | $0.00007 | $0.00158 |
Grade A, and why
cli-invoice 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 6d 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 — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLI Invoice — Command-as-Source Invoice Management
Tool: maaslalani/invoice — Command line invoice generator
Philosophy
- The CLI command IS the source file. No JSON, no YAML, no template file — just the command.
- Store the command, not the PDF. Keep each invoice's generate command in a note (e.g., Obsidian code block). Regenerate on demand.
- One command = one invoice. Each invocation produces a self-contained PDF.
Prerequisites & Installation
Check that invoice is available:
command -v invoice >/dev/null 2>&1 || { echo "ERROR: invoice CLI not installed"; exit 1; }
Install methods (pick one)
| Method | Command | Requires |
|---|---|---|
| Homebrew (recommended on macOS) | brew install invoice |
Homebrew |
| Go install | go install github.com/maaslalani/invoice@main |
Go 1.19+ |
| Binary download | Download from GitHub Releases | — |
Note: The Go install path uses
@main, not@latest. This is per the upstream README.
Verify installation
invoice --help
Command Syntax
invoice generate \
--from "Sender Name" \
--to "Recipient Name/Company" \
--item "Description" --quantity <N> --rate <PRICE> \
[--item "Another item" --quantity <N> --rate <PRICE>] \
[--tax <DECIMAL>] \
[--discount <DECIMAL>] \
[--note "Additional notes"] \
[--output <path.pdf>]
Parameters
| Flag | Required | Description |
|---|---|---|
--from |
Yes | Sender name or business |
--to |
Yes | Recipient name or business |
--item |
Yes (1+) | Line item description. Repeat with --quantity and --rate for each item |
--quantity |
Yes | Quantity for the preceding --item |
--rate |
Yes | Unit price for the preceding --item |
--tax |
No | Tax rate as decimal (e.g., 0.13 for 13%) |
--discount |
No | Discount rate as decimal (e.g., 0.15 for 15%) |
--note |
No | Footer note (e.g., payment terms) |
--output |
No | Output path (default: invoice.pdf in current directory) |
--import |
No | Import data from a JSON or YAML file (see Import from file) |
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.
- 6d ago First seen · 186 lines · 70 tokens per session scan A 0185cdaa9c66
cli-invoice is a skill published in the GitHub repository thedavidweng/skills (11 stars, last pushed yesterday), licensed MIT. It adds 70 tokens to every session and 1,577 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-30.
Other skills, from other repositories
invoice
A printable invoice page — sender + recipient block, line items table, tax breakdown, totals, and payment instructions. Use when the brief mentions "invoice", "bill", "billing statement", or "发票".
report-generator
Generate professional HTML/PDF investment reports with interactive visualizations.
iflytek-ocr-invoice
Use when user asks to recognize invoices, extract receipt data, or OCR bills and tickets. Recognize and extract structured data from invoices, receipts, and bills using iFlytek OCR API (科大讯飞票据识别). Supports VAT invoices, taxi receipts, train tickets, toll invoices, medical bills, bank receipts, and more.
cwicr-report-generator
Generate professional cost estimation reports from CWICR calculations. HTML, PDF, Excel outputs with charts and breakdowns.
financial-document-parser
Extract and analyze data from invoices, receipts, bank statements, and financial documents. Categorize expenses, track recurring charges, and generate expense reports. Use when user provides financial PDFs or images.
procesar-mis-estados-de-cuenta
Proceso un lote de estados de cuenta bancarios y de tarjeta de crédito en PDF o CSV de principio a fin: extraigo cada transacción (subagentes Haiku en paralelo), normalizo los nombres de las contrapartes, categorizo contra tu plan de cuentas bloqueado (subagentes Sonnet en paralelo), detecto transferencias entre…