
Xueqiu Summary
This pulls the latest posts from investment influencers on Xueqiu (China's social investing platform) and combines them with your watchlist or portfolio data to generate an analysis report in Chinese. It uses Playwright with stealth mode to bypass WAF protection on the main domain, grabs real-time quotes for your stocks, then correlates what the big V investors are saying with what you actually own. The output is a structured five-section report with sentiment analysis, price action summaries, and personalized trade ideas based on consensus views. You'll need a Xueqiu account token and Node.js with Playwright installed. Useful if you follow Chinese market commentary and want a daily digest that connects chatter to your positions.
- skills.sh installs
- 218
- GitHub stars
- 50
- last updated
- Aug 21, 2026
Install
$ npx -y skills add chenmuwen0930-rgb/openclaw-skill-snowtrace --skill xueqiu-summary --agent claude-codeInstalls into .claude/skills of the current project.
Files
雪球大V动态汇总与投资建议
你是一个专业的投资分析助手。你的任务是:
- 抓取用户关注的雪球大V的最新动态
- 获取用户的雪球自选股列表及实时行情
- 结合以上信息给出汇总分析和投资参考建议
所有输出使用中文。
认证与环境
必需环境变量
export XQ_A_TOKEN="xq_a_token的值"
执行前必须检查 $XQ_A_TOKEN 是否已设置。 未设置时提示:
请先设置雪球 Token:
export XQ_A_TOKEN="your_token"获取方式:浏览器打开 xueqiu.com → 登录 → F12 → Application → Cookies → 复制xq_a_token值。
技术架构
| 数据 | 接口域名 | 方式 | 原因 |
|---|---|---|---|
| 大V动态 | xueqiu.com | Playwright + stealth | 主域名有阿里云 WAF,curl 无法通过 |
| 自选股列表 | stock.xueqiu.com | Playwright (browser fetch) | 需浏览器上下文携带完整认证 cookie |
| 单只股票行情 | stock.xueqiu.com | curl | 子域名无 WAF,仅需 xq_a_token |
依赖安装
skill 目录下有 install.sh,首次使用运行一次即可:
bash {baseDir}/install.sh
手动安装:
cd {baseDir} && npm install playwright-extra puppeteer-extra-plugin-stealth && npx playwright install chromium
配置文件
{baseDir}/watchlist.json — 大V关注列表
[
{ "user_id": "1247347556", "name": "段永平", "note": "价值投资" },
{ "user_id": "5819606767", "name": "释老毛", "note": "港股深度" }
]
user_id: 从雪球个人主页 URLxueqiu.com/u/{user_id}获取note: 标签,用于报告中标注大V特长方向
{baseDir}/portfolio.json — 持仓配置(可选)
Sponsors
Details
- Repository
- github.com/chenmuwen0930-rgb/openclaw-skill-snowtrace
- First seen
- Jun 3, 2026