cx-keepa 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1 +1,19 @@
1
- Keepa tracks price, BSR, Buy Box, offers, coupons and estimated monthly sales across eleven Amazon marketplaces.
1
+ # Keepa
2
+
3
+ Keepa has followed Amazon products for years. With this plugin, cx can read that history for you: a product's price, sales rank (BSR), Buy Box owner, offers, coupons and estimated monthly sales, day by day, on Amazon US, UK, DE, FR, JP, CA, IT, ES, IN, MX and BR.
4
+
5
+ An Amazon page shows you only today. Keepa shows what happened before it, so cx can answer questions like these:
6
+
7
+ - When did my rank start to fall, and what changed that day: the price, the Buy Box, the stock?
8
+ - Which products sell best for a search, and at what price, rating and monthly sales?
9
+ - Is this product selling more or less than at this time last year?
10
+
11
+ cx finds a product by its ASIN or by its name. Given a name, it searches, checks the title and model of what it finds, and asks you to choose where more than one product matches.
12
+
13
+ ## What it costs
14
+
15
+ Each product cx reads is billed to your ComChatX balance. The plugin's page shows the price of one product, and Usage shows every purchase and its cost.
16
+
17
+ ## What it needs
18
+
19
+ Keepa installs with cx-sources, which buys and reads data for cx.
@@ -0,0 +1,19 @@
1
+ # Keepa
2
+
3
+ Keepa 多年来一直在记录亚马逊商品的数据。装上这个插件,cx 就能替你查这些历史:商品每天的价格、销售排名(BSR)、Buy Box 归属、报价、优惠券和月销量预测,覆盖亚马逊美国、英国、德国、法国、日本、加拿大、意大利、西班牙、印度、墨西哥和巴西站。
4
+
5
+ 亚马逊页面只显示今天的数据。Keepa 能看到之前发生了什么,所以 cx 可以回答这样的问题:
6
+
7
+ - 我的排名是从哪一天开始下滑的?那天价格、Buy Box 或库存有什么变化?
8
+ - 某个搜索词下哪些商品卖得最好?它们的价格、评分和月销量各是多少?
9
+ - 这个商品现在的销量比去年同期高还是低?
10
+
11
+ cx 可以按 ASIN 或商品名称查找商品。给出名称时,cx 会先搜索,核对找到的商品标题和型号;如果有多个商品都符合,会请你选择。
12
+
13
+ ## 费用
14
+
15
+ cx 每读取一个商品,都会从你的 ComChatX 余额扣款。插件页面会显示读取一个商品的价格,「用量」页列出每一笔购买和费用。
16
+
17
+ ## 依赖
18
+
19
+ Keepa 会和 cx-sources 一起安装,cx-sources 负责替 cx 购买和读取数据。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cx-keepa",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Amazon price and BSR history.",
5
5
  "license": "MIT",
6
6
  "author": "ComChatX",
@@ -17,10 +17,15 @@
17
17
  "pi": {
18
18
  "skills": [
19
19
  "./skills"
20
+ ],
21
+ "prompts": [
22
+ "./prompts"
20
23
  ]
21
24
  },
22
25
  "files": [
23
- "skills"
26
+ "skills",
27
+ "prompts",
28
+ "README.zh-CN.md"
24
29
  ],
25
30
  "scripts": {
26
31
  "typecheck": "tsc --noEmit",
@@ -28,8 +33,9 @@
28
33
  },
29
34
  "comchatx": {
30
35
  "name": "Keepa",
31
- "about": "亚马逊商品的历史价格和 BSR 走势。",
32
- "description": "Keepa 提供 11 个亚马逊站点的历史价格、BSR、Buy Box、报价、优惠券和月销量预测。",
36
+ "description": {
37
+ "zh": "亚马逊商品的历史价格和 BSR 走势。"
38
+ },
33
39
  "mark": {
34
40
  "logo": "keepa"
35
41
  },
@@ -39,53 +45,20 @@
39
45
  "en": "Investigate the history of price changes, Buy Box ownership and seasonal rank movement, and assess product opportunities. Available for Amazon US, UK, DE, FR, JP, CA, IT, ES, IN, MX and BR.",
40
46
  "zh": "查看价格变化、Buy Box 归属和季节性排名的历史记录,并评估选品机会。数据涵盖亚马逊美国、英国、德国、法国、日本、加拿大、意大利、西班牙、印度、墨西哥和巴西站。"
41
47
  },
42
- "tryIt": [
43
- {
44
- "en": "My power bank {asin} went from rank 800 to 2,300 in Electronics over the last two weeks. Pull its price, Buy Box and stock history for that stretch and show me the day things turned.",
45
- "zh": "我的充电宝 {asin} 在电子类目的排名两周内从 800 掉到 2300。查看这段时间的价格、Buy Box 和库存记录,找出从哪一天开始变化。"
46
- },
47
- {
48
- "en": "Find the ten best-selling 20,000 mAh power banks on Amazon US, with each one's price, rating, review count and monthly sales, in one table.",
49
- "zh": "找出亚马逊美国站销量最高的十款 20000 mAh 充电宝,把每款的价格、评分、评论数和月销量放进一张表格。"
50
- },
51
- {
52
- "en": "Is {asin} on Amazon JP selling more or less than it did at this time last year?",
53
- "zh": "亚马逊日本站的 {asin} 现在销量比去年同期高还是低?"
54
- }
55
- ],
56
- "builds": [
57
- "cx-sources"
58
- ],
59
48
  "skills": {
60
49
  "keepa": {
61
- "about": {
62
- "en": "Looks up products on Keepa by ASIN or name across eleven Amazon marketplaces.",
63
- "zh": "按 ASIN 或名称查询 11 个亚马逊站点的 Keepa 数据。"
64
- },
65
- "when": [
66
- {
67
- "en": "Checking what a product sells for now, or how its price moved",
68
- "zh": "查看商品当前价格和历史变化"
69
- },
70
- {
71
- "en": "Finding out who holds the Buy Box, and since when",
72
- "zh": "查看 Buy Box 归属及变更时间"
73
- },
74
- {
75
- "en": "Seeing which products sell best for a search or in a category",
76
- "zh": "查看搜索结果或类目中的畅销商品"
77
- }
78
- ],
79
- "tryIt": [
80
- {
81
- "en": "My power bank {asin} went from rank 800 to 2,300 in Electronics over the last two weeks. Pull its price, Buy Box and stock history for that stretch and show me the day things turned.",
82
- "zh": "我的充电宝 {asin} 在电子类目的排名两周内从 800 掉到 2300。查看这段时间的价格、Buy Box 和库存记录,找出从哪一天开始变化。"
83
- },
84
- {
85
- "en": "Find the ten best-selling 20,000 mAh power banks on Amazon US, with each one's price, rating, review count and monthly sales, in one table.",
86
- "zh": "找出亚马逊美国站销量最高的十款 20000 mAh 充电宝,把每款的价格、评分、评论数和月销量放进一张表格。"
87
- }
88
- ]
50
+ "zh": "按 ASIN 或名称查询 11 个亚马逊站点的商品价格、排名、Buy Box 和销量历史,也能查卖家信息。"
51
+ }
52
+ },
53
+ "prompts": {
54
+ "rank-drop": {
55
+ "zh": "从价格、Buy Box 和库存记录中找出商品排名开始变化的那一天"
56
+ },
57
+ "top-ten": {
58
+ "zh": "把亚马逊美国站某个搜索词下的十款畅销商品放进一张表格对比"
59
+ },
60
+ "year-on-year": {
61
+ "zh": "查看商品现在的销量比去年同期高还是低"
89
62
  }
90
63
  },
91
64
  "source": {
@@ -111,6 +84,9 @@
111
84
  },
112
85
  "mcp": "keepa"
113
86
  },
87
+ "dependencies": {
88
+ "cx-sources": "^0.1.3"
89
+ },
114
90
  "devDependencies": {
115
91
  "@earendil-works/pi-coding-agent": "1.4.0",
116
92
  "@types/node": "26.2.0",
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: Find the day a product's rank turned, from its price, Buy Box and stock history
3
+ argument-hint: "<asin> [marketplace]"
4
+ ---
5
+ My product $1 on Amazon ${2:-US} has lost sales rank over the last two weeks. Read its price, sales rank, Buy Box and stock history for the last 30 days from Keepa, and show me the day things turned. For that day, say what changed: its own price, a competitor's price or coupon, who held the Buy Box, or whether it ran out of stock. End with what I should change this week.
@@ -0,0 +1,4 @@
1
+ ---
2
+ description: Compare the ten best sellers for a search on Amazon US in one table
3
+ ---
4
+ Find the ten best-selling ${@:-20,000 mAh power banks} on Amazon US with Keepa. Put each one's ASIN, title, price, rating, review count and estimated monthly sales in one table, best seller first. Under the table, say what the best sellers have in common, and at what price and rating a new product would have room.
@@ -0,0 +1,5 @@
1
+ ---
2
+ description: See whether a product sells more or less than at this time last year
3
+ argument-hint: "<asin> [marketplace]"
4
+ ---
5
+ Is $1 on Amazon ${2:-US} selling more or less than it did at this time last year? From Keepa, compare its estimated monthly sales, sales rank and price over the same four weeks of this year and last year, in a table, and say what most likely explains the difference.