/store-studio:create-printify-productfrom store-studio
Build Printify-compatible product assets, validation reports, upload steps, product creation payloads, Etsy-aware pricing checks, and real API-generated mockup downloads for tops, mugs, and future product families. Use when Codex needs to create programmatic Printify products, prepare PNGs for known print areas, fetch catalog IDs, upload art, price products with marketplace fees, create draft products, or turn a store spike into Printify API-ready files.
Ships in store-studio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Run bundled helpers by their absolute paths from the root of the store workspace. Resolve scripts/ and references/ next to this SKILL.md. Set SKILL_DIR to that skill directory in the shell examples below. Resolve shared/ paths from the store workspace. For other stores, supply their own reference image or retrieve current catalog specifications with the documented Printify workflow.
Use this skill to move from a store spike or product idea to Printify-ready assets and API payloads. It covers print-area specs, PNG generation, image validation, Media Library upload helpers, catalog lookup, and product payload creation.
references/product-specs.json.references/printify-compatible-products.md and references/product-family-best-practices.md to choose the correct product family, art contract, and composition rules before generating assets.shared/references/printify-composition-reference-2026-06-06/README.md and shared/references/printify-composition-reference-2026-06-06/index.json.shared/references/printify-catalog-2026-05-31/README.md and shared/references/printify-catalog-2026-05-31/catalog-summary.json.references/preview-templates.json.scripts/fetch_printify_catalog.py with PRINTIFY_API_TOKEN and save useful output in the spike RESOURCES.md. If Python receives Cloudflare 1010, retry the same lookup with scripts/fetch_printify_catalog_node.js; if API access is still blocked, use the Printify editor/browser route and record the fallback.scripts/render_printify_asset.py or a product-specific renderer such as scripts/render_terminal_radial_shirt.py from the sibling create-shirt-product skill.scripts/validate_printify_asset.py before upload.scripts/build_reference_preview.py when a saved reference image exists.scripts/upload_printify_image.py, using PRINTIFY_API_TOKEN; keep returned image_id.scripts/build_printify_payload.py.references/etsy-pod-pricing.md and run scripts/calculate_etsy_pod_margin.py when the product may sell through Etsy or another fee-taking marketplace. Do not approve price from Printify gross margin alone.scripts/create_printify_product.py, using PRINTIFY_API_TOKEN and PRINTIFY_SHOP_ID.GET /v1/shops/{shop_id}/products/{product_id}.json until images[] is populated, then download images[].src outputs. For already-existing shop products, use scripts/download_printify_mockups.js to list shop products and download product.images[]. Do not confuse print_areas[].placeholders[].images[].src SVG placement assets with final mockups.RESOURCES.md.Use Playwright by default for Printify web-editor interaction: opening product editors, uploading local print PNGs, selecting variants/colors, adjusting placement, capturing screenshots, and downloading mockups. Use a named Playwright session so authenticated state, element snapshots, and screenshots are isolated for the spike.
Chrome plugin automation is a fallback, not the default, for Printify. Use it only when the user explicitly asks for Chrome or when Playwright cannot access the authenticated page. If falling back to Chrome, record the reason in RESOURCES.md; file upload may require enabling local-file access for the Codex Chrome Extension.
When Playwright cannot upload because authentication state is missing, prefer either:
PRINTIFY_API_TOKEN and then selecting the image from My library.Do not treat local reference previews as completed Printify proof. They are useful fallbacks, but real Printify proof needs a page screenshot or downloaded mockup from the editor/preview flow.
Verified session note from 2026-06-02: Playwright could open Printify, but Chrome blocked attaching to the live default profile and copied Chrome profiles did not retain an authenticated Printify session. The successful fallback was live Chrome automation through Google SSO, then creating a scoped API token at https://printify.com/app/account/api. Record this fallback when used.
Primary reference:
references/product-specs.jsonFor stores/ia-referencias/ tee products, prefer the premium Bella+Canvas 3001 / Printify Choice route unless the spike documents a quality, cost, or availability reason to use another garment:
tops.bella_canvas_3001.blueprint_id 12, print_provider_id 99, DTG.4500x5400 front PNG.$32.99, subject to Etsy fee and Offsite Ads stress checks before approval.Use Gildan 5000 as a lower-cost/test route, not the default ia-referencias premium tee. When moving a phrase-led AI/dev shirt to Printify, read stores/ia-referencias/products/index.md and recent accepted product notes to compare selected scale, placement, colors, and price. Recent compact/direct typography references cluster around placement scale 1.18-1.35; validate against real product.images[] mockups rather than local previews or print-area SVGs.
For accepted ia-referencias products, preserve sanitized pricing notes, selected variant strategy, mockup evidence, and placement decisions in the spike RESOURCES.md. Promote final reviewable assets to the product folder and approved assets folder; keep rejected API/mockup iterations out of final preview folders unless they are explicitly documented as final comparison evidence.
Current product families:
tops.bella_canvas_3001: default premium ia-referencias tee route, verified from current Printify composition references and recent store drafts. Front art uses a 4500x5400 working canvas; selected provider/variant dimensions still need catalog lookup before publishing.tops.gildan_5000: verified from the authenticated Printify editor. Front/back are 3951x4919; the preferred working canvas is 4500x5400.tops.generic_hoodie: template spec for polerones/hoodies until a specific Printify blueprint and provider are selected.mugs.mug_11oz: official Printify API example for an 11 oz mug, using a 4350x5850 print image.mugs.generic_wrap: reusable mug wrap template when the exact blueprint is still undecided.Catalog families observed in Printify:
For full-family preparation rules across apparel, AOP, drinkware, wall art, stickers, accessories, bags, hats, textiles, home decor, pets, baby accessories, engraving, and seasonal products, read:
references/printify-compatible-products.mdreferences/product-family-best-practices.mdFor product-level composition sizes, options, providers, placements, and art-contract routes across the current API blueprint snapshot, read:
shared/references/printify-composition-reference-2026-06-06/README.mdshared/references/printify-composition-reference-2026-06-06/index.jsonFor Gildan 5000 details, also read:
shared/references/printify-unisex-heavy-cotton-tee-gildan-5000.mdFor the 2026-05-31 catalog crawl, read:
shared/references/printify-catalog-2026-05-31/README.mdshared/references/printify-catalog-2026-05-31/catalog-summary.jsonshared/assets/references/printify-products/manifest.jsonRead references/printify-api.md before creating payloads. Store credentials only in environment variables:
PRINTIFY_API_TOKENPRINTIFY_SHOP_IDKnown-good scoped token permissions for mockup generation: shops.read, catalog.read, products.read, products.write, uploads.read, uploads.write, and print_providers.read.
Never commit API tokens, shop-specific private responses, product IDs for private drafts, upload image IDs, customer data, or OAuth URLs. It is fine to commit sanitized payload templates, generated assets, downloaded mockups, and catalog notes.
Generate a print PNG and preview:
python "$SKILL_DIR/scripts/render_printify_asset.py" \
--product-key tops.bella_canvas_3001 \
--placement front \
--text "I don't need AI creating Slop Code" \
--subtitle "I can do it by myself" \
--style vector-icon-text \
--output shared/assets/examples/printify/bella-3001-front-example.png \
--preview shared/assets/examples/printify/bella-3001-front-preview.png
Validate a PNG against a spec:
python "$SKILL_DIR/scripts/validate_printify_asset.py" \
--product-key tops.bella_canvas_3001 \
--placement front \
--image shared/assets/examples/printify/bella-3001-front-example.png
Build a quick local reference preview:
python "$SKILL_DIR/scripts/build_reference_preview.py" \
--template-key mugs.front \
--art shared/assets/examples/printify/mug-11oz-wrap-example.png \
--fit cover \
--output shared/assets/examples/printify/mug-11oz-reference-preview.png
Fetch catalog variants when authenticated:
python "$SKILL_DIR/scripts/fetch_printify_catalog.py" variants \
--blueprint-id 12 \
--print-provider-id 99 \
--show-out-of-stock \
--output shared/references/printify-bella-3001-provider-99-variants.json
Node fallback for catalog lookup when Python urllib hits Cloudflare 1010:
node "$SKILL_DIR/scripts/fetch_printify_catalog_node.js" blueprints \
--output shared/references/printify-catalog-YYYY-MM-DD/blueprints.json
Build or resume the product-level composition reference:
node "$SKILL_DIR/scripts/build_printify_composition_reference.js" \
--output-dir shared/references/printify-composition-reference-YYYY-MM-DD \
--concurrency 1 \
--delay-ms 1000 \
--retries 10 \
--retry-base-ms 10000
Upload an image to Printify:
python "$SKILL_DIR/scripts/upload_printify_image.py" \
--file shared/assets/examples/printify/mug-11oz-wrap-example.png \
--output shared/assets/examples/printify/mug-11oz-upload-response.json
Build a create-product payload:
python "$SKILL_DIR/scripts/build_printify_payload.py" \
--product-key mugs.mug_11oz \
--placement front \
--title "Example Mug" \
--description "Replace this copy before publishing." \
--image-id REPLACE_WITH_UPLOAD_ID \
--price 1999 \
--output shared/assets/examples/printify/mug-11oz-payload-template.json
Create the product after manual review:
python "$SKILL_DIR/scripts/create_printify_product.py" \
--payload shared/assets/examples/printify/mug-11oz-payload-template.json \
--output shared/assets/examples/printify/mug-11oz-create-response.json
After POSTing a product, wait for product.images before downloading real mockups. In the verified Gildan 5000 API test, images was initially empty and later contained front/back/other mockups; front images were 1200x1200 JPEGs from images-api.printify.com.
Download real mockups for existing shop shirt products:
node "$SKILL_DIR/scripts/download_printify_mockups.js" \
--output-dir stores/ia-referencias/spikes/YYYY-MM-DD-slug/assets/previews/printify-real \
--manifest stores/ia-referencias/spikes/YYYY-MM-DD-slug/references/printify-mockups-manifest.json \
--product-filter shirts
Build a contact sheet from the sanitized mockup manifest:
python "$SKILL_DIR/scripts/build_mockup_contact_sheet.py" \
--manifest stores/ia-referencias/spikes/YYYY-MM-DD-slug/references/printify-mockups-manifest.json \
--output stores/ia-referencias/spikes/YYYY-MM-DD-slug/assets/previews/printify-real/printify-mockups-contact-sheet.jpg
Useful filters for the downloader:
--positions front,back,other: restrict downloaded mockup positions.--selected-only: download only mockups selected for publishing.--visible-only: skip hidden products.--title-match "Heavy Cotton" or --blueprint-id 6: target specific products.--product-filter all: download from every product type, not just shirts.The downloader intentionally omits API tokens, shop IDs, product IDs, mockup IDs, upload image IDs, variant IDs, and source URLs from the manifest. It stores product title, blueprint/provider IDs, colors, sizes, positions, file paths, bytes, and image dimensions after contact-sheet generation.
Calculate Etsy-aware POD margins before final pricing:
python "$SKILL_DIR/scripts/calculate_etsy_pod_margin.py" \
--price-cents 2999 \
--cost-cents 1129,1382,1612 \
--target-net-margin-pct 35
Stress an Offsite Ads sale:
python "$SKILL_DIR/scripts/calculate_etsy_pod_margin.py" \
--price-cents 3299 \
--cost-cents 1129,1382,1612 \
--offsite-ads-pct 15 \
--target-net-margin-pct 20
shared/references/printify-composition-reference-2026-06-06/products/.image_id values returned by Printify uploads before POSTing.product.images[].src; placeholder SVGs under print areas are not accepted as final mockups.RESOURCES.md or a sanitized summary.RESOURCES.md lists source links, local references, generated files, API/catalog outputs, and commands.agents/openai.yaml (opens in a new tab)references/etsy-pod-pricing.md (opens in a new tab)references/preview-templates.json (opens in a new tab)references/printify-api.md (opens in a new tab)references/printify-compatible-products.md (opens in a new tab)references/product-family-best-practices.md (opens in a new tab)references/product-specs.json (opens in a new tab)scripts/build_mockup_contact_sheet.py (opens in a new tab)scripts/build_printify_composition_reference.js (opens in a new tab)scripts/build_printify_payload.py (opens in a new tab)scripts/build_reference_preview.py (opens in a new tab)scripts/calculate_etsy_pod_margin.py (opens in a new tab)scripts/create_printify_product.py (opens in a new tab)scripts/download_printify_mockups.js (opens in a new tab)scripts/fetch_printify_catalog.py (opens in a new tab)scripts/fetch_printify_catalog_node.js (opens in a new tab)scripts/render_printify_asset.py (opens in a new tab)scripts/upload_printify_image.py (opens in a new tab)scripts/validate_printify_asset.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gvillarroel/plugins --plugin store-studio9 skills in this plugin
/create-shirt-productCreate, iterate, validate, and package print-ready shirt product prototypes for store spikes, including IA-Referencias learned graphic defaults. Use when Codex needs to generate transparent PNG assets, previews on garment colors, product spike folders, Printify-sized shirt art, historical or iconic character quote layouts, terminal/pixel/radial graphics, phrase-led vector typography, or quality decisions for shirt designs./design-store-graphicsCreate or improve product artwork for IA Referencias using reference-led composition, typography, image integration, and restrained texture. Use for new graphic concepts, editorial merch, posters, collage, or revisions with weak hierarchy or visual coherence. Applies practical lessons from Dan George Hill while preserving the store's style and product requirements. Pair with the product-family skill for production./higgsfield-generateGenerate images/videos/3D assets/audio via Higgsfield AI. Defaults:
GPT Image 2 for image/design/text, Seedance 2.0 for
video, Nano Banana 2/Lite/Pro for character/reference
images, Marketing Studio for ads, Seed Audio 1.0 for audio.
Use when: "generate an image", "make a video", "animate
this photo", "image-to-video", "edit/stylize/remix this
image", "reframe this video", "edit this video from a
sketch", "create a 3D model/GLB", "create a sound effect",
"make music", "text-to-audio", "create an ad", "make a UGC
video", "unboxing", "presenter video", "import product from
URL", or "analyze video virality". Supports image-to-3D
(`multi_image_to_3d`),
text-to-audio/music (`seed_audio`), workflow generation
(`draw_to_video`, `reframe`), Marketing Studio, and
Virality Predictor (`brain_activity`).
Chain with higgsfield-soul-id for face/identity consistency.
NOT for: Soul training, photoshoots, cards, explainers (use
higgsfield-video-explainer), playable games/assets (use
higgsfield-game-generation), or TTS.