?

    批量条码生成

    1

    用本地 Python 与 Zint 按 CSV 批量生成 SVG、PNG 和清单;不分配 GTIN,也不替代印刷条码检验。

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more
    ?

    批量条码生成

    Example session with this skill installed

    以随包 demo.csv 演示批量条码生成步骤和预期清单,不使用真实商品号码;未实际执行时请明确说明。

    • Read your context and instructions
    • Compiled the output
    • Generated the data export

    演示性质

    这是根据随包 demo.csv 与脚本推导的预期输出说明,并不是 Agensi 执行记录,也不是印刷或扫码合格证明。

    输入

    name,type,data
    carton-demo,CODE128,DEMO-CARTON-001
    qr-demo,QR,DEMO-ONLY
    

    两条均是虚构演示内容,不能作为商品 GTIN。

    本地命令

    确认 Python 与 Zint 2.16.0 可用,输出目录不存在后执行:

    python zint_batch.py --csv demo.csv --module-mm 0.33 --out demo-output
    

    这里的模块宽度仅用于演示。生产任务应先确认码制、应用规范、扫描距离、印刷条件与客户批准的数据,不能照抄该数值。

    预期文件

    成功执行全部步骤后应得到 carton-demo.svg、carton-demo.png、qr-demo.svg、qr-demo.png 与 manifest.json。SVG 是矢量文件,PNG 用于查看;两者都需要进一步验证。

    预期 manifest.json

    [
      {"name":"carton-demo","type":"CODE128","data":"DEMO-CARTON-001","module_mm":0.33,"status":"GENERATED_NOT_PHYSICALLY_GRADED"},
      {"name":"qr-demo","type":"QR","data":"DEMO-ONLY","module_mm":0.33,"status":"GENERATED_NOT_PHYSICALLY_GRADED"}
    ]
    

    验收与失败处理

    检查进程是否成功、5 个预期文件是否齐全、内容与 CSV 是否对应。在设计软件中核对 SVG 毫米尺寸、静区、缩放及人工可读信息;做数字解码验证,并使用实际纸张、油墨和工艺打样后做独立印刷条码验证。不要把“生成成功”写成“扫码认证通过”。如果 Zint 返回错误,可能已有部分文件,应保留错误证据,用新的输出目录修正后重试;不要交付不完整批次。没有运行环境时,本次只提供上述方法,不声称产物已经生成。

    demo.csv

    CSV · data export

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    用途

    读取 UTF-8 CSV 的 name,type,data 列,为 EAN13、CODE128、QR、DATAMATRIX、GS1-128 生成 SVG 和 PNG,并记录 manifest.json。需要本地 Python 与 PATH 中的 Zint 2.16.0;包不含 Zint 二进制。

    使用

    python zint_batch.py --csv demo.csv --module-mm 0.33 --out demo-output 要求新的输出目录、安全且不重复的文件名;EAN13 要提供包含正确校验位的完整 13 位号码。

    限制

    模块宽度应按实际订单规范选择,0.33mm 只是演示值,不通用于所有码制。脚本按 Zint 输出假设为 SVG 加入毫米尺寸和 viewBox,仍需在设计软件中测量验证。脚本没有自动检查 Zint 版本,不保证其他版本行为一致。发生失败可能保留部分输出,必须核对清单与文件后重试。 不能分配商品号码、证明号码归属、保证 ISO 合规、保证扫码或印刷质量,不自动执行物理条码评级。请用合法且核实过的数据。仅聊天代理不能声称已运行脚本。

    许可与来源

    免费,MIT,Copyright (c) 2026 Marlonson Samulesson,包内保留上游 LICENSE。Zint 与 Python 是独立依赖,遵守其自身许可。 https://github.com/marlonsonsamulesson888/packaging-design-workflow/tree/main/skills/packaging-zint-barcodes

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 3 days ago

    • Free with an Agensi account

    Requires

    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    用本地 Python 与 Zint 按 CSV 批量生成 SVG、PNG 和清单;不分配 GTIN,也不替代印刷条码检验。

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use 批量条码生成 on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.