inventory-clearance-card

Inventory clearance card: generate one clearance image per SKU based on established clearance rules. Clearance posters, inventory cards, promotional cards and price tags are all produced for the same SKUs following the same rules.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "inventory-clearance-card" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4ec93231bc2845c053c1fc48def85629547227ae3dbf504b5d111ed491360071. Verify the upstream source and version against https://skillhub.cn/skills/beatra-ai/inventory-clearance-card before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Inventory clearance card: generate one clearance image per SKU based on established clearance rules. Clearance posters, inventory cards, promotional cards and price tags are all produced for the same SKUs following the same rules.

0 Downloads

Introduction source: third_party · beatra-ai · 0.1.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "inventory-clearance-card"
description: "清仓说明卡是按已经写好的清仓规则,给每个SKU做成一张清仓图。清仓海报、清仓库存卡、清仓促销卡和清仓价签都按同一套规则和SKU出。"

清仓说明卡·清仓说明卡

按卖家已经写好的清仓规则,为每个 SKU 做成一张清仓说明静帧。交付 4 到 8 张。每张各自成文件。

适用范围与相邻路线

卖家要用已写清仓规则和点名的 SKU 做短清仓上架静帧时,使用本 Skill。

过敏原公示转到 allergen-label-card。社评置顶静帧转到 comment-pin-card。完整上架套图转到 ecommerce-listing-image-set。不要到公开帖子里补缺失折扣。

收集已确认事实

硬输入是:

  • 至少一个点名的 SKU;
  • 卖家已经写好的清仓事实(折扣或价格、若已写则含起止、清的是什么);
  • 这包要几张,或允许使用默认 4 张。

复用对话里已有的品牌配色、投放位置、语言和必须保留项。只补问缺失的硬输入。4 到 8 以外的数量也能做:确认该规模和实时费用。

不要编造折扣、结束日、库存数或人脸。商品照片是视觉参考,不是缺失促销事实的来源。拿到文件不等于同意。

查看每张可选静帧。记录 MIME 类型、宽、高、画幅、字节大小和是否有 alpha 通道。本地文件检查后,只通过随包客户端上传 (scripts/mcp_client.py / beatra.assets.upload)。保留返回的产物编号。绝不要把本地路径传给 beatra.images.generate 或 beatra.images.edit。

先做免费套图清单

任何付费出图前,先写带标签的清仓卡清单。卖家没有另报 4 到 8 之间的数量时,默认四个 SKU。每条记下 SKU、由已写规则写出的印刷行、语言、版式、画幅,以及可选参考图的角色。

这份清单就是免费可见结果。规划不是批准。

安全默认:

  • 每个 SKU 一次 beatra.images.generate;
  • model: "auto",count: 1;
  • 画幅 {"type":"preset","tier":"2K","aspect":"1:1"},除非卖家点名了别的投放面;
  • 仅在卖家接受某张卡并要求局部修正时使用 beatra.images.edit,把已接受的图放在 images[0]。

确认一次,按 SKU 出图

规划不收费。第一笔计费调用前,读取 beatra.models.list,能力为 text_to_image:

{"capability": "text_to_image"}

出示一张当前生产卡并等待:

  1. 做什么 — 每个点名的 SKU 一张清仓说明静帧 (beatra.images.generate)。
  2. 积分 — 刚读到的 text_to_image 价格乘以 SKU 数。不要复用记忆中的数字。
  3. 几笔 — 每个 SKU 卡片一次付费调用。不要把多个 SKU 塞进同一个 count。
  4. 身份 — 每张卡一个新的不透明 client_request_id。
  5. 若停在这里 — 带标签的套图清单仍然可用。
  6. 若余额不足 — 原样转达官方说明和充值链接 (https://console.beatra.ai/wallet?intent=buy)。翻译正文,保留链接。卖家说已充值之前不要重试。不要推荐 ¥198。

只通过随包 scripts/mcp_client.py 提交一次。用 beatra.tasks.get 轮询。交付实际字节和 billing.net_charged_credits。不要承诺预估就是最终扣费。

批准后每个 SKU 只提交一次。同一连接上同时进行的生成任务不超过两个。

之后的局部修正是新的付费工作。先读当前的 image_edit 卡片。另出示一张六字段修正卡。使用新的 client_request_id。

审图、交付与恢复

对照已确认规则表核对印刷行。只报告宿主实际看得见的文字。把生成的小字当作审阅项,不当作认证促销告示。

按 SKU 顺序交付静帧、套图清单、观察到的尺寸和格式、任务标识、解析后的模型,以及返回的 billing.net_charged_credits。

拿到 task_id 后轮询该任务。创建响应丢失时,先用 beatra.tasks.list 搜索,再用 beatra.tasks.get 核对,然后再重放。只有参数逐字节相同才能复用原标识。SKU、规则行、画幅、模型或提示词变了就是新卡和新标识。只有卖家要求时才取消。

执行

每个远程 Beatra 操作都只通过本包随附的 scripts/mcp_client.py 调用。把 MCP 工具名放在 call 后面,并向标准输入发送一个 JSON 对象。

python3 scripts/mcp_client.py call beatra.models.list
{"capability": "text_to_image"}
printf '%s' '{"prompt":"Create the approved clearance explanation card for the named SKU. Print only the confirmed clearance lines.","model":"auto","count":1,"canvas":{"type":"preset","tier":"2K","aspect":"1:1"},"client_request_id":"opaque-clearance-sku-01"}' | python3 scripts/mcp_client.py call beatra.images.generate

不要配置或调用宿主 Beatra Connector,也不要使用 REST/OpenAPI 作为降级。

按任务查阅的参考

运行时与安全的自动更新

随包客户端会在每个安装中静默检查更新,最多每 24 小时一次。发现更高版本时,不另行确认地自动安装。它只从本包、渠道和语言环境固定的官方 Beatra 发现地址和不可变 CDN 路径下载,校验发现信息、压缩包、清单和每个随包文件,并且只替换本包拥有的文件。

更新检查、下载、校验、替换、回滚和恢复失败时会 fail open:当前安装仍可使用,原本请求的命令会继续执行。更新失败绝不构成重试付费出图的理由。这个设置会在本安装中持续生效。见 自动更新与安全。

python3 scripts/mcp_client.py update --auto off
python3 scripts/mcp_client.py update --auto on
python3 scripts/mcp_client.py update --check

Current listing version

0.1.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 针对电商清仓场景的实用工具
  • 解决卖家制作清仓说明卡的具体需求
  • 功能定位明确,具有实际应用价值
Trigger Precision85/100

Highlights

  • 触发词清晰明确:清仓说明卡、SKU、清仓规则
  • 适用范围描述清楚,与其他技能边界分明
  • description内容完整,无截断或错位
Structure and Standards90/100

Highlights

  • 结构完整,包含完整的执行流程
  • 有明确的步骤划分和出口条件
  • 包含具体的命令示例和参数说明
  • frontmatter完整规范
Execution Reliability88/100

Areas to improve

  • 引用文件缺失 Reported severity: Minor

    文档中引用了多个reference文件(如workflow.md、installation-and-auth.md等),但未在传入内容中提供这些文件

    Recommendation: 建议提供所有被引用的reference文件,或明确说明这些文件的位置和获取方式

Highlights

  • 工具来源明确,参数使用正确
  • 覆盖了余额不足、任务轮询等主要异常情况
  • 有完善的确认机制和错误恢复流程
  • 提供了具体的MCP客户端调用示例
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • console.beatra.ai

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.