- Home
- Skills
- Workflow Automation
- TradeMargin Guard
Works with the AI Agents you already use
TradeMargin Guard
Deterministic landed cost engine and cost responsibility allocator for all 11 Incoterms 2020 rules.
$9.99
TradeMargin Guard
Example session with this skill installed
Calculate the landed cost for 500 units at $25,000 total invoice value under CIF terms. Logistics: origin haulage 350, export clearance 180, freight 2400, insurance 150, port unloading 420.
- Read your context and instructions
- Compiled the trademargin guard
I have calculated the landed cost for your CIF shipment of 500 units. The engine has allocated costs between the seller and buyer according to ICC Incoterms 2020 standards.
Landed Cost Analysis (CIF)
| Category | Responsibility | Amount (USD) |
|---|---|---|
| Goods Invoice Value | Seller Included | 25,000.00 |
| Origin Haulage | Seller Paid | 350.00 |
| Export Clearance | Seller Paid | 180.00 |
| Main Freight | Seller Paid | 2,400.00 |
| Insurance | Seller Paid | 150.00 |
| Destination Port Unloading | Buyer Paid | 420.00 |
| Total Additional Buyer Cost | - | 420.00 |
| Total Landed Cost | - | 25,420.00 |
| Unit Landed Cost | - | 50.84 |
Calculation Summary
Under CIF (Cost, Insurance, and Freight), the seller is responsible for costs and insurance up to the destination port. The buyer is responsible for costs starting from terminal unloading and import clearance.
Next steps
- Add import duties and local delivery fees to see the final warehouse-in cost.
- Compare this against an FOB quote to see if your own freight forwarder provides better rates.
- Verify that the insurance coverage meets your specific contract requirements.
Connects securely to your tools. The creator never sees your data.
About this skill
International trade involves hidden costs that erode margins. This skill calculates total landed costs and identifies buyer versus seller responsibilities across all 11 ICC Incoterms 2020 rules. It replaces manual spreadsheets with a deterministic engine to ensure import and export quotes are compared accurately.
What it does
- Landed cost calculation computes total and per-unit costs by aggregating goods value with itemized logistics lines.
- Incoterm cost allocation identifies exactly which party pays for freight, insurance, and terminal charges based on the selected ICC rule.
- Quote normalization maps varying vendor line items to canonical cost categories for consistent analysis.
- Liability mapping distinguishes between costs included in the seller's invoice and additional costs the buyer must settle at the destination.
How it works
- Identify parameters by collecting the quoted Incoterm, base invoice value, unit quantity, and itemized shipment costs.
- Execute engine by running the
landed_cost.pyscript with the shipment data as arguments. - Analyze output to separate buyer-paid additions from seller-included costs.
- Report results including the total landed cost, unit cost, and a full breakdown of financial responsibility.
Frameworks & tools
This skill utilizes a Python 3 based calculation engine (landed_cost.py) and references standard ICC Incoterms 2020 definitions. It operates entirely offline without external API dependencies.
Why this beats prompting it yourself
LLMs frequently hallucinate cost responsibilities for complex terms like DPU or CIP. This skill uses a deterministic script to ensure calculations follow strict maritime trade logic and two-decimal currency rounding.
Use cases
- Compare a DDP quote against an FOB quote to find the cheapest total path.
- Calculate the unit landed cost for a new 500-unit import shipment.
- Audit shipping invoices to ensure the seller isn't billing for buyer-responsible terminal charges.
- Estimate total capital requirements for cargo clearing customs.
Known limitations
Does not perform live currency conversion. Requires all inputs in a single currency. It does not provide HS code classification or legal advice on maritime disputes.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.
Does not perform live currency conversion. Operates on a single-currency basis only. Does not handle customized contract riders or specific port-level tariff variations.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 5 days ago
- Software
Python