Works with the AI Agents you already use
demian trade suite
外贸单证(PI/CI/PL/合同/报关)与集装箱装柜计算一体工作台,含 JSON→PDF 出单流水线。
Free
demian trade suite
Example session with this skill installed
Generate a Proforma Invoice and calculate 40HQ loading for 500 units of SKU-A (45x35x30cm, 12kg) based on demo-shipment.json. Price is FOB Shanghai.
- Read your context and instructions
- Compiled the demian trade suite
I have processed the shipment data for SKU-A. The Proforma Invoice has been generated, and the container loading simulation for a 40HQ is complete.
Shipment Analysis & Documents
| Metric | Value |
|---|---|
| Total Units | 500 PCS |
| Total Cartons | 50 CTNS (10 pcs/ctn) |
| Total Volume | 2.36 CBM |
| Total Gross Weight | 600.00 kg |
| Container Saturation (40HQ) | 3.5% |
| Generated Files | DEMO_PROFORMA.pdf, loading_plan.pdf, shipment.draft.json |
{
"order_no": "DSH-2024-001",
"incoterm": "FOB",
"port_of_loading": "SHANGHAI",
"items": [
{
"sku": "SKU-A",
"qty": 500,
"pcs_per_ctn": 10,
"ctn_l": 45,
"ctn_w": 35,
"ctn_h": 30,
"gross_weight": 12.0
}
],
"loading_result": {
"container": "40HQ",
"status": "Loaded",
"utilization": "3.5%"
}
}
Next steps
- Open
DEMO_PROFORMA.pdfto verify the bank SWIFT code and Beneficiary Name. - Review the
loading_plan.pdffor the 3D staggered arrangement of the 50 cartons. - Import
shipment.draft.jsoninto theworkbench.htmlif you need to manually adjust the pallet layout.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing export documentation and container loading calculations is prone to manual errors, inconsistent data across forms, and inefficient space utilization. This skill provides a unified workbench for foreign trade professionals to generate precise shipping documents and optimized loading plans.
What it does
- Document Generation creates Proforma Invoices (PI), Commercial Invoices (CI), Packing Lists (PL), Sales Contracts, and Customs Declarations.
- Loading Optimization calculates CBM, gross/net weight, and center of gravity for 20GP, 40HQ, or custom truck layouts.
- Multilingual Support outputs documents in English, Spanish, French, Russian, Arabic, Portuguese, German, or Japanese.
- Automated Pipeline converts JSON order data into print-ready PDF documents using a headless Chrome rendering engine.
- Pricing Logic derives export unit prices by factoring in domestic purchase costs, tax rebates, and shared expenses.
How it works
- Prepare Data: Define the shipment details, buyer/seller info, bank details, and product dimensions in a
shipment.jsonfile. - Render Documents: Run the Python script to generate specific documents like
render_docs.py --types PI CI. - Calculate Loading: Execute
render_loading.pyto get a visual loading plan and saturation metrics for the selected container type. - Offline Edit: Open the standalone HTML workbench for real-time A4 previews and manual layout adjustments.
Frameworks & tools
Python 3.8+ scripts for PDF rendering and JSON processing. The system requires a local installation of Chrome or Edge for document layout. The workbench is a zero-dependency HTML/JS file for offline use.
Why this beats prompting it yourself
Generic AI prompts often hallucinate bank SWIFT codes, mess up Incoterms risk transitions, or fail at basic CBM geometry. This skill enforces strict validation rules, such as ensuring net weight never exceeds gross weight and aligning Incoterms with 2020 standards.
Use cases
- Generating a complete set of export documents from a single JSON data source.
- Simulating container loading density to decide between 20GP and 40HQ.
- Creating multi-currency quotations with automated tax rebate calculations.
- Producing official Customs Declaration drafts for Chinese export compliance.
Known limitations
Requires a local Chrome or Edge browser for PDF generation. The loading algorithm does not support irregular-shaped cargo; all items must have rectangular outer carton dimensions.
Requires local Chrome/Edge for PDF rendering. Cargo must be rectangular for loading calculations. Python 3.8+ needed for scripts.
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 any payment.
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
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 16 days ago
- Free with an Agensi account
Requires