trade-pipeline-skill: Skill for Claude Code

.claude/skills/trade-pipeline-run/SKILL.md

trade-pipeline-run is a skill for Claude Code from Dangooy/trade-pipeline-skill. It costs 27 tokens per session (1,539 once invoked), scanned A, original, MIT.

A document workflow for turning an inquiry or request for quotation into business documents such as a quotation, pro forma invoice, commercial invoice, and packing list. It can also write prices back into the source data.

In plain words
What is it for?
Use it to process trade documents from an inquiry through invoicing and packing details, or to update prices in the related data.
Why use it?
It removes the need to prepare each document and update prices by hand. The workflow also checks that the project and its setup are ready before running.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool.

This is Dangooy/trade-pipeline-skill's own configuration. It tells Claude Code how to work on trade-pipeline-skill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything trade-pipeline-skill configures →

Part of the trade-pipeline plugin — 2 skills shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to Dangooy/trade-pipeline-skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Dangooy/trade-pipeline-skill/main/.claude/skills/trade-pipeline-run/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Dangooy/trade-pipeline-skill

Made for: Claude Code.

Or install trade-pipeline, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for trade-pipeline-run

README.md
[![agentmods](https://agentmods.dev/badge/skills/dangooy/trade-pipeline-skill/trade-pipeline-run/github.svg)](https://agentmods.dev/skills/dangooy/trade-pipeline-skill/trade-pipeline-run)
Your own site
<a href="https://agentmods.dev/skills/dangooy/trade-pipeline-skill/trade-pipeline-run"><img src="https://agentmods.dev/badge/skills/dangooy/trade-pipeline-skill/trade-pipeline-run/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for trade-pipeline-run

Your own site · 80×15
<a href="https://agentmods.dev/skills/dangooy/trade-pipeline-skill/trade-pipeline-run"><img src="https://agentmods.dev/badge/skills/dangooy/trade-pipeline-skill/trade-pipeline-run.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,539 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.01539
Opus 5 $0.00014 $0.00770
Sonnet 5 $0.00005 $0.00308
Haiku 4.5 $0.00003 $0.00154

Measured 13d ago against content hash 338bd6940a15, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

trade-pipeline-run scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/trade-pipeline-run/SKILL.md · 146 lines

How it starts

The opening of the file, as written. The whole thing — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Trade Pipeline Run — Execute the Document Pipeline

Trigger

When the user says: 处理询价单, 生成报价单, 做报价, 做PI, 做CI, 做PL, 跑管线, run pipeline, generate quotation, process inquiry, 处理这个Excel, 帮我出单

Prerequisites

Before running, verify in order:

  1. Current directory: must contain trade_pipeline/ directory. If not, cd to the repo root.

  2. Installation check: run trade-pipeline --help. If that command is not found, try python -m trade_pipeline --help, then python3 -m trade_pipeline --help (Mac / Linux have no bare python). If all fail, prompt:

    管线未安装。请在项目根目录(含 pyproject.toml)先建虚拟环境再安装:
    
      Mac / Linux:
        python3 -m venv .venv && source .venv/bin/activate
      Windows PowerShell:
        py -m venv .venv; .\.venv\Scripts\Activate.ps1
    
      pip install -e .
    
    (不能跳过虚拟环境:Homebrew 和多数 Linux 发行版的系统 Python 受 PEP 668 保护,
    直接 pip install 会报 externally-managed-environment。)
    
  3. Config check: Read trade_pipeline/config/config.yaml.

    • If seller name_en contains "ACME EXPORT" or buyer email contains ".example.com" → inform user: "当前使用示例配置,可以跑 demo 体验。真实业务请先说"初始化配置"运行 init skill。"
    • Continue regardless (demo mode is fine).

Flow 1: Pipeline Execution

Step 1: Collect Input

Use AskUserQuestion to ask:

Question 1 — 询价单路径:

  • If user already provided a file path in their message, use it directly
  • Otherwise ask: "询价单 Excel 文件路径?"
  • Verify the file exists with Read tool

Question 2 — 订单号:

  • Ask: "订单号?(用于命名输出文件)"
  • Options can include suggestions like DEMO, or user types custom

Question 3 — 选择客户:

  • Read trade_pipeline/config/config.yaml, extract buyer keys and name_en
  • Use AskUserQuestion with options:
    • Each configured buyer: buyer_id — name_en
    • _new — 新客户(buyer 信息填 TBD)
    • "Other" for manual input
  • Maximum 4 options (AskUserQuestion limit), prioritize most recently used

Step 2: Execute

Run via Bash:

trade-pipeline --input <path> --order <order_no> --buyer <buyer_id>

If trade-pipeline command not found, fallback to:

python -m trade_pipeline --input <path> --order <order_no> --buyer <buyer_id>

Read the full file on GitHub · 146 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 146 lines · 27 tokens per session scan A 338bd6940a15

Subscribe to this mod's changes

trade-pipeline-run is a skill published in the GitHub repository Dangooy/trade-pipeline-skill (25 stars, last pushed 8d ago), licensed MIT. It adds 27 tokens to every session and 1,539 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

bank-statement-parsing

Guidelines for parsing bank statements using YOLO layout detection + OCR + LLM.

johnsonhk88/AI-Bank-Statement-Document-Automation-By-LLM-And-Personal-Finanical-Analysis-Prediction · 23 tokens

dcf-model

Build discounted cash flow valuation workbooks in Excel.

NousResearch/hermes-agent · 14 tokens

comps-analysis

Build comparable-company valuation workbooks in Excel.

NousResearch/hermes-agent · 13 tokens

tear-sheet

Generate professional company tear sheets using S&P Capital IQ data via the Kensho LLM-ready API MCP server. Use this skill whenever the user asks for a tear sheet, company one-pager, company profile, fact sheet, company snapshot, or company overview document — especially when they mention a specific company name or…

anthropics/financial-services · 143 tokens

pitch-deck

Populates investment banking pitch deck templates with data from source files. Use when: user provides a PowerPoint template to fill in, user has source data (Excel/CSV) to populate into slides, user mentions populating or filling a pitch deck template, or user needs to transfer data into existing slide layouts. Not…

anthropics/financial-services · 73 tokens

lbo-model

This skill should be used when completing LBO (Leveraged Buyout) model templates in Excel for private equity transactions, deal materials, or investment committee presentations. The skill fills in formulas, validates calculations, and ensures professional formatting standards that adapt to any template structure.

anthropics/financial-services · 57 tokens