Trade Pipeline Init logo

Trade Pipeline Init

Community
Dangooy
trade-pipeline-init

Interactive setup wizard for first-time trade-pipeline configuration

Overview

PublisherDangooy
Repositorytrade-pipeline-skill
Skill nametrade-pipeline-init
Stars
39
Forks
7
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Dangooy on GitHub. Read the source before you install it.

Installation

Install the Trade Pipeline Init AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Dangooy/trade-pipeline-skill/tree/main/.claude/skills/trade-pipeline-init
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Dangooy/trade-pipeline-skill.git /tmp/trade-pipeline-skill
mkdir -p .claude/skills
cp -r /tmp/trade-pipeline-skill/.claude/skills/trade-pipeline-init .claude/skills/trade-pipeline-init
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Trade Pipeline Init in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Trade Pipeline Init on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Trade Pipeline Init is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Trade Pipeline Init — Interactive Setup Skill

Trigger

When the user says "初始化配置", "setup", "configure trade pipeline", "init", "第一次使用", or when trade_pipeline/config/config.yaml contains example/placeholder data (seller name is "ACME EXPORT").

Behavior

Use AskUserQuestion to guide the user through configuring their trade pipeline. Collect all information first, then write config.yaml in one step.

Step 1: Company Info

Ask with AskUserQuestion (multiSelect: false):

  • "你的公司英文名?" — free text input (user selects "Other")

Then ask:

  • "公司中文名(可选)?"
  • "公司地址?"
  • "联系人姓名?"
  • "联系邮箱?"
  • "联系电话?"

These can be combined into 2-3 rounds of AskUserQuestion, grouping related fields.

Step 2: Trade Terms

Ask with AskUserQuestion options:

question: "默认贸易条件?"
options:
  - label: "FOB"
    description: "Free On Board — 卖方交到港口,买方负责运输"
  - label: "CIF" 
    description: "Cost, Insurance, Freight — 卖方负责运费+保险到目的港"
  - label: "DDP"
    description: "Delivered Duty Paid — 卖方全包到买方门口"
  - label: "EXW"
    description: "Ex Works — 买方自提"

Step 3: Currency & Port

Ask with AskUserQuestion options:

question: "默认币种?"
options:
  - label: "USD"
  - label: "CNY"
  - label: "EUR"
question: "默认装运港?"
options:
  - label: "QINGDAO,CHINA"
  - label: "SHANGHAI,CHINA"
  - label: "NINGBO,CHINA"

Step 4: Payment & Lead Time

Ask:

  • "付款条件?" (default: "30% T/T deposit; 70% before shipment")
  • "交货期?" (default: "45-60 days after deposit")

Step 5: First Buyer (Optional)

Ask:

question: "现在添加第一个客户吗?"
options:
  - label: "是,添加客户"
  - label: "跳过,稍后再加"

If yes, ask buyer name, address, contact, email.

Step 6: Write Config

After collecting all info, generate the YAML config and write to: trade_pipeline/config/config.yaml

Use the following structure:

yaml
sellers:
  <seller_id>:
    name_cn: <中文名>
    name_en: <英文名>
    address: <地址>
    contact: <联系人>
    tel: <电话>
    email: <邮箱>
    bank: { name: "", swift: "", account_no: "" }

buyers:
  <buyer_id>:  # if provided
    name_en: <名称>
    legal_names: [<名称>]
    aliases: [<简称>]
    address: <地址>
    contact: <联系人>
    email: <邮箱>

format_defaults:
  standard:
    seller_id: <seller_id>
    currency: <币种>
    price_unit: "<币种>/PC"
    terms_id: "default_<币种小写>"

terms_templates:
  default_<币种小写>:
    payment: <付款条件>
    delivery: "<贸易条件> <装运港>, Incoterms 2020."
    lead_time: <交货期>
    validity: "10 days"
    packing: "Standard export packaging: 25 kg cartons, Euro pallets."
    quality: "100% inspection before shipment."

defaults:
  port_of_loading: <装运港>
  pi_number_pattern: "PI-{order_no}"
  ci_number_pattern: "CI-{order_no}"
  quote_no_pattern: "QT-{order_no}"
  date_format: "%d %B %Y"

packing:
  carton_weight_kg: 25
  pallet_self_weight_kg: 28
  cartons_per_pallet: 36

pl_profiles:
  default:
    pl_config: standard
    packing_profile: standard_25kg

cache:
  dir: .cache/understanding
  prompt_version: v1.0
  schema_version: v1.0
  enabled: true

ocr_review:
  force_review_fields: [description, standard, quantity, unit, weight_kg]
  confidence_threshold: 0.90

Seller ID generation: take the first 2 meaningful words from the English name, lowercased, joined by underscore. Skip words like "co", "ltd", "inc", "limited".

Step 7: Confirm

Show the user a summary:

Seller: <英文名> (id: <seller_id>)
Terms:  <贸易条件> | Currency: <币种> | Port: <装运港>
Buyer:  <客户名> (if added)

Config written to: trade_pipeline/config/config.yaml

Quick demo:
  python -m trade_pipeline --input examples/sample_inquiry.xlsx --order DEMO --buyer <buyer_id or _new>

Notes

  • The CLI version (python -m trade_pipeline init) is still available as a fallback
  • This skill provides a better UX within Claude Code using native dialog controls
  • Bank info can be added later by editing config.yaml directly

Frequently asked questions

What does the Trade Pipeline Init AI skill do?

Interactive setup wizard for first-time trade-pipeline configuration

Why use Trade Pipeline Init on TypingMind?

Because you install it once and use it with any model. Trade Pipeline Init is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Trade Pipeline Init in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Dangooy/trade-pipeline-skill/tree/main/.claude/skills/trade-pipeline-init. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Trade Pipeline Init?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Trade Pipeline Init?

As many as you like. As long as a model supports skills, you can use Trade Pipeline Init with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Trade Pipeline Init AI skill free?

Yes. It is published on GitHub by Dangooy under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇