Amazon FBA Margin Calculator

v1.0.0

Calculates Amazon UAE FBA fees, net margin, and DG risk for CJ Dropshipping products, ranking by margin % and generating detailed markdown and JSON reports.

0· 297·2 current·3 all-time
byZero2Ai@zero2ai-hub
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & 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.

latestvk97ekf3fc6d0xeyh0rc4xaj48982k9nb
297downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

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)
  • --output flag: writes .md + .json files

FBA Fee Tiers (Amazon UAE, Q1 2026 estimates)

Size ClassMax WeightEst. Fee
Small Standard150g10 AED
Standard S350g13.5 AED
Standard M700g16.5 AED
Standard L1kg20 AED
Large Standard2kg26 AED
Oversize2kg+38 AED

Plus: 8% referral fee (electronics) + ~0.75 AED/unit storage.

Flags

FlagDescription
--input FILEJSON file with product array
--output BASEWrite BASE.md + BASE.json
--exchange RATEUSD→AED rate (default 3.67)
--skuSingle SKU mode (with --price, --weight, --target)
--price USDCJ price in USD
--weight GRAMSProduct weight in grams
--target AEDTarget sell price in AED
--shipping USDCJ shipping cost in USD (default 3.5)
--referral PCTReferral fee % (default 8)
--dgFlag 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...