技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
amazon-store-research【数据与研究】对任何亚马逊卖家店铺进行全面的深度研究。当用户提供店铺URL时使用此skill,包括研究亚马逊店铺、分析卖家 storefront、 调查亚马逊品牌、研究竞品店铺,或提供亚马逊店铺URL(amazon.com/stores/...)。也可在以下请求时触发: "调研这个亚马逊店铺"、"分析这个Amazon卖家"、"深度调研Amazon店铺"、"分析亚马逊品牌店铺"、 "Amazon店铺调研"、"调研这个卖家"、"分析竞争对手店铺",或任何研究/分析/调查亚马逊卖家店铺或品牌 storefront 的请求。
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
任何亚马逊卖家店铺的端到端自主研究工作流。用户提供店铺URL;skill从 storefront 收集数据、运行并行分析,并生成全面的中文报告包。
{project_root}/reports/{store-slug}/(例如 reports/jmbricklayer/)。
在每次运行开始时创建子目录。skill分三个阶段运行:数据收集、并行分析、报告综合。使用TaskCreate/TaskUpdate追踪进度。
重要:所有文件输出(JSON数据、分析报告、综合报告)必须进入 reports/ 下的店铺特定子文件夹。从店铺名称中提取人类可读的slug(例如 "JMBricklayer" → jmbricklayer)。在保存任何文件之前创建目录。
从用户消息中提取:
https://www.amazon.com/stores/JMBricklayer/page/3CACFA02-74C5-4F9D-81DB-0BF560B7BA47使用 mcp__playwright__browser_navigate 导航到店铺URL。等待页面完全加载。
首先,使用 mcp__playwright__browser_evaluate 提取店铺导航结构:
() => {
const storeInfo = {};
const navItems = Array.from(document.querySelectorAll('nav a, nav button'));
storeInfo.navigation = navItems.map(item => ({
text: item.textContent?.trim(),
url: item.href || '',
type: item.tagName === 'BUTTON' ? 'dropdown' : 'link'
})).filter(item => item.text && item.text.length > 0 && item.text !== 'Back');
const productLinks = Array.from(document.querySelectorAll('a[href*="/dp/"]'));
storeInfo.productLinks = productLinks.map(a => ({
asin: a.href.match(/\/dp\/([A-Z0-9]+)/)?.[1],
text: a.textContent?.trim()?.substring(0, 200)
}));
const collectionLinks = Array.from(document.querySelectorAll('a[href*="/stores/page/"]'));
storeInfo.collections = collectionLinks.map(a => ({
text: a.textContent?.trim(),
url: a.href,
id: a.href.match(/page\/([A-F0-9-]+)/)?.[1]
})).filter(c => c.text && c.text.length > 0);
return storeInfo;
}
这揭示了:
使用 mcp__playwright__browser_evaluate 运行此产品提取脚本:
() => {
const products = [];
const seen = new Set();
const allLinks = Array.from(document.querySelectorAll('a[href*="/dp/"]'));
allLinks.forEach(a => {
const href = a.href;
const asinMatch = href.match(/\/dp\/([A-Z0-9]+)/);
if (!asinMatch) return;
const asin = asinMatch[1];
if (seen.has(asin)) return;
const title = a.textContent?.trim();
if (title && title.length > 20 && !title.includes('Amazon Business') && !title.includes('Reload Your')) {
seen.add(asin);
const container = a.closest('li') || a.parentElement?.parentElement?.parentElement || document.body;
const containerText = container?.innerText || '';
const priceMatch = containerText.match(/\$[\d,.]+/);
const reviewMatch = containerText.match(/\(([\d,K]+)\)/);
const ratingMatch = containerText.match(/([\d.]+) out of 5/);
products.push({
asin,
title: title.substring(0, 200),
price: priceMatch?.[0] || null,
reviews: reviewMatch?.[1] || null,
rating: ratingMatch?.[1] || null,
url: href.split('?')[0]
});
}
});
return products;
}
使用步骤1.2发现的合集URL导航到每个关键页面。标准店铺页面包括:
对于每个页面,使用步骤1.3中的相同产品提取脚本。
导航到从导航中发现的每个主题合集页面。使用相同的产品提取脚本。
常见合集模式:
重要:识别导航中的下拉菜单。下拉项(由 type: 'dropdown' 或嵌套链接指示)包含实际的合集子页面。抓取每个子合集页面。
所有抓取完成后运行 mcp__playwright__browser_close。
将所有抓取的数据整合到 reports/{store-slug}/{store-slug}_store_data.json 的单个JSON文件中,结构如下:
{
"storeInfo": {
"brandName": "...",
"storeUrl": "...",
"storefrontId": "...",
"scrapeDate": "...",
"navigation": [...],
"totalUniqueASINs": 0,
"priceRange": "..."
},
"homePage": { "products": [...] },
"bestSellers": { "products": [...] },
"newReleases": { "products": [...] },
"collections": {
"Collection Name": { "productCount": 0, "products": [...] }
}
}
跨所有页面去重ASIN并计算唯一产品数。
使用 run_in_background: true 和 subagent_type: "general-purpose" 同时启动 4个分析代理。
每个代理接收完整的原始数据并将报告写入 reports/{store-slug}/。
文件:reports/{store-slug}/{store-slug}_portfolio_analysis.md
提示代理分析:
文件:reports/{store-slug}/{store-slug}_competitive_analysis.md
提示代理分析:
文件:reports/{store-slug}/{store-slug}_revenue_analysis.md
提示代理分析:
文件:reports/{store-slug}/{store-slug}_growth_strategy.md
提示代理分析:
重要:将实际抓取的数据(不是摘要)传递给每个代理。从JSON文件包含所有产品ASIN、标题、价格、评分和评论数。代理需要真实数据才能产生有意义的分析。
等待所有4个代理完成(你将收到任务通知)。然后启动一个最终综合代理
(subagent_type: "general-purpose",这次是前台运行,因为我们需要结果)来生成综合报告。
文件:reports/{store-slug}/{store-slug}_comprehensive_report.md
综合代理应:
reports/ 读取所有4份分析报告# {Store Name} 亚马逊店铺深度调研报告
## 目录
1. 执行摘要
2. 店铺全景概览
3. 产品组合深度分析
4. 竞争定位与差异化策略
5. 收入与销售表现
6. 增长机会与风险评估
7. 运营优化建议
8. 关键发现与行动建议
必须包含的关键部分:
所有阶段完成后,向用户呈现:
mcp__web_reader__webReader 作为备选browser_snapshot 检查页面结构并调整