tariff-calculator-amazon — скилл для Claude Code: пошлины и landed
Считает ввозные пошлины, НДС и полную себестоимость доставки для маршрутов Amazon между странами. Пригодится, когда нужно узнать цену товара на полке склада до закупки.
npx skills add nexscope-ai/Amazon-Skills --skill tariff-calculator-amazon -a claude-codeЧто делает tariff-calculator-amazon
Скилл закрывает расчёт landed cost: берёт стоимость FOB, фрахт, страховку, пошлину, НДС/GST, таможенное оформление, портовые и внутренние сборы и складывает в одну сумму, а рядом показывает цену за единицу. Маршруты поддерживаются любые: Китай в США и ЕС, США в ЕС и обратно, Китай в Великобританию, Канаду и Австралию. Есть готовые ставки Section 301 для китайского импорта в США, а также преференции по USMCA, EVFTA, RCEP и UK-Japan.
Внутри два скрипта на Python. scripts/calculator.py принимает JSON с HS-кодом, странами отправки и назначения, стоимостью партии, количеством и фрахтом; для нетипового маршрута можно вписать свои ставки пошлины и НДС. scripts/hs_lookup.py подбирает HS-код по описанию товара. Ключ API не нужен.
Ставки в калькуляторе зашиты в файлы скилла, поэтому при спорной классификации товара итог будет неверным: HS-код задаёт пошлину, и подбирать его лучше не на глаз. Для маршрута вне таблицы без custom_duty_rate и custom_vat_rate расчёт останется неполным.
Какие задачи решает
- посчитать полную себестоимость партии с пошлиной и НДС
- подобрать HS-код по названию товара
- учесть дополнительные пошлины Section 301 при импорте из Китая в США
- сравнить landed cost на двух маршрутах доставки
- проверить ставку GST для отправки в Канаду или Австралию
Примеры запросов агенту
- Посчитай landed cost для партии bluetooth-колонок из Китая в США, FOB 5000 долларов, 500 штук, фрахт 200.
- Подбери HS-код для беспроводных наушников и покажи ставку пошлины.
- Считай маршрут Вьетнам — Германия со своей пошлиной 0.047 и НДС 0.19.
Как установить tariff-calculator-amazon
1Через Skills CLI (Vercel)
npx skills add nexscope-ai/Amazon-Skills --skill tariff-calculator-amazon -a claude-code2Вручную: положить файлы
~/.claude/skills/tariff-calculator-amazon/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/tariff-calculator-amazon/
1Через Skills CLI (Vercel)
npx skills add nexscope-ai/Amazon-Skills --skill tariff-calculator-amazon -a codex2Вручную: положить файлы
.agents/skills/tariff-calculator-amazon/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add nexscope-ai/Amazon-Skills --skill tariff-calculator-amazon -a cursor2Вручную: положить файлы
.cursor/skills/tariff-calculator-amazon/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install nexscope-ai/Amazon-Skills tariff-calculator-amazon2Вручную: положить файлы
.github/skills/tariff-calculator-amazon/SKILL.md1Через Skills CLI (Vercel)
npx skills add nexscope-ai/Amazon-Skills --skill tariff-calculator-amazon -a gemini-cli2Командой платформы
gemini skills install https://github.com/nexscope-ai/Amazon-Skills --path tariff-calculator-amazonВручную: положить файлы
.devin/skills/tariff-calculator-amazon/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add nexscope-ai/Amazon-Skills --skill tariff-calculator-amazon -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о tariff-calculator-amazon
Как установить tariff-calculator-amazon в Claude Code?
Выполните npx skills add nexscope-ai/Amazon-Skills --skill tariff-calculator-amazon -a claude-code. Скилл появится в ~/.claude/skills/tariff-calculator-amazon/SKILL.md.
Что делает tariff-calculator-amazon?
Считает пошлины, НДС/GST и полную landed cost для партии товара на заданном маршруте, а также подбирает HS-код по описанию.
Нужен ли ключ API для расчёта?
Нет. Ставки пошлин и налогов лежат в файлах скилла, а расчёт идёт локально через scripts/calculator.py и scripts/hs_lookup.py на Python.
Исходный текст
SKILL.md · MIT
---
name: tariff-calculator-amazon
version: 1.0.0
author: Nexscope AI
description: "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, US→CN and custom origin/destination pairs. Includes Section 301 tariffs, trade agreement rates (USMCA, EVFTA), and HS code lookup. No API key required."
metadata: {"nexscope":{"emoji":"💰","category":"ecommerce"}}
---
# Tariff Calculator — Amazon 💰
Universal tariff and landed cost calculator for international Amazon sellers.
## Installation
```bash
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
| Route | Key Tariffs | VAT/GST |
|-------|-------------|---------|
| 🇨🇳 → 🇺🇸 China → USA | Section 301 (7.5-25%) | N/A |
| 🇨🇳 → 🇪🇺 China → EU | Standard duties | 19-22% |
| 🇨🇳 → 🇬🇧 China → UK | Standard duties | 20% |
| 🇺🇸 → 🇪🇺 USA → EU | Standard duties | 19-22% |
| 🇪🇺 → 🇺🇸 EU → USA | Standard duties | N/A |
| 🇺🇸 → 🇨🇳 USA → China | Retaliatory tariffs | 13% VAT |
| 🇨🇳 → 🇨🇦 China → Canada | Standard duties | 5% GST |
| 🇨🇳 → 🇦🇺 China → Australia | Standard duties | 10% GST |
| **Custom** | User-defined | User-defined |
## Section 301 Tariffs (China → USA)
| HS Chapter | Products | Additional Rate |
|------------|----------|-----------------|
| 84xx | Computers, machinery | 25% |
| 85xx | Electronics (some) | 0-25% |
| 94xx | Furniture, lighting | 25% |
| 95xx | Toys | 25% |
| 61/62 | Apparel | 7.5% |
| 64xx | Footwear | 7.5% |
| 42xx | Bags, accessories | 7.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
```bash
python3 scripts/calculator.py
```
### With Parameters
```bash
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
```bash
python3 scripts/hs_lookup.py "wireless earbuds"
python3 scripts/hs_lookup.py "bluetooth speaker"
```
### Custom Trade Route
```bash
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
| Agreement | Countries | Benefit |
|-----------|-----------|---------|
| USMCA | US, Mexico, Canada | Reduced/zero duties |
| EVFTA | EU, Vietnam | Reduced duties |
| RCEP | Asia-Pacific | Reduced duties |
| UK-Japan | UK, Japan | Reduced duties |
## Custom Configuration
Create a custom config for your routes:
```json
{
"default_origin": "CN",
"default_destination": "US",
"include_insurance": true,
"insurance_rate": 0.003,
"customs_fee": 150,
"port_fee": 50
}
```
---
**Part of [Nexscope AI](https://www.nexscope.ai/?co-from=skill) — AI tools for e-commerce sellers.**
© Nexscope AI · MIT · nexscope-ai/Amazon-Skills