Agent skill

Invoice Maker

by tsingliuwin in tsingliuwin/autoclaw

开发票/生成发票/报价单/收据/采购单/对账单/账单/付款通知 — formal business documents as paged PDFs with proper tables, right-aligned amounts, tax lines, repeating headers and page-number footers.

MITAuto-check passedDocuments & Office

Install Invoice Maker

skills CLI
$ npx skills add tsingliuwin/autoclaw --skill invoice-maker -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install tsingliuwin/autoclaw invoice-maker --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/tsingliuwin/autoclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/invoice-maker .claude/skills/invoice-maker && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
invoice-maker
GitHub stars
283
Token cost
~612 tokens
SKILL.md length
70 words
Files
6 (incl. scripts, references)
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

开发票/生成发票/报价单/收据/采购单/对账单/账单/付款通知 — formal business documents as paged PDFs with proper tables, right-aligned amounts, tax lines, repeating headers and page-number footers.

  • Tasks that involve Forms and invoices
  • SKILL.md covers 何时使用, 版式结构(票据的骨架), 金额与排版规范(硬性) and 批量开票(swarm 模式), plus 2 more sections
  • Runs JavaScript scripts from its folder; calls node
  • Tasks that involve Translation

What it does

Invoice Maker is an agent skill from tsingliuwin/autoclaw. 开发票/生成发票/报价单/收据/采购单/对账单/账单/付款通知 — formal business documents as paged PDFs with proper tables, right-aligned amounts, tax lines, repeating headers and page-number footers. Offline, batch-ready, bilingual layouts.

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts and reference files (for example `references/syntax-guide.md` and `scripts/package.json`).

It sits in Documents & Office, covering Forms and invoices and Translation. The repository describes itself as: AutoClaw is a hyper-lightweight AI agent designed to live inside Docker containers. Unlike heavy, GUI-dependent agents, AutoClaw is built for headless, massive-scale concurrency. The licence is MIT.

When your agent uses it

  • Tasks that involve Forms and invoices
  • Tasks that involve Translation

Example prompts

  • “/invoice-maker”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit d9915d7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Invoice Maker loads about 612 tokens when it runs, and up to ~1.7k if it reads all its reference files. Until then it costs about 56 tokens; SKILL.md has 70 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~612
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from tsingliuwin/autoclaw at commit d9915d7, republished under its MIT licence (© tsingliuwin). 70 words, ~612 tokens.

Download SKILL.mdSave it as .claude/skills/invoice-maker/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
invoice-maker
description
开发票/生成发票/报价单/收据/采购单/对账单/账单/付款通知 — formal business documents as paged PDFs with proper tables, right-aligned amounts, tax lines, repeating headers and page-number footers. Offline, batch-ready, bilingual layouts.
display_name
发票生成器(报价单/收据/采购单)
display_name_en
Invoice Maker (quotes, receipts, purchase orders)
description_zh
生成正式商务票据 PDF:发票、报价单、收据、采购单、对账单、账单。金额右对齐、税行规范、表格跨页表头重复、页码页脚,中英双语排版可选。离线毫秒级渲染,支持按订单数据批量出票。
description_en
Generate formal business document PDFs — invoices, quotes, purchase orders, receipts, statements. Right-aligned amounts, tax lines, repeating table headers…
category
office
version
1.0.1
author
AutoClaw

发票生成器

把订单/交易数据变成正式的商务票据 PDF:发票、报价单、收据、采购单、对账单、账单。本技能沉淀了票据的版式结构、金额规范和批量开票模式,产出的 PDF 文字可选中、字体已内嵌,可直接邮件发送或归档。

何时使用

  • 用户要"开/生成"一张正式单据:发票、报价单、收据、采购单、对账单、账单、付款通知
  • 从订单表(CSV/JSON)批量出票
  • 不适用:非票据类报告(运营周报等用 code2media);证书奖状(用 code2media 模板);艺术排版海报(用 poster-maker)

版式结构(票据的骨架)

[抬头区]   公司名 + 单据类型/编号        日期/有效期/联系人(右对齐)
[客户区]   致:客户名 + 一句话背景说明(浅底色块)
[明细表]   # | 项目 | 规格说明 | 数量 | 单价 | 小计(表头浅灰底)
[合计区]   小计 → 税 → 含税总计(右对齐,总计最大最粗)
[条款区]   付款条款/有效期/免责,小号灰字,可中英双语

参考 templates/:invoice.html(采购订单,60 行明细跨页示例)、quote.html(报价单)。

金额与排版规范(硬性)

  • 金额一律右对齐,带千分位(¥ 104,940.00);数量/单价/小计列都用 text-align:right
  • 总计行最大最粗,小计/税行用灰色小一号;税行单独列出,不和总计混算
  • 表格行加 style="border-bottom:1px solid #e2e8f0",表头浅灰底 background:#f1f5f9
  • 表格行加 break-inside:avoid 防跨页劈行;<thead> 会跨页自动重复,明细多也不怕
  • 页脚固定放页码:第 <span class="pageNumber"></span> 页 / 共 <span class="totalPages"></span> 页
  • 编号规则清晰可见(如 QU-2026-0912),日期用完整格式;中英双语条款便于跨境
  • 渲染命令:
bash
node "<技能目录>/scripts/render.mjs" --html invoice.html --pdf -o invoice.pdf --size a4 \
  --title "发票 INV-2026-0001" \
  --footer '<div style="width:100%;text-align:center;font-size:10px;color:#94a3b8">第 <span class="pageNumber"></span> 页 / 共 <span class="totalPages"></span> 页</div>'

批量开票(swarm 模式)

按订单表出票:循环读每行数据 → 把 templates/invoice.html 的抬头/明细/合计替换成该订单 → 渲染为 invoices/<订单号>.pdf。单张约几十毫秒,千张订单分钟级完成;输出确定,重跑同数据得到同文件。列宽字段(公司名/品名)超长时截断或换行,不要溢出表格。

交付前检查

  • 总计 = 明细之和(含税计算正确,税率单列)
  • 单据编号、双方名称、日期完整
  • 明细超过一页时:第 2 页起表头是否重复、页码是否正确
  • 中文无豆腐块(容器需 font-noto-cjk 字体包,或 --font 指定)
  • PDF 文字可选中、可搜索(本技能默认满足)

环境要求

Node.js >= 20.19;首次运行自动安装 takumi-js/takumi-pdf(一次性,需网络)。非票据的自定义文档用 code2media 通用技能。

© tsingliuwin, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts, references) in skills/invoice-maker of tsingliuwin/autoclaw.

  • SKILL.md
  • references/syntax-guide.md
  • scripts/package.json
  • scripts/render.mjs
  • templates/invoice.html
  • templates/quote.html

Open the folder on GitHubat commit d9915d7

Compare with similar skills

Invoice Maker next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Invoice Maker compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Invoice Maker this skilltsingliuwin/autoclaw283—~612Automated safety check: PassMIT
Form Fillingplatonai/Browser41.2k—~1.1kAutomated safety check: PassApache-2.0
Token ReceiptHchen1218/token-receipt126—~2.1kAutomated safety check: PassNone
Invoice Generatorluzhenqian/ai-coding-lab152—~955Automated safety check: PassNone
Paginated Reportdata-goblin/power-bi-agentic-development1k—~3.5kAutomated safety check: PassGPL-3.0
Weak Agent Testkklimuk/docx-cli216—~6.1kAutomated safety check: NotesMIT

Similar skills

  • Form Filling

    platonai/Browser4

    Automatically fills web forms using provided field data and can optionally submit the form.

    1.2k GitHub stars~1.1k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Token Receipt

    Hchen1218/token-receipt

    A skill your agent uses when the user wants to view AI conversation token usage as a receipt, invoice, checkout slip, token bill, usage receipt, cost snapshot, or creative monospace thermal-paper…

    126 GitHub stars~2.1k tokensUpdated 4 mo ago
    Documents & OfficeAuto-check passed
  • Invoice Generator

    luzhenqian/ai-coding-lab

    从 Excel 时间表或手动输入生成专业发票。当用户提到生成发票、创建账单、invoice、billing、开发票、时间表转发票、账单生成时使用此技能。

    152 GitHub stars~955 tokensUpdated 4 mo ago
    Documents & OfficeAuto-check passed
  • Paginated Report

    data-goblin/power-bi-agentic-development

    Author, validate, publish, and test Power BI paginated reports in the RDL format.

    1k GitHub stars~3.5k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Weak Agent Test

    kklimuk/docx-cli

    Run the weak-agent adversarial test harness against docx-cli.

    216 GitHub stars~6.1k tokensUpdated today
    Documents & OfficeAuto-check: notes
  • Sunat CLI

    crafter-research/sunat-cli

    SUNAT tax automation CLI for Peru. An agent skill from crafter-research/sunat-cli.

    104 GitHub stars~5.7k tokensUpdated 23 days ago
    Documents & OfficeAuto-check passed

More from tsingliuwin/autoclaw

  • Code2media

    tsingliuwin/autoclaw

    Universal media renderer with no fixed template — any custom layout, size or style becomes pixel-perfect images (PNG/JPEG/WebP), vector SVG, paged PDFs or animations (WebP/GIF).

    283 GitHub stars~956 tokensUpdated 1 mo ago
    Auto-check passed
  • Poster Maker

    tsingliuwin/autoclaw

    生成海报/做海报/公众号封面/小红书配图/朋友圈配图/OG图/分享卡/头图/横幅/banner — social-ready posters, covers and share cards with big-type layouts, brand gradients and platform size specs.

    283 GitHub stars~768 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Invoice Maker

What does Invoice Maker do?

开发票/生成发票/报价单/收据/采购单/对账单/账单/付款通知 — formal business documents as paged PDFs with proper tables, right-aligned amounts, tax lines, repeating headers and page-number footers. Invoice Maker is an agent skill from tsingliuwin/autoclaw. 开发票/生成发票/报价单/收据/采购单/对账单/账单/付款通知 — formal business documents as paged PDFs with proper tables, right-aligned amounts, tax lines, repeating headers and page-number footers.

When should I use Invoice Maker?

Invoice Maker fits situations like: tasks that involve Forms and invoices; tasks that involve Translation.

How do I install Invoice Maker in Claude Code?

Run `npx skills add tsingliuwin/autoclaw --skill invoice-maker -a claude-code`. Or copy the skill folder (skills/invoice-maker in tsingliuwin/autoclaw) into .claude/skills/invoice-maker in your project. Claude Code loads it when a task matches its description.

How do I install Invoice Maker in Codex?

Run `npx skills add tsingliuwin/autoclaw --skill invoice-maker -a codex`. Or copy the skill folder (skills/invoice-maker in tsingliuwin/autoclaw) into .agents/skills/invoice-maker in your project. Codex loads it when a task matches its description.

Can I use Invoice Maker in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add tsingliuwin/autoclaw --skill invoice-maker -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/invoice-maker, .gemini/skills/invoice-maker, .github/skills/invoice-maker and .opencode/skills/invoice-maker in your project.

What does Invoice Maker need to run?

Going by SKILL.md and its folder, Invoice Maker needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Node.js.

Does Invoice Maker access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Invoice Maker safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Invoice Maker use?

Invoice Maker is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Invoice Maker use?

About 612 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.1k tokens, read only when the agent opens those files.

What are the alternatives to Invoice Maker?

Skills that share tags, products or a category with Invoice Maker: Form Filling (platonai/Browser4, 1.2k stars), Token Receipt (Hchen1218/token-receipt, 126 stars), Invoice Generator (luzhenqian/ai-coding-lab, 152 stars) and Paginated Report (data-goblin/power-bi-agentic-development, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Invoice Maker?

tsingliuwin (a GitHub user) maintains it in tsingliuwin/autoclaw, which has 283 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on September 6, 2026.

Source: tsingliuwin/autoclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.