skills/playwright-community-publisher/SKILL.md
使用 Playwright 半自动发布雪球、富途、老虎社区内容,支持帖子评论,以及雪球/富途/老虎社区“发帖 -> 发讨论”的预览确认后发布流程。
npx skillsauth add alter123-zz/RaccoonClaw playwright-community-publisherInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
当任务需要在 xueqiu、futu、tiger 这类社区页面里登录后发表评论,或在社区首页发帖/发讨论时,使用本 skill。
默认工作流是“半自动发布”:
不要默认做静默批量发布。优先使用 preview 模式,避免误发和风控。
雪球模式额外支持:
预览 -> 终端确认 -> 发布如果脚本提示 missing_dependency,推荐在 ~/.openclaw 根目录安装一次依赖,供所有 workspace 复用:
cd ~/.openclaw
npm install playwright
如果你只想给单个 agent workspace 安装,也可以在对应目录执行:
cd ~/.openclaw/workspace-chief_of_staff/skills/playwright-community-publisher
npm install
首次使用前,先保存平台登录态:
node scripts/save_auth_state.mjs --site xueqiu
node scripts/save_auth_state.mjs --site futu
node scripts/save_auth_state.mjs --site tiger
登录态会保存到:
~/.openclaw/playwright-community-publisher/auth/xueqiu.json~/.openclaw/playwright-community-publisher/auth/futu.json~/.openclaw/playwright-community-publisher/auth/tiger.jsonnode scripts/community_publisher.mjs \
--site xueqiu \
--action comment \
--url "https://xueqiu.com/..." \
--content-file /tmp/comment.txt \
--mode preview
node scripts/community_publisher.mjs \
--site xueqiu \
--action discussion \
--content-file /tmp/discussion.txt \
--mode preview
这条链会默认打开雪球首页,点击右上角 发帖,再选择 发讨论。
如果要一起带一张配图:
node scripts/community_publisher.mjs \
--site xueqiu \
--action discussion \
--content-file /tmp/discussion.txt \
--image /tmp/discussion-cover.png \
--mode preview
当前先按“单张配图”实现,图片路径不存在或站点上传控件未命中时,会明确返回 blocked。
node scripts/community_publisher.mjs \
--site xueqiu \
--action discussion \
--task-id JJC-20260314-001 \
--mode confirm
这条链会自动:
tasks_source.json 找到任务如果你想手工补充股票代码或话题标签,也可以:
node scripts/community_publisher.mjs \
--site xueqiu \
--action discussion \
--task-id JJC-20260314-001 \
--stocks "腾讯控股(00700),青云科技(688316)" \
--topics "AI,大模型,知乎" \
--mode confirm
node scripts/community_publisher.mjs \
--site futu \
--action discussion \
--content-file /tmp/discussion.txt \
--mode preview
node scripts/community_publisher.mjs \
--site tiger \
--action discussion \
--content-file /tmp/discussion.txt \
--mode preview
这两条链会默认打开社区首页,尝试点击 发帖/发布 入口,再进入 发讨论 或等价的帖子编辑流程。
node scripts/community_publisher.mjs \
--site futu \
--action comment \
--url "https://www.futunn.com/..." \
--content "这条观点我认同,补充两个观察..." \
--mode publish
如果页面结构变化,复制模板并改成你的站点覆盖配置:
cp assets/site-overrides.example.json /tmp/community-site-overrides.json
然后传入:
node scripts/community_publisher.mjs ... --config /tmp/community-site-overrides.json
每次执行都会写入:
目录默认在:
~/.openclaw/playwright-community-publisher/artifacts/<site>/<timestamp>/以下情况必须返回阻塞,不要假装成功:
阻塞时,优先给出:
development
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
tools
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.
tools
天气顾问。智能天气顾问。实时天气查询、未来7天预报、穿衣建议与出行活动推荐 Keywords: 天气查询, weather, 穿衣建议, 出行提醒.