Tariff Calculator Amazon

v0.1.0

Universal tariff calculator for Amazon sellers. Calculate import duties, landed costs, and VAT/GST for any trade route. Supports CN→US, CN→EU, US→EU, EU→US,...

0· 149·0 current·0 all-time
byHenk Nie@phheng

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for phheng/tariff-calculator-amazon.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Tariff Calculator Amazon" (phheng/tariff-calculator-amazon) from ClawHub.
Skill page: https://clawhub.ai/phheng/tariff-calculator-amazon
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install tariff-calculator-amazon

ClawHub CLI

Package manager switcher

npx clawhub@latest install tariff-calculator-amazon
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
The name/description (tariff/landed-cost calculator for Amazon sellers) matches the provided artifacts: two Python scripts implement HS lookup and cost calculations, and SKILL.md documents the same features. Required env vars, binaries, and config paths are empty which is consistent with a local calculation tool.
Instruction Scope
Runtime instructions are limited to running the included Python scripts with JSON parameters or textual queries; the SKILL.md does not instruct the agent to read unrelated system files or environment variables. Note: SKILL.md also shows an 'npx skills add nexscope-ai/eCommerce-Skills' install command (an external package fetch) — that step would pull code outside the included files if executed and is not necessary to run the bundled scripts directly.
Install Mechanism
There is no formal install spec in the registry (instruction-only skill), which is low-risk. However, the README suggests using an npx command that would fetch an external package (nexscope-ai/eCommerce-Skills). If you follow that npx step you will execute code from npm (or an npx-resolved source) outside this skill bundle — review that package before running it. The skill bundle itself contains only local Python scripts (no remote downloads or installers declared).
Credentials
The skill requests no environment variables, no credentials, and the scripts don't import networking libraries in visible sections. This is proportionate for a calculator. There are no obvious requests for unrelated secrets or system config.
Persistence & Privilege
The skill is not always-enabled and is user-invocable. It does not declare any elevated persistence or modification of other skills. Nothing in the provided files indicates it writes to or changes other skill configurations.
Assessment
This skill appears to be what it claims: a local tariff and HS-lookup calculator implemented in Python without credential requirements. Before installing or running: 1) Inspect the full, untruncated source files (the listing provided here was truncated) to confirm there are no hidden network calls or execs. 2) Avoid blindly running the SKILL.md's npx install command unless you trust and have inspected the upstream npm package it would fetch — that command would pull external code not included in this bundle. 3) You can run the included scripts directly with python (e.g., python3 scripts/calculator.py) to avoid fetching external packages. 4) Remember tariff rates here are hard-coded approximations; verify rates for legal/compliance decisions. If you want, I can search the full files for any network, subprocess, or suspicious code patterns if you paste the untruncated contents.

Like a lobster shell, security has layers — review code before you run it.

latestvk97czasceezaw8e1ej0zwzh0fh83frr7
149downloads
0stars
1versions
Updated 1mo ago
v0.1.0
MIT-0

Tariff Calculator — Amazon 💰

Universal tariff and landed cost calculator for international Amazon sellers.

Installation

npx skills add nexscope-ai/eCommerce-Skills --skill tariff-calculator-amazon -g

Features

  • Universal Trade Routes — Any origin to any destination
  • Tariff Rate Lookup — HS code → duty rate
  • Section 301 Tariffs — US additional duties on China imports
  • VAT/GST Calculation — EU, UK, CA, AU, CN rates
  • Landed Cost — Complete cost breakdown
  • HS Code Matcher — Product description → HS code suggestions
  • Trade Agreements — USMCA, EVFTA, RCEP preferential rates

Supported Trade Routes

RouteKey TariffsVAT/GST
🇨🇳 → 🇺🇸 China → USASection 301 (7.5-25%)N/A
🇨🇳 → 🇪🇺 China → EUStandard duties19-22%
🇨🇳 → 🇬🇧 China → UKStandard duties20%
🇺🇸 → 🇪🇺 USA → EUStandard duties19-22%
🇪🇺 → 🇺🇸 EU → USAStandard dutiesN/A
🇺🇸 → 🇨🇳 USA → ChinaRetaliatory tariffs13% VAT
🇨🇳 → 🇨🇦 China → CanadaStandard duties5% GST
🇨🇳 → 🇦🇺 China → AustraliaStandard duties10% GST
CustomUser-definedUser-defined

Section 301 Tariffs (China → USA)

HS ChapterProductsAdditional Rate
84xxComputers, machinery25%
85xxElectronics (some)0-25%
94xxFurniture, lighting25%
95xxToys25%
61/62Apparel7.5%
64xxFootwear7.5%
42xxBags, accessories7.5%

Landed Cost Formula

Landed Cost = 
    FOB Value
  + International Freight
  + Insurance
  + Import Duty
  + VAT/GST (if applicable)
  + Customs Clearance
  + Port Fees
  + Inland Freight

Usage

Basic Calculation

python3 scripts/calculator.py

With Parameters

python3 scripts/calculator.py '{
  "hs_code": "8518300000",
  "origin_country": "CN",
  "destination_country": "US",
  "fob_value": 5000.00,
  "quantity": 500,
  "freight_cost": 200.00
}'

HS Code Lookup

python3 scripts/hs_lookup.py "wireless earbuds"
python3 scripts/hs_lookup.py "bluetooth speaker"

Custom Trade Route

python3 scripts/calculator.py '{
  "hs_code": "9503009000",
  "origin_country": "VN",
  "destination_country": "DE",
  "fob_value": 10000.00,
  "quantity": 1000,
  "freight_cost": 500.00,
  "custom_duty_rate": 0.047,
  "custom_vat_rate": 0.19
}'

Output Example

💰 Tariff & Landed Cost Report

Product: Wireless Bluetooth Earbuds
HS Code: 8518300000
Route: China 🇨🇳 → USA 🇺🇸

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📦 Cost Breakdown

FOB Value               $  5,000.00
International Freight   $    200.00
Insurance               $     15.00
CIF Value               $  5,215.00

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🏛️ Duties & Taxes

Base Duty (0.0%)        $      0.00
Section 301 (0.0%)      $      0.00
Total Duty              $      0.00
Customs Clearance       $    150.00
Port Fees               $     50.00

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

💵 Landed Cost Summary

Total Landed Cost       $  5,515.00
Per Unit Cost           $     11.03

Trade Agreement Support

AgreementCountriesBenefit
USMCAUS, Mexico, CanadaReduced/zero duties
EVFTAEU, VietnamReduced duties
RCEPAsia-PacificReduced duties
UK-JapanUK, JapanReduced duties

Custom Configuration

Create a custom config for your routes:

{
  "default_origin": "CN",
  "default_destination": "US",
  "include_insurance": true,
  "insurance_rate": 0.003,
  "customs_fee": 150,
  "port_fee": 50
}

Part of Nexscope AI — AI tools for e-commerce sellers.

Comments

Loading comments...