amazon-asin-profit

根据平台交易数据生成亚马逊 SKU/ASIN 级别的利润率报表。触发条件包括用户说出“SKU利润率表”、“ASIN利润率表”、“产品利润率报表”或“Amazon product profit report”及类似短语。需提供三类输入文件:月度统一交易 CSV、产品成本 Excel、广告推广产品报告 Excel。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "amazon-asin-profit":https://skillpi.com/zh/skills/deepskill-6259f29f7ff930c05bad77d7f112da10b50486ddc8cf52c6baffa7178eff485c。安装前核对上游来源和版本:https://skillhub.cn/skills/user_a1a65321/amazon-asin-profit。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

根据平台交易数据生成亚马逊 SKU/ASIN 级别的利润率报表。触发条件包括用户说出“SKU利润率表”、“ASIN利润率表”、“产品利润率报表”或“Amazon product profit report”及类似短语。需提供三类输入文件:月度统一交易 CSV、产品成本 Excel、广告推广产品报告 Excel。

0 下载

介绍来源: third_party · user_a1a65321 · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
输入和输出
Ask the user to provide all three: 1. **Platform transaction CSV** — Monthly Unified Transaction report (Amazon Settlement) 2. **Product cost Excel** — Cost table with columns: `名称`, `SKU`, `ASIN`, `采购成本(USD)`, `头程运费(USD)`, `总成本(USD)` 3. **Advertising data Excel** — Promoted products report (`商品推广_推广的商品_报告`) with `广告SKU` column for spend alignment 4. **Template Excel** — `sale_profit_asin_template.xlsx` (50-column template A-AX, in user workspace)
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: amazon-asin-profit
description: >
  Generate Amazon SKU/ASIN-level profit margin reports from platform transaction data.
  Triggers when user says: "SKU利润率表", "ASIN利润率表", "产品利润率报表", "Amazon product profit report",
  or similar phrases. Requires 3 input files: (1) monthly unified transaction CSV,
  (2) product cost Excel, (3) advertising promoted products report Excel.

Amazon ASIN Profit Report Generator

Generate a product-dimension profit margin report (50-column Excel, A-AX) from Amazon transaction, cost, and advertising data.

Required Input Files

Ask the user to provide all three:

  1. Platform transaction CSV — Monthly Unified Transaction report (Amazon Settlement)
  2. Product cost Excel — Cost table with columns: 名称, SKU, ASIN, 采购成本(USD), 头程运费(USD), 总成本(USD)
  3. Advertising data Excel — Promoted products report (商品推广_推广的商品_报告) with 广告SKU column for spend alignment
  4. Template Excel — sale_profit_asin_template.xlsx (50-column template A-AX, in user workspace)

Output

A 50-column Excel file with per-SKU profit rows + totals row. See references/template_mapping.md for full column definitions.

Workflow

Step 1: Verify Data Files

Confirm the user has all 3 data files and the template. Check column names match expected format. If any are missing, ask the user to provide them.

Step 2: Run the Script

Use the bundled script scripts/generate_report.py with the actual file paths:

python scripts/generate_report.py \
    --csv <transaction_csv> \
    --cost <cost_xlsx> \
    --ad <ad_xlsx> \
    --template <template_xlsx> \
    --output <output_xlsx>

The script:

  • Reads CSV (skips 9 metadata rows, filters Transfer/Cost of Advertising)
  • Extracts real SKU from amzn.gr.XXX- prefixed values
  • Aggregates orders, refunds, adjustments by SKU
  • Reads cost table, builds SKU→cost mapping
  • Reads ad data (promoted products report), groups by 广告SKU, aggregates spend/sales/orders
  • Allocates shared costs (storage, service fees, liquidation) by net sales ratio
  • Computes all 50 columns per SKU
  • Writes output with proper formatting (currency, percentage, integer, rate)

Step 3: Present Results

After the script runs, show the user a summary table with key metrics:

SKU 净销售额 毛利润(I) 毛利率(J) 平均毛利润(K) 广告占比(L)
...
合计

Column Mapping Reference

Load references/template_mapping.md when detailed column definitions or formula explanations are needed.

Customizations

If the user's data files use different column names, adapt the script's column references accordingly before running.

当前收录版本

1.0.0

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 解决 Amazon 卖家核心财务分析需求,提供 SKU/ASIN 级别利润率报表
  • 面向明确电商运营场景,实用价值高,受众清晰
触发精准90/100

亮点

  • 触发词覆盖中英文,包括“SKU利润率表”、“Amazon product profit report”等,边界清晰
结构规范95/100

待提升项

  • description 内容重复 原报告严重程度:轻微

    顶层 frontmatter 和 skill_body 内部均包含完整 description,存在冗余

    改进建议:建议移除 skill_body 内部的 description 重复内容,保持唯一性

亮点

  • 文档结构完整,包含输入文件说明、执行步骤、输出格式、参考文档链接
  • 提供端到端 bash 命令示例,流程清晰可执行
执行可靠88/100

亮点

  • 脚本路径和参数明确,数据清洗逻辑详尽(跳过元数据、提取真实 SKU)
  • 成本分摊机制合理(按净销售额比例分配共享费用),输出格式规范
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。