invoice-lines
Extract line items from invoice or receipt PDFs into CSV. Use whenever a user wants tabular data pulled out of one.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- invoice-lines
- description
- Extract line items from invoice or receipt PDFs into CSV. Use whenever a user wants tabular data pulled out of one.
02 资源文件 2
- 参考文档grading.json1.0 KB
- 参考文档meta.json215 B
03 SKILL.md 正文
Extract
Run the bundled script against the PDF:
python scripts/extract.py <path-to-pdf>
It writes CSV to stdout with columns vendor,date,sku,qty,unit_price,total. Redirect to a file if the user wants one saved.
Gotchas
- Scanned PDFs —
extract.pyreads text layers only; a scanned (image-only) PDF has none, and the script exits with code 3. Check the exit code. On exit 3, OCR the PDF first (e.g.ocrmypdf) and re-run extract.py against the OCR'd file, not the original. - Multi-currency invoices — pass
--currency <code>(e.g.--currency EUR) when the invoice states amounts in a non-USD currency, so unit_price and total are tagged correctly. Without it, the script assumes USD and a mixed-currency document will produce wrong totals silently. - Total cross-check — after extraction, sum the
totalcolumn and compare it against the invoice's own stated total (usually printed near the document's bottom). If they match within rounding, extraction is complete. If they don't, re-check for parsing errors (merged or missing rows) and flag the mismatch to the user before reporting the extraction as done.
04 同仓库更多 Skills
tune
Find and fix real defects in a skill, AGENTS.md, or CLAUDE.md, then prove the description still routes. Runs the bundled token-spending runner, so it starts only on the human's explicit instruction.
skill-tuner
Evidence-tagged rules for writing documents agents consume. Use when creating, editing, or shortening skills, AGENTS.md, or CLAUDE.md.
portfolio
Inventory every skill the agent is shown, with its per-turn listing cost, usage count and visibility knob, then decide one skill at a time whether the model should start it on its own. Reads files only; starts on the human's explicit instruction.
shipit
Release builds with the shipit CLI. Use when releasing or promoting a build to staging or prod, checking a release manifest, or rolling back a shipit deployment.
shipit
Release builds with the shipit CLI. Use when releasing or promoting a build to staging or prod, checking a release manifest, or rolling back a shipit deployment.
shipit
Release builds with the shipit CLI. Use when releasing or promoting a build to staging or prod, checking a release manifest, or rolling back a shipit deployment.