printify

GitHub

通过 CLI 管理 Printify 代印服务,涵盖店铺、商品上下架、订单处理及目录查询。包含认证配置与操作规范,用于自动化电商履约流程。

opt/hatch/skills/printify/SKILL.md win4r/MuseAI-Skills

触发场景

需要创建或管理 Printify 店铺和商品 查询产品目录或变体信息 创建、查看或取消订单 检查 Printify API 连接状态

安装

npx skills add win4r/MuseAI-Skills --skill printify -g -y
更多选项

非标准路径

npx skills add https://github.com/win4r/MuseAI-Skills/tree/main/opt/hatch/skills/printify -g -y

不安装直接使用

npx skills use win4r/MuseAI-Skills@printify

指定 Agent (Claude Code)

npx skills add win4r/MuseAI-Skills --skill printify -a claude-code -g -y

安装 repo 全部 skill

npx skills add win4r/MuseAI-Skills --all -g -y

预览 repo 内 skill

npx skills add win4r/MuseAI-Skills --list

SKILL.md

Frontmatter
{
    "icon": "printify",
    "name": "printify",
    "metadata": {
        "includeInPrompt": false
    },
    "description": "Use Printify to browse catalog data, manage shops and products, and review or create orders."
}

Printify (Print on Demand)

Purpose

Use the printify CLI to manage shops, products, uploads, orders, and catalog lookups.

Tooling

Use the installed CLI directly from PATH:

printify <subcommand> [options]

Global flags:

  • --timeout-secs <seconds> (optional, default 30): HTTP timeout.

Core commands:

  • status
  • authorize-url
  • verify
  • set-token (reads token from stdin)
  • disconnect
  • shops
  • products --shop-id <id> [--product-id <id>]
  • create-product --shop-id <id> --json '<json>'
  • update-product --shop-id <id> --product-id <id> --json '<json>'
  • delete-product --shop-id <id> --product-id <id>
  • publish-product --shop-id <id> --product-id <id>
  • orders --shop-id <id> [--order-id <id>]
  • create-order --shop-id <id> --json '<json>'
  • upload --file <path>
  • blueprints [--blueprint-id <id>]
  • print-providers --blueprint-id <id>
  • variants --blueprint-id <id> --provider-id <id>
  • shipping --blueprint-id <id> --provider-id <id>

JSON output contract:

  • status: parse ok, status, connect_url, disconnect_url, and reason
  • authorize-url: parse ok, authorize_url, and connect_url
  • verify: parse ok, action, and error
  • set-token: parse ok, status, and reason
  • disconnect: parse ok, action, config_path, removed
  • parse ok, status, body, and error
  • Read results retain Printify's raw timestamps and add semantic UTC and user-local forms for record creation/update and order production, fulfillment, delivery, or cancellation times.

Auth

First-use setup:

  1. Run printify status to check connection state.
  2. If not connected and connect_url is present, replace <connect_url> with the returned URL and share exactly this Markdown link: [Connect Printify](<connect_url>); do not paste the raw URL separately.
  3. If connect_url is missing, run printify authorize-url and share the returned connect_url the same way.
  4. The user can generate a token at https://printify.com/app/account/api.
  5. If the user provides a token through the CLI flow, store it only through printify set-token; do not write auth files directly.
  6. Run printify verify after setup when you need to confirm the token works.
  7. Never print the access token in chat output.

Operating Rules

  1. Always check printify status before API calls. If not connected, guide the user through the auth setup above.
  2. List shops before performing shop-specific operations to get the correct shop_id.
  3. Confirm with the user before creating, updating, or publishing products. Product deletion may proceed from a clear, unambiguous request without an additional confirmation.
  4. Confirm with the user before creating orders (orders may trigger charges).
  5. When browsing the catalog, start with blueprints then drill into print-providers and variants.
  6. On HTTP 401, tell the user their token may be expired and to generate a new one at https://printify.com/app/account/api.

版本历史

  • 38bbb45 当前 2026-10-18 15:48

同 Skill 集合

opt/hatch/skills/apple-healthkit/SKILL.md
opt/hatch/skills/artifacts/markdown/SKILL.md
opt/hatch/skills/artifacts/pdf/SKILL.md
opt/hatch/skills/artifacts/presentation/SKILL.md
opt/hatch/skills/artifacts/spreadsheet/SKILL.md
opt/hatch/skills/artifacts/testing/SKILL.md
opt/hatch/skills/booking/SKILL.md
opt/hatch/skills/calendly/SKILL.md
opt/hatch/skills/device-data/SKILL.md
opt/hatch/skills/duffel/SKILL.md
opt/hatch/skills/facebook-cli/SKILL.md
opt/hatch/skills/facebook/SKILL.md
opt/hatch/skills/flightaware/SKILL.md
opt/hatch/skills/forget/SKILL.md
opt/hatch/skills/function-health/SKILL.md
opt/hatch/skills/generate_podcast/SKILL.md
opt/hatch/skills/gmail/SKILL.md
opt/hatch/skills/goals/SKILL.md
opt/hatch/skills/google-calendar/SKILL.md
opt/hatch/skills/google-contacts/SKILL.md
opt/hatch/skills/google-drive/SKILL.md
opt/hatch/skills/google-forms/SKILL.md
opt/hatch/skills/google-health-connect/SKILL.md
opt/hatch/skills/google-slides/SKILL.md
opt/hatch/skills/google-tasks/SKILL.md
opt/hatch/skills/granola/SKILL.md
opt/hatch/skills/healthex/SKILL.md
opt/hatch/skills/image-search/SKILL.md
opt/hatch/skills/instagram-messages/SKILL.md
opt/hatch/skills/instagram/SKILL.md
opt/hatch/skills/media-library/SKILL.md
opt/hatch/skills/messenger/SKILL.md
opt/hatch/skills/meta-threads/SKILL.md
opt/hatch/skills/muse_db/SKILL.md
opt/hatch/skills/muse-early-access/SKILL.md
opt/hatch/skills/muse-feedback/SKILL.md
opt/hatch/skills/muse-mail/SKILL.md
opt/hatch/skills/notion/SKILL.md
opt/hatch/skills/opentable/SKILL.md
opt/hatch/skills/outlook-calendar/SKILL.md
opt/hatch/skills/outlook-contacts/SKILL.md
opt/hatch/skills/outlook-mail/SKILL.md
opt/hatch/skills/peloton/SKILL.md
opt/hatch/skills/philips-hue/SKILL.md
opt/hatch/skills/places-search/SKILL.md
opt/hatch/skills/plaid/SKILL.md
opt/hatch/skills/podcast/SKILL.md
opt/hatch/skills/self-awareness/SKILL.md
opt/hatch/skills/share-ideas/SKILL.md

元信息

文件数
0
版本
38bbb45
Hash
d195ebc8
收录时间
2026-10-18 15:48

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-03 07:22
浙ICP备14020137号-1