ReplAi-Now/shopify-skills / skills/operations/cod-rto-analysis
cod-rto-analysis
VerifiedFind where cash on delivery orders fail (governorate, courier, product) and what it costs. Use for "RTO", "refused orders", "delivery success rate" or "مرتجعات".
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 11.2 KB |
| assets/regions.json | config | 33.4 KB |
| assets/setup.example.json | config | 1.6 KB |
| references/data-sources.md | markdown | 7.2 KB |
| references/method.md | markdown | 7.6 KB |
| scripts/orders.py | script | 16.6 KB |
| scripts/regions.py | script | 5.3 KB |
| scripts/render_dashboard.py | script | 9.6 KB |
| scripts/rto_analysis.py | script | 20.0 KB |
| scripts/tabular.py | script | 6.2 KB |
assets/setup.example.json
View on GitHub{
"skill": "cod-rto-analysis",
"version": "1.0.0",
"currency": "EGP",
"timezone": "Africa/Cairo",
"couriers": [],
"default_courier": "",
"courier_tags": {"bosta": "Bosta", "aramex": "Aramex", "j&t": "J&T", "jnt": "J&T", "mylerz": "Mylerz", "shipblu": "ShipBlu", "ship blu": "ShipBlu", "r2s": "R2S", "smsa": "SMSA", "naqel": "Naqel", "fetchr": "Fetchr", "turbo": "Turbo"},
"product_group": "product",
"cod_only": true,
"cod_payment_keywords": ["cash on delivery", "cod", "الدفع عند الاستلام", "الدفع عند التسليم"],
"failed_tags": ["rto", "returned", "return to origin", "refused", "rejected", "undelivered", "failed delivery", "مرتجع", "رفض الاستلام"],
"count_cancelled_after_fulfillment_as_failed": true,
"failed_cancel_reasons": ["customer", "declined", "other"],
"failed_financial_statuses": ["voided"],
"failed_courier_statuses": ["undelivered", "not delivered", "return", "rto", "refused", "rejected", "cancel", "failed", "lost", "damaged", "مرتجع", "رفض", "مرفوض", "ملغي", "ملغى", "لم يتم التسليم", "لم يتم التوصيل", "ارتجاع", "إرجاع", "ارجاع"],
"delivered_courier_statuses": ["delivered", "تم التسليم", "تم التوصيل"],
"failed_definition_note": "",
"default_outbound_shipping": null,
"default_return_shipping": null,
"default_cod_fee_failed": 0,
"packaging_cost": null,
"region_aliases": {},
"min_orders": 30,
"value_bands": [500, 1000, 2000],
"rate_gap_for_action": 0.10,
"prepay_failure_reduction": 0.5,
"confirmation_failure_reduction": 0.3,
"output": "report"
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |