Skip to content
cccskills
FreePublished on GitHub

b2b-document

外贸文档分析 — 读取报价单/合同/PI/装箱单等贸易单据,提取报价、条款、规格等关键数据

The English summary is being prepared. Showing the original description.

chefroger/smart-trade-ai95 stars(GitHub 95 + cccskills 0)
Works withExcel

Run score Not tested

See how to install

Files included (9)

  • SKILL.md8.0 KB
  • assets/.gitkeep0 B
  • assets/README.md223 B
  • examples/.gitkeep0 B
  • examples/README.md245 B
  • references/.gitkeep0 B
  • references/README.md262 B
  • scripts/.gitkeep0 B
  • scripts/README.md304 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

---|------|-------------|-----|------|---------|------| | [确切] | [确切] | $3.50/pc [确切] | 1000 pcs [确切] | 30天 [确切] | T/T 30/70 [确切] | 📄 报价单.xlsx R12 |

每个单元格后标注置信度标签

⚠️ 数据冲突与异常

[如有] 列出所有发现的冲突/不一致/异常

已查找但未找到的信息

[必须] 列出你在文件中查找了但没有找到的信息

建议

[如有] 基于数据的业务建议,不要脱离数据做推测


## 置信度标签(每个关键数字后必标)

| 标签 | 含义 | 示例 |
|------|------|------|
| [确切] | 直接从文档中读到的精确值 | "$3.50/pc [确切]" |
| [计算] | 基于文档数值计算得出 | "$3,500.00 [计算:$3.50 × 1000]" |
| [推断] | 合理推断,非直接读取 | "约30天 [推断:基于历史交期]" |
| [不确定] | 文档模糊,用户应核实 | "TBD [不确定:单据此处空白]" |

## 引用格式
- Excel: 📄 {文件名} | Sheet: {sheet名} | Row: {行号} | Col: {列号}
- PDF: 📄 {文件名} | Page: {页码} | Section: {段落标题}
- Word: 📄 {文件名} | Section: {标题} | Paragraph: {段落号}
---

Examples:
- `📄 2024年度报价单.xlsx  |  Sheet: Sheet1  |  Row: 12-15  |  Column: C-E`
- `📄 客户资料.xlsx  |  Sheet: 联系方式  |  Row: 3`
- `📄 产品规格书.pdf  |  Page: 4  |  Section: 技术参数`

For PDF files, cite page numbers. For Word documents, cite section headings.

## Domain Terminology — Universal B2B Trade

### How to Handle Industry Terms

1. **Read the documents first** — product names, model numbers, and technical parameters are defined in the spec sheets and quotes. Let the documents teach you the domain.
2. **Map Chinese ↔ English** on the fly — many B2B documents mix languages. Translate freely; the LLM's multilingual ability handles this.
3. **Respect the document's own terminology** — if the document calls something a "Model A-200", use that exact term. Don't guess synonyms.
4. **Group by SKU / model number** — product codes (e.g. `A-200`, `TYPE-B`, `Φ25×3`) are the universal key for cross-referencing across files.

### Common Cross-Industry Parameters

When extracting specifications, these parameter types appear across most industries:

| Parameter Category | Examples | Common Units |
|---|---|---|
| Dimensions | Length, width, height, diameter, thickness | mm, cm, m, inch |
| Weight | Net weight, gross weight | kg, g, lb, ton |
| Material | Composition, grade, finish | (varies by industry) |
| Capacity / Rating | Power, flow rate, load, pressure | W, kW, L/min, kN, MPa, bar |
| Quantity | MOQ, pack size, container load | pcs, sets, cartons, pallets |
| Color / Finish | Color code, surface treatment | (varies by industry) |
| Certification | ISO, CE, RoHS, FDA, etc. | — |

### Cross-Industry Commercial Terms (通用商务术语)

| 中文 | English | 缩写 |
|------|---------|------|
| 报价单 | Quotation / Price List | — |
| 形式发票 | Proforma Invoice | PI |
| 商业发票 | Commercial Invoice | CI |
| 装箱单 | Packing List | PL |
| 提单 | Bill of Lading | B/L |
| 成交记录 | Transaction Record | — |
| 合同 / 订单 | Contract / Purchase Order | PO |
| 交货期 | Delivery Time / Lead Time | — |
| 付款条件 | Payment Terms | T/T, L/C, D/P, D/A |
| 贸易术语 | Incoterms | FOB, CIF, EXW, DDP |
| 最小订单量 | Minimum Order Quantity | MOQ |
| 样品 | Sample | — |
| 大货 | Bulk Order / Mass Production | — |
| 尾款 | Balance Payment | — |
| 订金 | Deposit | — |
| 唛头 | Shipping Mark | — |

### Currencies

Recognize and distinguish between:
- `¥` / `CNY` / `RMB` — 人民币
- `$` / `USD` — 美元
- `€` / `EUR` — 欧元
- `£` / `GBP` — 英镑
- `¥` / `JPY` — 日元
- `₩` / `KRW` — 韩元

### Unit Conversions

- 1 英寸 (inch) = 25.4 mm
- 1 英尺 (foot) = 304.8 mm
- 1 磅 (lb) ≈ 0.4536 kg
- 1 美吨 (short ton) ≈ 907.2 kg
- 1 公吨 (metric ton) = 1000 kg
- 1 加仑 (US gallon) ≈ 3.785 L
- 1 MPa = 1 N/mm² = 145 psi
- 1 bar = 100 kPa
- °F = °C × 9/5 + 32

## Excel Table Extraction Guide

When reading Excel files, follow these rules:

1. **Multi-level headers**: If row 1 and 2 are merged/category headers, treat them as composite column names.
2. **Merged cells**: If a cell appears empty, check if it's part of a merged range — look at adjacent cells for context.
3. **Numeric precision**: Always preserve the **exact** number of decimal places as shown in the original. Do not round.
4. **Units**: Note the unit in the column header or nearby cells. Distinguish between `mm` / `cm` / `m` / `inch`.
5. **Currency**: Note the currency marker. Distinguish between `¥`, `$`, `€`, `£`.
6. **Empty rows**: Skip empty rows between data sections. Pay attention to **subtotal** and **total** rows.
7. **Multi-sheet workbooks**: Treat each sheet independently. Sheet name often indicates product category or customer.

## Cross-Reference Patterns

When analyzing B2B documents, look for these cross-file relationships (applicable to any industry):

- **Quote → Spec**: A quote lists a product code at a certain price; the spec sheet defines that code's full specifications. Always cross-check.
- **Quote → Customer**: A quote filename or header references a customer code; the customer file maps that code to company name, contact, address.
- **Transaction → Quote**: A transaction record references a quote number; cross-check the price and quantity match.
- **Multiple Quotes**: Same product from different vendors → compare prices.
- **Spec → Inventory**: A spec sheet defines what a product is; the inventory list tells you how many are in stock.

## Long-Term Memory — B2B Usage

You have a `memory` tool that stores durable facts across sessions, and a `chat_memory_list` tool
that reads Trade's conversation history (scoped by company). Use them to carry findings forward.

### What to Store
- **Product facts extracted from docs**: model numbers, specs, prices, MOQs, lead times
- **Customer requirements mentioned by user**: target markets, certification needs, budget ranges
- **Cross-file linkages discovered**: which spec file defines the product in which quote
- **User decisions and preferences**: preferred output language, format style, naming conventions

### When to Store
- After reading a product spec sheet → store key parameters
- After the user mentions a customer name or requirement → store it
- After cross-referencing multiple files → store the discovered relationships
- After generating a document → store what was generated and for whom

### Recall Before Analysis
At the start of a new task, check for relevant past context: previously stored facts are already
in your context, and past conversations are reachable via `chat_memory_list`. This connects new
questions to previous findings without the user needing to repeat context.

## Privacy & Confidentiality

B2B documents often contain sensitive information:
- Client names and contact details
- Pricing and margin information
- Supplier identities

When analyzing, **always** follow the active privacy mode. Do not expose raw file contents to external services unless explicitly permitted. Prefer local analysis with read_file over uploading to cloud parsers.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

(已禁用) SMTP 邮件发送 — 此 skill 已被禁用,不会被系统触发

The English summary is being prepared. Showing the original description.

chefroger/smart-trade-ai95Updated Oct 27, 2026

全自动外贸客户开发编排器 — 一句话触发「搜索 → 背调 → 评分 → 写信 → 发送 → 入库 → 日志」端到端流水线

The English summary is being prepared. Showing the original description.

chefroger/smart-trade-ai95Updated Oct 27, 2026

买家画像与角色分层 — 按决策角色(采购/技术/老板)定制价值主张和沟通策略

The English summary is being prepared. Showing the original description.

chefroger/smart-trade-ai95Updated Oct 27, 2026

国内企业线索挖掘 — 找货源厂家(主)/ 挖竞品国内厂家(重点)/ 找国内客户,全部走免费公开渠道(搜索引擎/展会/海关记录/招聘/招投标/1688 人工核对)

The English summary is being prepared. Showing the original description.

chefroger/smart-trade-ai95Updated Oct 27, 2026

B2B 冷 outreach 邮件撰写(产品推广信、开发信、跟进信),基于公司产品数据与目标市场情报生成个性化邮件

The English summary is being prepared. Showing the original description.

chefroger/smart-trade-ai95Updated Oct 27, 2026

傻瓜式客户开发向导 — 三问启动,自动搜索客户 + 生成开发信

The English summary is being prepared. Showing the original description.

chefroger/smart-trade-ai95Updated Oct 27, 2026

See all skills by chefroger

Report a problem with this skill