amazon-pricing-command-center
Skill77 starsChanged 8 months agoMITView on GitHub
Data-driven pricing strategy engine for Amazon sellers. Given one or more ASINs, auto-detects each product's leaf category, analyzes the pricing landscape, and delivers RAISE/HOLD/LOWER signals with profit simulation. Supports single ASIN or batch (multiple ASINs, auto-grouped by category). Uses ZooData API endpoints with cross-validation. Use when user asks about: pricing strategy, how much to price, optimal price, price optimization, competitor pricing, price war, BuyBox strategy, profit margin, pricing analysis, should I raise price, should I lower price, price comparison, price positioning, repricing, should I raise or lower price. Requires ZOODATA_API_KEY.
- Reads credentials
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- amazon-analysisSkill
- amazon-competitor-intelligence-monitorSkill
- amazon-daily-market-radarSkill
- amazon-keyword-traffic-analysisSkill
- amazon-listing-audit-proSkill
- amazon-market-analysisSkill
- amazon-review-intelligence-extractorSkill
- web-extractSkill
- zoodataSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 34
Network: only https://api.zoodata.ai (Bearer ZOODATA_API_KEY).
- Very specific: line 58
Use leaf category name → categories --keyword "{leaf_category_name}" → get categoryPath
- Distinctive: line 59
If categories returns empty, try the second-to-last BSR entry, or ask user
- Very specific: line 63
Read references/reference.md § 2 for market revenue fields.
- Very specific: line 75
When _transport.status=401, stop further calls, tell the user that the configured key was rejected, direct them to …
- Very specific: line 79
When _transport.status=402, stop further calls.
- Distinctive: line 90
Don't pick highest-sales band.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dynamic Pricing Intelligence Agent — RAISE / HOLD / LOWER
Give me your ASIN(s). I'll tell you whether to raise, hold, or lower — with data.
Files
- Script:
{skill_base_dir}/scripts/zoodata.py— run--helpfor params - Reference:
{skill_base_dir}/references/reference.md(field names & response structure)
Credential
Required: ZOODATA_API_KEY. Get free key at zoodata.ai/api-keys
Capabilities & Data Flow
- Network: only
https://api.zoodata.ai(BearerZOODATA_API_KEY). SettingZOODATA_BASE_URLto an untrusted host (anything other thanapi.zoodata.ai/*.zoodata.ai/ localhost) makes the CLI refuse the request and withhold the key — the Bearer token is never sent to an untrusted host. - Execution: bundled shared ZooData CLI
{skill_base_dir}/scripts/zoodata.py(Python 3, stdlib-only). This skill allowscategories,product,products,competitors,market,price-band-overview,price-band-detail,brand-overview,brand-detail,history,analyze, andcheck. Do not invoke unrelated subcommands for this skill's tasks — the bundled manifest{skill_base_dir}/scripts/allowed-commands.jsonenforces this: the CLI refuses out-of-scope subcommands with a structuredCOMMAND_NOT_ALLOWEDerror before any API request. - Local files: none; reads the optional credential store
~/.zoodata/config.json. - Sent to the API: keywords, category paths, ASINs, marketplace/date and numeric filter values only. Never sent: budget, experience level, risk tolerance, or any other user-profile text — profile inputs map client-side to numeric filters.
- Credits: every API call consumes account credits. This skill drives the endpoints granularly (no single composite command); a per-ASIN pricing analysis orchestrates ~11 endpoints for ~20-25 credits, and batch runs scale by unique category (see API Budget below). For batch or broad requests, state the estimated credit cost and confirm with the user before running.
Shared CLI Contract
Before selecting or invoking the first command, read and apply the local references/cli-contract.md. Reapply it after every granular or composite result and before any fallback, additional call, state write, interpretation, or user-facing report. Use this skill's fallback logic only when the shared contract classifies the result as non-terminal.
Local Interface Failure Output
For a terminal interface failure, respond in the user's language that the pricing assessment could not be completed, followed by the succeeded and failed endpoint identifiers. Do not issue RAISE/HOLD/LOWER, a recommended price, or a profit simulation. Keep control tokens, parameters, and retry logs internal unless diagnostics are requested.
Input
- Required: one or more ASINs (your products). No keyword needed — category is auto-detected.
- Optional: competitor_asins
On first interaction, tell user: "Give me your ASIN(s). I support single or batch analysis — I'll auto-detect each product's category and analyze the pricing landscape for you."
Auto Category Detection (CRITICAL — replaces manual keyword input)
- For each ASIN:
product --asin {asin}→ extractbestsellersRankarray - The last entry in
bestsellersRank= leaf (most specific) category - Use leaf category name →
categories --keyword "{leaf_category_name}"→ getcategoryPath - If categories returns empty, try the second-to-last BSR entry, or ask user
- Batch mode: group ASINs by leaf category → share market data within same category (saves credits)
API Pitfalls
- Read
references/reference.md § 2for market revenue fields; do not calculate revenue from price × sales. - Sales =
monthlySalesFloor(lower bound) - Price in realtime:
buyboxWinner.price, NOT top-levelprice - All keyword-based endpoints MUST include
--categoryonce categoryPath is locked - FBA fees from products/search are estimates — verify with Amazon FBA calculator
- Aggregation endpoints without categoryPath produce severely distorted data
On Missing Key
When ZOODATA_API_KEY is not set (verify via python {skill_base_dir}/scripts/zoodata.py check — exits 2 if no key in env or ~/.zoodata/config.json), stop before any evidence call. Tell the user that a ZooData API key is required, link to https://zoodata.ai/en/api-keys, and explain that the key may be set in the environment or local config. Do not substitute public knowledge or a "for reference only" analysis.
On 401 Invalid Key
When _transport.status=401, stop further calls, tell the user that the configured key was rejected, direct them to https://zoodata.ai/en/api-keys, and do not fabricate missing data.
On 402 Credit Exhausted
When _transport.status=402, stop further calls. Report where the workflow stopped, any compatible partial findings already gathered, and returned credit metadata when present; direct the user to https://zoodata.ai/en/pricing and do not fabricate missing data.
Pricing Signal Logic
| Signal | Condition |
| RAISE | Price below opportunity band AND rating ≥ category avg AND BSR stable/rising |
| HOLD | Price in optimal band AND BSR stable AND no competitor price war |
| LOWER | Price above hottest band AND BSR declining OR competitor undercut detected |
New Seller Price Band Selection
Don't pick highest-sales band. Calculate per band: Sales/Competition Ratio = Avg Monthly Sales ÷ Avg Review Count Highest ratio = best entry point (strong demand + low review barriers).
Profit Simulation
3 scenarios: Conservative (current price), Moderate (±$1-2), Aggressive (±$3-5). Per scenario: Revenue = Price × Est. Sales − FBA Fee − Referral Fee (15%) − COGS = Net Profit & Margin.
Profit Margin Interpretation
| Net Margin | Signal | Interpretation |
| >30% | 🟢 Healthy | Strong margin, room for ad spend and promotions 📊 |
| 15-30% | 🟡 Acceptable | Viable but monitor costs closely 🔍 |
| 5-15% | 🟠 Thin | One price war or cost increase away from loss 🔍 |
| <5% | 🔴 Unsustainable | Must raise price, cut costs, or exit 💡 |
Price Position Analysis
- Price < opportunity band min: Underpriced — likely leaving money on the table if rating ≥ category avg 🔍
- Price in opportunity band: Optimal zone — hold unless competitors shift 🔍
- Price in hottest band: Maximum volume zone — high competition, margin pressure likely 🔍
- Price > hottest band max: Premium positioning — only viable with strong brand/reviews 🔍
- DB price ≠ Realtime price (>5% diff): Likely running a promotion or coupon — flag as temporary 📊
Output
Respond in user's language.
Per ASIN: Price Signal (RAISE/HOLD/LOWER) → Current Position in Category → Price Band Heatmap (with Sales/Competition Ratio) → Competitor Price Map (top 10 in leaf category) → 30-Day Trend → Profit Simulation (3 scenarios) → BuyBox Analysis → Recommended Price.
Batch summary (if multiple ASINs): Overview table (ASIN | Product | Category | Current Price | Signal | Recommended) → Per-ASIN detail.
End with: Data Provenance → API Usage. Flag DB vs Realtime discrepancies as likely promotions.
Language (required)
Output language MUST match the user's input language. If the user asks in Chinese, the entire report is in Chinese. If in English, output in English. Exception: API field names (e.g. monthlySalesFloor, categoryPath), endpoint names, technical terms (e.g. ASIN, BSR, CR10, FBA, credits) remain in English.
Disclaimer (required, at the top of every report)
Data is based on ZooData API sampling as of [date]. Monthly sales (
monthlySalesFloor) are lower-bound estimates. This analysis is for reference only and should not be the sole basis for business decisions. Validate with additional sources before acting.
Confidence Labels (required, tag EVERY conclusion)
- 📊 Data-backed — direct API data (e.g. "current price $12.99 📊")
- 🔍 Inferred — logical reasoning from data (e.g. "price is below opportunity band 🔍")
- 💡 Directional — suggestions, predictions, strategy (e.g. "consider raising to $14.99 💡")
Rules: Strategy recommendations and price signals (RAISE/HOLD/LOWER) are NEVER 📊. User criteria override AI judgment.
Data Provenance (required)
Include a table at the end of every report:
| Data | Endpoint | Key Params | Notes |
| (e.g. Market Overview) | markets/search | Copy actual _query.params | 📊 Full category and selected Top 100 metrics |
| ... | ... | ... | ... |
Extract endpoint and params from _query in JSON output. Add notes: sampling method, T+1 delay, realtime vs DB, minimum review threshold, etc.
API Usage (required)
| Endpoint | Calls | Credits |
| (each endpoint used) | N | N |
| Total | N | N |
Extract from meta.creditsConsumed per response. End with Credits remaining: N.
API Budget
- Single ASIN: ~20-25 credits
- Batch N ASINs (same category): ~20-25 + 1 per additional ASIN
- Batch N ASINs (different categories): ~20-25 per unique category
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

