printify

$npx mdskill add obra/muse-skills/printify

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

SKILL.md

.github/skills/printifyView on GitHub ↗
---
name: "printify"
description: "Use Printify to browse catalog data, manage shops and products, and review or create orders."
metadata: { "includeInPrompt": false }
---

# 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`:

```sh
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`.

More from obra/muse-skills

SkillDescription
apple_healthkitThe user's synced Apple Health (HealthKit) data: daily metrics (steps, distance, calories, heart rate, HRV, VO2max), sleep sessions (stages, quality, efficiency), and workouts.
artifact_documentCreate, read, edit, or manipulate Word documents (.docx) and Word templates (.dotx). Use whenever a build task's artifact kind is document with the default docx output, or the task mentions a Word doc, .docx, or .dotx, extracts or reorganizes content from one, inserts or replaces images, does find-and-replace in one, or works with tracked changes (redlines) or comments. Covers python-docx generation, raw OOXML editing of existing files, document structure and formatting, and render verification. Not for PDFs, spreadsheets, or Google Docs.
artifact_markdownBuild or revise a plain markdown file (md) deliverable such as notes, a README, meeting minutes, documentation, or text the user will edit or paste elsewhere. Use whenever a build task's artifact kind is markdown. Covers markdown formatting conventions and read-back verification.
artifact_pdfBuild, revise, or manipulate a fixed-layout PDF (report, guide, one-pager, printable document). Use whenever a build task's artifact kind is pdf, a document build's output format is pdf, or the task reads, merges, splits, crops, or fills an existing PDF, including fillable AcroForms. Covers authoring the print-CSS HTML source, rendering, the geometry and validation gates, existing-PDF manipulation and form filling, and delivery under workspace/your_files.
artifact_presentationBuild or revise a slide deck (pptx by default; pdf or html on request). Use whenever a build task's artifact kind is presentation, or the user asks for a deck, slides, or a presentation. Covers per-slide HTML authoring, the StylePlan theme system, font embedding, deck assembly, render gates, and the PPTX export.
artifact_spreadsheetCreate, read, edit, fix, or clean spreadsheet files (.xlsx, .xlsm, .csv, .tsv). Use whenever a build task's artifact kind is spreadsheet, or the task names a spreadsheet file and wants something done to it or produced from it, including restructuring messy tabular data into a proper workbook. Covers openpyxl generation, formulas and recalculation, editing existing workbooks, and the validation gates. Not for tasks whose deliverable is a document, report, or web page that merely contains a table.
artifact_testingVerify an artifact before delivering it - file deliverables (pdf, pptx, docx, xlsx, csv) and web artifacts alike. Use whenever a build is about to return a link, or a build task asks for validation, QA, or a visual check. Covers the per-kind gate scripts, render-and-look verification, and leftover-placeholder scanning.
asana>-
bookingPrimary entry point for direct flight, hotel, restaurant, or event-ticket transactions and for bounded live availability checks delegated by Travel Planning. Always use before provider-specific skills or browser work when the user asks to find live availability or prices, compare bookable options, book, or continue an active booking. Do not use for trip planning itself, broad inspiration, opening hours, schedules, flight status, or other factual questions without transaction intent.
boxSearch, read, upload, download, move, rename, delete, restore, and share Box content; manage comments and metadata.