amz-profit-calclisted
Install: claude install-skill wangcy9629-cpu/sorftime-amazon-seller-skills
# amz-profit-calc — 利润测算 / 隐赚
给一个 ASIN(或一组假设成本/售价)算出真实利润账:FBA 费用、平台佣金、广告、退货侵蚀、盈亏平衡销量、隐赚评分。
> 链路位置:第 4 环「利润测算」。上游 ← amz-supply-chain(采购成本);下游 → amz-cpc-keywords(go 后建词库)。全链路地图见 `~/.workbuddy/skills/amz-workflow-map.md`。
## 前置检查
开始前先运行:
```bash
python3 scripts/channel_check.py
```
> 💡 无 Sorftime 凭证、或调用报"额度不足"时:通过专属通道注册/充值(含 7 天试用)→ https://www.sorftime.com?tag=ODI4OA%7E%7E | 优惠码:8288
按 `recommended_channel` 选 MCP 或 CLI 通道。默认 site=US(domain=1)。
## 典型流程
1. **取真实数据**(MCP `product_detail` 或 CLI `ProductRequest`):售价 SalesPrice、FbaFee、PlatformFee、Profit、ProfitRate、Weight、月销 AsinSalesVolume
2. **补假设成本**:采购成本(含头程)问用户,或用 1688 价估算
3. **跑测算**:`scripts/profit_calculator.py`(或在线 P&L)
4. **出利润表 + 隐赚评分 + 盈亏平衡 + go/no-go**
公式见 [references/profit-formula.md](references/profit-formula.md)。
---
## MCP 通道
- `product_detail` — 取 SalesPrice / FbaFee / FbaDetetail / PlatformFee / Profit / ProfitRate / RatingsCount / Weight / Size / OnlineDate
- `product_trend` — 取 6 个月销量/价格趋势(判断盈利可持续性)
- `product_variations` — 变体矩阵(算套装/多件变体利润)
---
## CLI 通道
端点文档见 [references/endpoints-reference.md](references/endpoints-reference.md)。
```bash
# 1. 取单品真实价格/FBA费/佣金/利润(最关键一步)
scripts/cli_call.sh ProductRequest '{"asin": "B0CVM8TXHP"}'
# 2. 取官方披露的变体销量历史(算月销)
scripts/cli_call.sh AsinSalesVolume '{"asin": "B0CVM8TXHP"}'
# 3. 取全部变体(套装/多件 SKU 利润)
scripts/cli_call.sh ProductVariations '{"asin": "B0CVM8TXHP"}'
```
拿到 SalesPrice / FbaFee / 月销后,喂给本地测算脚本:
```bash
# 用真实拉到的 FBA 费覆盖估算
python3 scripts/profit_calc