Amazon FBA Margin Calculator
v1.0.0Calculates Amazon UAE FBA fees, net margin, and DG risk for CJ Dropshipping products, ranking by margin % and generating detailed markdown and JSON reports.
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description (Amazon UAE FBA margin calculator for CJ Dropshipping items) match the provided files: SKILL.md describes CLI usage and calc.js implements local price/fee calculations and ranking. No unrelated credentials, binaries, or services are requested.
Instruction Scope
Runtime instructions and the JS entrypoint are scoped to reading input JSON (file or stdin), performing local math (currency conversion, fee tiers), and emitting markdown/JSON. The script only reads the specified input or /dev/stdin and writes output files when asked; it does not read arbitrary system files, environment variables, or send data externally.
Install Mechanism
No install spec; this is instruction-only with one local Node.js script. There are no downloads, package installs, or archive extraction steps in the bundle.
Credentials
No environment variables, credentials, or config paths are required. The script uses only provided CLI flags, input file or stdin, and default constants (exchange rate, defaults) as documented.
Persistence & Privilege
Skill is not marked always:true, does not modify other skills or system-wide agent settings, and only writes output files that the user specifies with --output. It does not persist credentials or alter agent configuration.
Assessment
The skill appears coherent and safe for local use: it only performs math on product fields and writes reports. Before running, review calc.js (already included) yourself and run it on non-sensitive sample data. Be mindful of the output path to avoid overwriting files. Note that fee figures are estimates—verify final numbers in Amazon Seller Central before making sourcing/ordering decisions.Like a lobster shell, security has layers — review code before you run it.
latest
skill-fba-margin-calculator
Version: 1.0.0 | Owner: GitHub Ops | Created: 2026-03-09
What It Does
Calculates Amazon UAE FBA fees, net margin, and DG risk for CJ Dropshipping product candidates. Ranks results by margin % and outputs a markdown report + JSON.
Extracted from the Tech1Mart FBA pilot selection workflow that ran 2026-03-08 and 2026-03-09.
When to Use
- After running skill-dropshipping-sourcing (CJ product lookup)
- Before ordering samples — confirm margin viability
- When comparing multiple SKUs for Amazon UAE FBA launch
Prerequisites
- Node.js (no npm installs required — stdlib only)
- CJ product data: SKU, price (USD), weight (grams), target AED price
Usage
Single product
node skills/skill-fba-margin-calculator/calc.js \
--sku CJLE2170569 \
--name "Ring Light Phone Stand" \
--price 12.96 \
--weight 400 \
--target 129 \
--shipping 4
Batch (JSON file)
node skills/skill-fba-margin-calculator/calc.js \
--input products.json \
--output output/fba-report
Stdin pipe
cat products.json | node skills/skill-fba-margin-calculator/calc.js
With DG flag
node skills/skill-fba-margin-calculator/calc.js \
--sku CJYS1240831 --price 12.72 --weight 150 --target 99 --dg
Input JSON Format
[
{
"sku": "CJLE2170569",
"name": "Ring Light + Phone Stand",
"cj_price_usd": 12.96,
"weight_g": 400,
"target_aed": 129,
"shipping_usd": 4,
"dg_risk": false,
"referral_pct": 8
}
]
Optional fields: shipping_usd (default 3.5), dg_risk (default false), referral_pct (default 8%).
Output
- Ranked markdown table by margin %
- Detail breakdown per SKU (landed cost, FBA fee tier, referral fee, net margin)
- Verdicts: ✅ FBA-safe / 🟡 Marginal / ❌ Too thin / ⚠️ DG Risk (WooCommerce-only)
--outputflag: writes.md+.jsonfiles
FBA Fee Tiers (Amazon UAE, Q1 2026 estimates)
| Size Class | Max Weight | Est. Fee |
|---|---|---|
| Small Standard | 150g | 10 AED |
| Standard S | 350g | 13.5 AED |
| Standard M | 700g | 16.5 AED |
| Standard L | 1kg | 20 AED |
| Large Standard | 2kg | 26 AED |
| Oversize | 2kg+ | 38 AED |
Plus: 8% referral fee (electronics) + ~0.75 AED/unit storage.
Flags
| Flag | Description |
|---|---|
--input FILE | JSON file with product array |
--output BASE | Write BASE.md + BASE.json |
--exchange RATE | USD→AED rate (default 3.67) |
--sku | Single SKU mode (with --price, --weight, --target) |
--price USD | CJ price in USD |
--weight GRAMS | Product weight in grams |
--target AED | Target sell price in AED |
--shipping USD | CJ shipping cost in USD (default 3.5) |
--referral PCT | Referral fee % (default 8) |
--dg | Flag product as Dangerous Goods (recommends WooCommerce-only) |
Notes
- FBA fees are estimates — verify final numbers via Amazon Seller Central FBA Revenue Calculator before ordering samples
- Exchange rate defaults to 3.67 (AED/USD peg) — adjust if needed
- DG risk applies to: Li-ion batteries, aerosols, liquids. Always check before sending to FBA.
- Minimum viable margin: >25% AND >30 AED net for FBA to be worthwhile
Comments
Loading comments...
