product-cost-analyze-for-fba
Product Research Procedure
A reusable browser automation for fetching product data and estimating FBA profitability. The user provides a product keyword; the skill drives the user's logged-in Chrome through the Claude-in-Chrome MCP to find matching products on Amazon (monthly volume from the "bought in past month" badges), batch reverse-image-searches 1688.com for a wholesale FOB reference, runs the FBA profitability formula (via the Profitlee calc API), and writes a results.js data file that the bundled static HTML template renders — so the HTML is never regenerated and costs zero tokens per run.
Output files (per run)
All outputs go into a run directory, e.g. ~/Documents/product-research/<keyword>/:
| File | Written by | Description |
|---|---|---|
products.json |
Phase 1 | Amazon listings |
fob.json |
Phase 2 | 1688 FOB prices |
results.js |
Phase 3 | window.__FBA_DATA__ = {...} — loaded by the template |
report.html |
one-time copy | Copy of the bundled template (copy, don't regenerate) |
This skill is a single file. A user only needs SKILL.md — the two runtime
assets are produced on demand into the run dir:
calc.mjs(Phase 3 helper) is written from the copy embedded in this file (§3.2). No dependencies beyond Node ≥18 built-ins.report-template.html(Phase 4 renderer) is fetched from the skill's repo on first run (§Phase 4) and saved asreport.html.