← 返回 Skills 市场
Invoice Generator
作者
Tomás Migone
· GitHub ↗
· v1.0.0
5137
总下载
2
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install invoice-generator
功能描述
Generate professional PDF invoices from JSON data. Use when the user needs to create an invoice, billing document, or payment request with company/client details and line items.
安全使用建议
Install only if you are comfortable running a local script that processes invoice data and writes PDFs to disk. Set INVOICE_DIR to a private folder, use deterministic installs, review or supply the missing assets/invoice.hbs template before relying on the skill, and keep Handlebars updated if security advisories apply.
功能分析
Type: OpenClaw Skill
Name: invoice-generator
Version: 1.0.0
The OpenClaw skill 'invoice-generator' is classified as benign. The skill's purpose is to generate PDF invoices from JSON data, which it achieves by using `node` with `handlebars` for HTML templating, `jq` for JSON parsing and validation, and `weasyprint` for HTML-to-PDF conversion. All operations are local, involving reading JSON from stdin or local files and writing PDF output to a user-defined local directory (`INVOICE_DIR`). There is no evidence of data exfiltration, malicious execution (e.g., remote payload fetching, arbitrary code execution from untrusted input), persistence mechanisms, obfuscation, or prompt injection attempts in `SKILL.md` that would manipulate the agent into unintended actions. The dependencies listed in `package.json` and `package-lock.json` are standard for the stated functionality.
能力评估
Purpose & Capability
The stated purpose matches the script: it reads invoice JSON, validates required fields, renders HTML with Handlebars, and converts it to a PDF with weasyprint. One coherence issue is that scripts/generate.sh references assets/invoice.hbs, but that template file is not present in the reviewed artifact, so the package may not run as-is or the missing template would need separate review.
Instruction Scope
Usage is user-directed through stdin, a local file path, or a named config under INVOICE_DIR; there are no instructions for automatic execution, background agents, account mutation, external posting, or prompt override behavior.
Install Mechanism
Setup uses npm install plus local binaries node, jq, and weasyprint. package.json uses a caret range for Handlebars while package-lock.json pins the resolved version and integrity, so the supply-chain concern is worth monitoring but not evidence of malicious behavior by itself.
Credentials
The INVOICE_DIR environment variable is proportionate for storing invoice configs and generated PDFs, but invoice data can include client addresses, tax IDs, and payment amounts, so users should choose a private dedicated directory.
Persistence & Privilege
Persistence is limited to creating configs and invoices directories and writing generated PDFs under the user-configured INVOICE_DIR; no elevated privileges, startup hooks, credential stores, or long-running workers are evidenced.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install invoice-generator - 安装完成后,直接呼叫该 Skill 的名称或使用
/invoice-generator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Generate PDF invoices from structured JSON.
- Converts invoice data in JSON format to professional PDF files.
- Supports multiple input methods: stdin, file path, or saved config.
- Stores generated invoices in a user-specified directory.
- Handles auto-versioning for duplicate filenames.
- Provides clear error handling for invalid input or PDF generation issues.
元数据
常见问题
Invoice Generator 是什么?
Generate professional PDF invoices from JSON data. Use when the user needs to create an invoice, billing document, or payment request with company/client details and line items. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 5137 次。
如何安装 Invoice Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install invoice-generator」即可一键安装,无需额外配置。
Invoice Generator 是免费的吗?
是的,Invoice Generator 完全免费(开源免费),可自由下载、安装和使用。
Invoice Generator 支持哪些平台?
Invoice Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Invoice Generator?
由 Tomás Migone(@tmigone)开发并维护,当前版本 v1.0.0。
推荐 Skills