SV

    包装 SVG 盘点

    1

    只读盘点 SVG 尺寸属性、图层、文字、图像引用与路径数量,输出 JSON;不认证刀模或自动修复。

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more
    SV

    包装 SVG 盘点

    Example session with this skill installed

    请以包内 demo.svg 说明只读盘点流程、预期报告及未核验项。没有本地执行环境时不要声称已经运行。

    • Read your context and instructions
    • Compiled the svg

    演示说明

    以下是根据随包 demo.svg 和脚本结构推导的完整预期示例,并非 Agensi 在线执行记录。实际 source 值取决于本地文件位置。

    本地操作

    先确认 Python 可以导入 inkex,确认输入是可信的 SVG,选择不存在的输出文件,再执行:

    python svg_audit.py --source demo.svg --out inventory.json
    

    预期 JSON

    {
      "source": "/example/demo.svg",
      "width": "80mm",
      "height": "120mm",
      "viewBox": "0 0 80 120",
      "layers": [],
      "text_count": 1,
      "image_count": 0,
      "external_images": [],
      "path_count": 1,
      "paths_with_no_close_command": ["crease"],
      "status": "INVENTORY_ONLY_NOT_DIELINE_OR_PREPRESS_CERTIFICATION"
    }
    

    解读与后续

    80mm × 120mm 是根节点声明属性,不是经过量测和工厂确认的成品尺寸。示例有一处活文字、没有图像、一条路径。crease 未包含 Z 闭合命令,可用于折线,不能直接判为错误或擅自闭合。layers 为空仅表示未找到 Inkscape 标记的图层,不表示文件没有普通分组。该报告未核验字体、出血、色彩、纸张、实际闭合拓扑或打印缩放。
    实际运行时保存原始 SVG 与 JSON,检查退出状态、报告内容与输入是否匹配。若 inkex 导入失败,应配置正确的 Inkscape Python 环境,而不是编造成功报告。若输出已存在,换一个新的报告名,不覆盖先前证据。提交生产前仍需设计师与工厂独立核对刀模、尺寸及印刷规范。

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

    About this skill

    用途

    使用本地 Python 与 Inkscape inkex 读取 SVG,记录 width、height、viewBox、图层 ID/标签/样式、文字及图像数量、外链图像 ID、路径数量,以及未包含 Z 闭合命令的路径 ID。

    使用

    python svg_audit.py --source demo.svg --out inventory.json 源文件不会改写;报告路径已存在时停止,避免覆盖。

    边界

    尺寸属性不是实际几何测量;开放路径可能有意用于折线。含 Z 的复合路径仍可能含开放子路径。本工具不检查字体授权、图像 DPI、印刷颜色、刀模几何、生产合规,也不提供自动修复。需要本地可执行环境;仅聊天的代理可解释步骤,不能声称运行成功。不要上传客户机密。

    来源与许可

    免费开源,MIT,Copyright (c) 2026 Marlonson Samulesson。发布包保留原源码并补入源仓库 LICENSE。 https://github.com/marlonsonsamulesson888/packaging-design-workflow/tree/main/skills/packaging-svg-inventory

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    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 buying a skill.

    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 to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 3 days ago

    • Free with an Agensi account

    Software
    Python

    需 Python 与可导入的 Inkscape inkex。仅解释流程时无需执行,但不能生成真实盘点结果。

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed3 days ago

    What's inside

    Frequently Asked Questions

    只读盘点 SVG 尺寸属性、图层、文字、图像引用与路径数量,输出 JSON;不认证刀模或自动修复。

    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 包装 SVG 盘点 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.

    Free