hlzd-quotation-genlisted
Install: claude install-skill Alexxiang2008/hlzd-b2b-export-skills
# HLZD 智能报价(Quotation Generator)
把"SKU + 数量 + 目的港 + 贸易术语"变成 3 套可签 FOB/CIF/DDP 报价 + 健康检查。
---
## When to use
调用本 Skill 当用户:
- 拿到 `hlzd-solution-match` 出的 plan(best_match / alternative / cost_effective)
- 客户发了 RFQ 需要 24h 内回报价
- 想对比 FOB/CIF/DDP 三套不同条款下的真实利润
- 想加账期建议(30/70 T/T、LC、信用风险国)
**不要调用本 Skill 当**:
- 已经签了合同(这时候是真实履约,不是报价)
- 客户已经接受了报价(走合同细节)
- 单次大批量订单需要手工 custom 谈判(这是 negotiation-playbook)
---
## How this skill is invoked
```bash
# 接 solution-match 最佳方案
cat solution.json | py ../hlzd-solution-match/scripts/cli.py --stdin > best_plan.json
py scripts/cli.py --sku-json '{"sku":"X","currency":"USD","unit_price_per_ton":1480}' \
--quantity 500 --country SA --incoterm FOB --pretty
# 或独立 CLI(直接传 SKU dict)
echo '{"sku":"OCTG-L80","currency":"USD","unit_price_per_ton":1480}' \
| py scripts/cli.py --stdin --quantity 500 --country AE --incoterm CIF
```
CLI 参数:
| Flag | Default | 说明 |
|---|---|---|
| `--quantity` | 必填 | 数量(ton) |
| `--country` | 必填 | 目的国(ae / sa / us / ng ...)|
| `--incoterm` | "FOB" | FOB / CIF / DDP 任选 |
| `--currency` | "USD" | 输出币种 |
| `--margin` | 0.18 | 利润率(0.18 = 18%)|
| `--containers` | 1 | 20GP 集装箱数 |
---
## Output schema(3 套报价)
```json
{
"$schema": "hlzd/quotation-gen/v1",
"sku": "OCTG-L80-95-BTC-PREMIUM",
"quantity_tons": 500,
"target_country": "SA",
"currency": "USD",
"profit_margin_assumed": 0.18,
"components": {
"factory_unit_price_usd": 1480.0,
"factory_cost_usd": 740000.0,
"packaging_cost_usd": 9000.0,