一键导入
woocommerce-to-medusa-import
Use when user says "WooCommerce import", "migrate products", or "Woo to Medusa". Extraction, mapping, assets, import.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when user says "WooCommerce import", "migrate products", or "Woo to Medusa". Extraction, mapping, assets, import.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when you need to drive a real browser to open a page, fill forms, click, screenshot, scrape, or test a login flow. Triggers on "automate the browser", "test the page", "scrape this site".
Use when the user says "lightpanda", "scrape this page", "headless browse", or "dump the DOM". Fast headless browser for rendering URLs without Chromium, scraping, and CDP automation.
Use when user says "does it work?", "screenshot the page", "show me the form", "check the checkout flow", or "open the browser". Drives Chromium/Firefox/WebKit via Playwright MCP to verify storefront/admin UI changes, reproduce reported UI bugs, test Medusa dev servers on localhost, or explore third-party sites.
Track resume versions, maintain one master resume, and manage per-job tailored copies. Use when user says "manage my resumes", "track resume versions", "which resume did I send", "master resume", "organize my resumes", or "version of my resume for this job".
Use when user says "extract text from pdf", "merge pdfs", "split a pdf", "fill out a pdf form", "extract tables from pdf", or "create a pdf". Complete PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
End-to-end pipeline that chains trendradar → article-writer → X thread → Higgsfield hero image → Postiz draft in a single shot, turning a current trend topic into a posted-ready social thread with a generated hero image. Use when user says "/trend-to-thread", "post a trend thread", "build a thread from trends", "új X thread mai trendből", or "Postiz X poszt mai trendekből".
| name | woocommerce-to-medusa-import |
| requires_mcps | ["secret-mcp"] |
| description | Use when user says "WooCommerce import", "migrate products", or "Woo to Medusa". Extraction, mapping, assets, import. |
Use this skill when a user wants WooCommerce products pushed into a Medusa backend.
medusa exec script for batch imports.Never ask the user to paste WooCommerce secrets into chat.
Never commit secrets, generated .env files, or credential screenshots.
This skill spans up to four providers per run: WooCommerce (read), Medusa
admin API (write), AWS S3 (optional image rehost), and the local DB if
the import is run via medusa exec. Bouncer-MCP coverage is partial as
of 2026-05-10 — pick a mode per leg.
secret-mcp registered)| Leg | Bouncer status | Path |
|---|---|---|
| AWS S3 image rehost | ✅ wrapped (PR #1660) | mcp__secret-mcp__aws_s3_copy_from_url(bucket, key, region, source_url=woo_image_url) |
| WooCommerce REST | ❌ not yet wrapped | Mode B fallback (WOOCOMMERCE_* env) |
| Medusa admin API | ❌ not yet wrapped | Mode B fallback (MEDUSA_SECRET_KEY env) |
Use Mode A specifically for the image rehost path (when the importer
chooses to copy Woo images into the shop's S3 bucket rather than
referencing them in place). The bouncer holds AWS_SECRET_ACCESS_KEY;
the agent passes the Woo URL and gets back the S3 public URL — bytes
traverse the MCP server but NOT the agent context.
The aws_s3_copy_from_url tool requires the source host to be in
AWS_S3_COPY_FROM_URL_ALLOWLIST (env on the bouncer host). Add the Woo
store's image CDN host (e.g. wp-content.example.com) before importing.
medusa exec drivenFor non-agent runs (CI, cron, batch imports started by the operator) and for the WooCommerce + Medusa-admin legs that aren't bouncer-wrapped yet, resolve secrets the traditional way:
WOOCOMMERCE_URLWOOCOMMERCE_CONSUMER_KEYWOOCOMMERCE_CONSUMER_SECRETMEDUSA_SECRET_KEY (when patching products via admin HTTP)AWS_ACCESS_KEY_ID + AWS_SECRET_ACCESS_KEY (for image rehost)~/.config/woocommerce-medusa-import/envRecommended global env file:
mkdir -p ~/.config/woocommerce-medusa-import
chmod 700 ~/.config/woocommerce-medusa-import
cat > ~/.config/woocommerce-medusa-import/env <<'ENV'
WOOCOMMERCE_URL="https://example.com"
WOOCOMMERCE_CONSUMER_KEY="ck_replace_me"
WOOCOMMERCE_CONSUMER_SECRET="cs_replace_me"
ENV
chmod 600 ~/.config/woocommerce-medusa-import/env
When running imports, source without echoing values:
set -a
. ~/.config/woocommerce-medusa-import/env
set +a
pnpm medusa exec ./src/scripts/import-woocommerce-products.ts -- --dry-run
If commands may be logged, do not inline secret values in the command.
Build importers with these flags:
--dry-run: default true unless user explicitly requests live write.--limit <n>: cap products for test runs.--page <n> or --since <iso>: resume/scope pulls.--force-update: allow overwriting existing Medusa fields.--include-drafts: include Woo draft/private products only when requested.Idempotency keys:
metadata.woo_id, fallback handle.sku, fallback metadata.woo_variation_id.Store Woo source fields in metadata:
woo_idwoo_permalinkwoo_date_modified_gmtwoo_statuswoo_typeProduct:
name -> titleslug -> handleshort_description or stripped description -> subtitledescription -> descriptionstatus === "publish" -> published, otherwise draftimages[].src -> Medusa product imagesthumbnailCategories:
Variants:
sku must be preserved.Prices:
--currency flag.Inventory:
manage_inventory: false unless the project has inventory/location mapping.Images:
medusa exec scripts for batch ETL.createProductsWorkflow, product update workflows, sales-channel linking workflows, and variant-image workflows where available.query.graph().Load repo-specific Medusa backend guidance when present. If the building-with-medusa skill is available, load it before editing backend code.
Typical minimal implementation:
apps/backend/src/scripts/import-woocommerce-products.tsapps/backend/src/scripts/woocommerce/mapper.tsapps/backend/src/scripts/woocommerce/client.tsapps/backend/src/scripts/woocommerce/__tests__/mapper.spec.tsUse assets/import-woocommerce-products.template.ts as a starting point only. Adapt imports and workflow names to the installed Medusa version.
Run in order:
--limit 3.Report: