Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    demian trade suite

    1

    外贸单证(PI/CI/PL/合同/报关)与集装箱装柜计算一体工作台,含 JSON→PDF 出单流水线。

    Free

    Security scanned
    demian trade suite

    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

    MetricValue
    Total Units500 PCS
    Total Cartons50 CTNS (10 pcs/ctn)
    Total Volume2.36 CBM
    Total Gross Weight600.00 kg
    Container Saturation (40HQ)3.5%
    Generated FilesDEMO_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.pdf to verify the bank SWIFT code and Beneficiary Name.
    • Review the loading_plan.pdf for the 3D staggered arrangement of the 50 cartons.
    • Import shipment.draft.json into the workbench.html if 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

    1. Prepare Data: Define the shipment details, buyer/seller info, bank details, and product dimensions in a shipment.json file.
    2. Render Documents: Run the Python script to generate specific documents like render_docs.py --types PI CI.
    3. Calculate Loading: Execute render_loading.py to get a visual loading plan and saturation metrics for the selected container type.
    4. 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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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

    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Listed16 days ago

    What's inside

    Frequently Asked Questions

    The suite automates the creation of Proforma Invoices, Commercial Invoices, Packing Lists, Sales Contracts, and Customs Declarations, ensuring all data remains consistent across every form to prevent customs delays.

    It utilizes a precise geometric algorithm for 20GP and 40HQ containers that calculates CBM, weight distribution, and center of gravity, which generic AI prompts often fail to do accurately.

    The skill includes Python 3.8+ scripts for automated document rendering and a zero-dependency HTML/JS workbench for offline, real-time A4 previews and manual adjustments.

    Yes, the system is designed for global trade with native support for eight languages, including English, Spanish, French, Russian, Arabic, Portuguese, German, and Japanese.

    The skill requires a local installation of Python 3.8 or higher and a Chromium-based browser (like Chrome or Edge) to act as the headless rendering engine for PDF generation.

    Currently, the loading algorithm is optimized for rectangular outer cartons; it does not support irregular or liquid cargo calculations at this time.