# Send Skill Dropshipping Fulfillment to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "skill-dropshipping-fulfillment",
    "name": "Skill Dropshipping Fulfillment",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Zero2Ai-hub/skill-dropshipping-fulfillment",
    "canonicalUrl": "https://clawhub.ai/Zero2Ai-hub/skill-dropshipping-fulfillment",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/skill-dropshipping-fulfillment",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=skill-dropshipping-fulfillment",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "package-lock.json",
      "package.json",
      "scripts/cj-api.js",
      "scripts/fulfill.js",
      "scripts/rebuild-mapping.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/skill-dropshipping-fulfillment"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/skill-dropshipping-fulfillment",
    "downloadUrl": "https://openagent3.xyz/downloads/skill-dropshipping-fulfillment",
    "agentUrl": "https://openagent3.xyz/skills/skill-dropshipping-fulfillment/agent",
    "manifestUrl": "https://openagent3.xyz/skills/skill-dropshipping-fulfillment/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/skill-dropshipping-fulfillment/agent.md"
  }
}
```
## Documentation

### CJ Fulfillment Engine

Automates the WooCommerce → CJ Dropshipping order flow. No manual copy-paste.

### What it does

Fetches all processing orders from WooCommerce
Maps line items to CJ variant IDs via cj-supplier-selection.json
Submits matched items to CJ API as a dropship order
Updates WooCommerce order status to on-hold (awaiting CJ dispatch)
Adds an order note with the CJ order ID
Logs all results to cj-fulfillment-log.json

### Credentials / paths

FileContentswoo-api.json{ url, consumerKey, consumerSecret }cj-api.json{ apiKey, baseUrl, accessToken, tokenExpiry }cj-supplier-selection.jsonArray of { sku, cjProductId, variantId, ... }

### Usage

# Dry run — preview without placing orders
node {baseDir}/scripts/fulfill.js --dry-run

# Fulfill all processing orders
node {baseDir}/scripts/fulfill.js

# Fulfill a single WooCommerce order
node {baseDir}/scripts/fulfill.js --order 1234

### cj-supplier-selection.json format

Full 6-field schema — one entry per product variant. Matching is SKU-first with fallback to wooProductId:wooVariationId.

[
  {
    "wooProductId": 77261,
    "wooVariationId": 77265,
    "sku": "CJYD2360896-BLACK",
    "cjProductId": "CJ-PRODUCT-ID",
    "variantId": "CJ-VARIANT-ID",
    "productName": "My Product — Black"
  }
]

Generate or rebuild this file from CJ API automatically:

node {baseDir}/scripts/rebuild-mapping.js

### FBA / excluded products

Products that should never be fulfilled via CJ (e.g. FBA, in-house). Set via env var:

FBA_PRODUCT_IDS=75927,75808,2382 node fulfill.js

These are skipped with a log entry: "FBA product — manual fulfillment required".

### Output

Console: per-order summary with matched/unmatched items and CJ order ID
cj-fulfillment-log.json: append-only log with { orderId, status, cjOrderId, timestamp }
cj-rejection-log.json: unmatched/skipped items for manual review

### Unmatched items

If a line item has no SKU match and no wooProductId:wooVariationId match, it's logged to the rejection log and the order is skipped. Fix by running rebuild-mapping.js or adding the entry manually.

### Environment overrides

CJ_SELECTION_PATH=/custom/path/selection.json node fulfill.js
FULFILL_LOG_PATH=/custom/path/log.json node fulfill.js
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Zero2Ai-hub
- Version: 1.2.3
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/skill-dropshipping-fulfillment)
- [Send to Agent page](https://openagent3.xyz/skills/skill-dropshipping-fulfillment/agent)
- [JSON manifest](https://openagent3.xyz/skills/skill-dropshipping-fulfillment/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/skill-dropshipping-fulfillment/agent.md)
- [Download page](https://openagent3.xyz/downloads/skill-dropshipping-fulfillment)