Swap Commerce — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Swap Commerce (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Swap Commerce is an e-commerce Operating System (Swap-OS) that consolidates returns, exchanges, international shipping, tax/duty compliance, and logistics into a single, unified pipeline. This skill enables GenPark AI agents to integrate Swap-OS capabilities directly into digital storefronts, transforming standard, static catalogs into highly interactive, conversational shopping and post-purchase experiences.
sequenceDiagram
autonumber
actor Customer
participant Agent as GenPark Agent
participant Swap as Swap-OS API
participant WMS as WMS / 3PL
Customer->>Agent: "I want to exchange my shirt for a larger size"
Agent->>Swap: POST /v1/returns/exchanges/recommend (order_id, items)
Swap-->>Agent: Return Exchange Options & Inventory Reservation
Agent->>Customer: "I reserved the Large shirt. Do you want to swap now?"
Customer->>Agent: "Yes, proceed with the swap!"
Agent->>Swap: POST /v1/returns/sessions (create session & labels)
Swap-->>Agent: Returns Portal Link, QR Code & DDP Shipping Label
Swap->>WMS: Trigger inbound return notification (ASN)
Agent->>Customer: "Swap complete! Here is your return shipping label & QR code."POST https://api.swap-commerce.com/v1/returns/sessions
Request Headers:
Authorization: Bearer <your_swap_api_key>
Content-Type: application/jsonRequest Payload:
{
"order_id": "ord_8941278930",
"customer": {
"email": "[email protected]",
"country_code": "US"
},
"items": [
{
"sku": "TSHIRT-BLU-M",
"quantity": 1,
"reason": "SIZE_TOO_SMALL",
"action": "EXCHANGE",
"exchange_sku": "TSHIRT-BLU-L"
}
],
"shipping": {
"carrier": "USPS",
"method": "GROUND_RETURN"
}
}Response Payload:
{
"return_session_id": "ret_sess_77812930",
"status": "APPROVED",
"exchange_order_id": "ord_ex_990184712",
"label_url": "https://shipping.swap-commerce.com/labels/lbl_9981a3d9f.pdf",
"qr_code_url": "https://shipping.swap-commerce.com/qrcodes/qr_9981a3d9f.png",
"estimated_delivery": "2026-05-22T18:00:00Z"
}POST https://api.swap-commerce.com/v1/cross-border/landed-cost
Request Payload:
{
"origin_country": "US",
"destination_country": "GB",
"items": [
{
"sku": "HOODIE-GRY-L",
"hs_code": "6101.30.00",
"declared_value": 85.00,
"quantity": 1
}
],
"shipping_cost": 15.00
}Response Payload:
{
"total_landed_cost": 121.25,
"breakdown": {
"subtotal": 85.00,
"shipping": 15.00,
"duty": 10.20,
"tax_vat": 11.05
},
"currency": "GBP",
"compliant": true
}When integrating the Swap Commerce skill, agents must structure storefront behaviors around the following guidelines:
POST /v1/returns/exchanges/recommend immediately to reserve the matching correct size in inventory.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.