← 返回 Skills 市场
zacjiang

Invoice Gen

作者 Shihao Jiang (Zac) · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
296
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install invoice-gen
功能描述
Generate professional PDF invoices from simple text commands. Supports multiple currencies, tax calculation, CJK text, and customizable templates. No externa...
使用说明 (SKILL.md)

Invoice Generator

Generate professional PDF invoices from natural language or structured data. Works offline, no external service needed.

Quick Start

Tell your OpenClaw agent:

Generate an invoice for:
- Client: Acme Corp, 123 Main St, New York
- Items: Web Development 40 hours @ $150/hr, Server Setup 1x $500
- Tax: 10%
- Due: Net 30
- My company: Zac Tech LLC

The agent will use this skill to generate a professional PDF invoice.

Script Usage

python3 {baseDir}/scripts/gen_invoice.py \
  --from "Your Company, 123 Street, City" \
  --to "Client Name, 456 Ave, City" \
  --items "Web Development|40|150" "Server Setup|1|500" \
  --tax 10 \
  --currency USD \
  --due "Net 30" \
  --number "INV-2026-001" \
  --output invoice.pdf

Features

  • 📄 Clean, professional PDF layout
  • 💰 Multiple currencies (USD, EUR, GBP, CNY, JPY, AUD, etc.)
  • 📊 Automatic subtotal, tax, and total calculation
  • 🔢 Sequential invoice numbering
  • 🇨🇳 CJK text support (Chinese/Japanese/Korean company names and items)
  • 📝 Notes and payment terms field
  • 🖨️ Print-ready A4 format

Item Format

Each item is a pipe-separated string: description|quantity|unit_price

"Website Design|1|2000"
"Hosting (monthly)|12|50"
"Content Writing|20|75"

Dependencies

pip3 install reportlab

For CJK support, install CJK fonts:

sudo yum install -y google-noto-sans-cjk-ttc-fonts  # RHEL/CentOS
sudo apt install -y fonts-noto-cjk                    # Ubuntu/Debian
安全使用建议
This skill appears to be what it claims: an offline PDF invoice generator. Before installing/running: (1) ensure you install reportlab from PyPI (pip3 install reportlab) and any CJK fonts you actually need; the SKILL.md suggests using sudo apt/yum to install fonts — only do that on systems you control. (2) Review or run the included scripts/gen_invoice.py in an isolated environment if you have concerns about file writes; it only writes the specified output file but will search font directories. (3) Provide only expected invoice data as arguments and avoid running with elevated privileges unnecessarily. If you need network-isolated assurance, run it in a container/VM. Overall there are no credentials requested and no network calls or obfuscated code in the provided script.
功能分析
Type: OpenClaw Skill Name: invoice-gen Version: 1.0.0 The skill bundle is a legitimate utility for generating PDF invoices locally using the reportlab library. The Python script (scripts/gen_invoice.py) safely processes user-provided data to create formatted documents and includes logic to locate system fonts for CJK support without any evidence of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
Name/description promise (generate PDF invoices, CJK support, offline) aligns with included assets: SKILL.md describes usage and dependencies and scripts/gen_invoice.py implements PDF generation with CJK font discovery and invoice formatting. No unrelated credentials, binaries, or services are requested.
Instruction Scope
SKILL.md instructs the agent to run the included Python script and to install reportlab and optional CJK fonts. The runtime instructions and script operate on provided invoice fields and an output path only; they do not read arbitrary user files, environment secrets, or contact network endpoints.
Install Mechanism
No install spec is provided; the skill is instruction-only with a bundled script. Declared dependency is pip install reportlab and optional OS package manager font installs — both are expected for PDF/CJK rendering. There are no downloads from untrusted URLs or archive extraction instructions.
Credentials
The skill requires no environment variables, credentials, or config paths. The script searches common font paths on disk (expected for CJK support) but does not access other system secrets or configuration.
Persistence & Privilege
The skill is not marked always:true and does not modify other skills or agent configuration. It runs as a one-off script that writes a user-specified output PDF path only.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install invoice-gen
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /invoice-gen 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of invoice-gen. - Generate professional PDF invoices from simple text commands or structured data. - Supports multiple currencies, tax calculations, and customizable templates. - Handles CJK text (Chinese, Japanese, Korean) for company names and items. - Works offline with no external service required. - Includes a simple script for direct PDF invoice generation. - Print-ready, clean PDF output with configurable details and itemized billing.
元数据
Slug invoice-gen
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Invoice Gen 是什么?

Generate professional PDF invoices from simple text commands. Supports multiple currencies, tax calculation, CJK text, and customizable templates. No externa... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 296 次。

如何安装 Invoice Gen?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install invoice-gen」即可一键安装,无需额外配置。

Invoice Gen 是免费的吗?

是的,Invoice Gen 完全免费(开源免费),可自由下载、安装和使用。

Invoice Gen 支持哪些平台?

Invoice Gen 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Invoice Gen?

由 Shihao Jiang (Zac)(@zacjiang)开发并维护,当前版本 v1.0.0。

💬 留言讨论