雪球网互动操作

v1.0.0

通过 openclaw browser 在雪球网执行互动与创作类操作,包括点赞、收藏、评论、回复、转发、发布观点、发布长文。当用户要求"点个赞""收藏一下""评论""转发""发个观点""发个长文"时使用此技能。默认通过 openclaw browser 执行。

0· 183·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for gumailianxin/xueqiu-ops.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "雪球网互动操作" (gumailianxin/xueqiu-ops) from ClawHub.
Skill page: https://clawhub.ai/gumailianxin/xueqiu-ops
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install xueqiu-ops

ClawHub CLI

Package manager switcher

npx clawhub@latest install xueqiu-ops
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description (automating likes, comments, reposts, publishing on xueqiu.com) matches the SKILL.md instructions which describe locating UI elements, entering text, and clicking publish buttons. There are no unrelated credential or binary requirements.
Instruction Scope
SKILL.md stays within the stated purpose: taking browser snapshots, locating buttons/placeholders, entering content, and confirming success. It does not instruct reading unrelated files, system environment variables, or exfiltrating data to external endpoints. It explicitly notes handling popups and requests manual intervention when login dialogs cannot be closed.
Install Mechanism
This is an instruction-only skill with no install spec and no code files — lowest-risk distribution model. No downloads or package installs are specified.
Credentials
The skill declares no required env vars or credentials, which is proportionate. However, practical use requires an authenticated browser session (xueqiu login) accessible to openclaw browser; the SKILL.md mentions login popups but does not define how credentials/sessions are provided or stored. Users should be aware the agent will act using whatever browser session is available.
Persistence & Privilege
always:false and no install behavior are appropriate. The skill does not request persistent presence or modify other skills or system-wide settings.
Assessment
This skill looks coherent for automating actions on xueqiu.com. Before installing, consider: (1) it will operate via the agent-controlled openclaw browser and will perform UI actions using whatever browser session is available—ensure you understand which xueqiu account/session the agent will use; (2) the skill can post, comment, like, or repost on your behalf so review prompts and outputs carefully before allowing actions that publish content; (3) there are no declared credentials, but if you must provide login cookies or credentials to the agent/environment, treat them as sensitive; (4) test on a non-critical account first to confirm behavior. If you need the agent to never act autonomously with posting rights, restrict autonomous invocation or require explicit confirmation for publishing actions.

Like a lobster shell, security has layers — review code before you run it.

latestvk97d7djnz86xtvdqjn54m6603n83yyrr
183downloads
0stars
1versions
Updated 4w ago
v1.0.0
MIT-0

Xueqiu Ops

概览

雪球网(xueqiu.com)投资社区互动技能,通过 openclaw browser 执行点赞、收藏、评论、转发、发布观点、发布长文等操作。

核心定位原则(重要)

优先使用文案定位,不要依赖 ref。 ref 只在找不到文案时做备选。

定位优先级:

  1. 按钮文案:如 "发布"、"赞"、"收藏"、"评论"、"讨论"、"转发"
  2. 邻近关系:操作按钮一般在帖子内容下方的操作栏
  3. placeholder 文本:如 "发表你的观点..."
  4. ref(最后手段):仅当文案定位失败时使用

常用入口

  • 雪球首页:https://xueqiu.com
  • 搜索页:https://xueqiu.com/search
  • 发帖/发布观点:首页输入框
  • 长文写作:https://mp.xueqiu.com/write/
  • 创作者中心:https://mp.xueqiu.com/

页面结构(实测参考,不做定位依据)

首页帖子操作栏的典型结构:

帖子操作栏
├── [转发]
├── [讨论] / [评论]
├── [赞]
├── [收藏]
└── [更多...]

长文编辑器结构:

├── 标题输入框(placeholder: "请输入标题")
├── 正文输入框
├── 工具栏(图片、话题等)
└── [发布] 按钮

操作指南

通用定位方法

每次操作前先执行 openclaw browser snapshot,然后在快照中:

  1. button 类型 + 文案精确匹配目标按钮
  2. 找不到时,用 textbox 类型 + placeholder 定位输入框
  3. 确认元素存在后再点击/输入

点赞

  1. 打开目标帖子页面
  2. 在快照中找到 [赞] 按钮(注意:激活态图标会变,如  → )
  3. 点击按钮
  4. 检查按钮状态是否变化

收藏

  1. 在快照中找到 [收藏] 按钮
  2. 点击后变为已激活状态

评论/讨论

  1. 在快照中找到 [讨论][评论] 按钮(e281)
  2. 点击后弹出评论输入框
  3. 在输入框中输入评论内容
  4. 找到并点击发送按钮(常见文案:"发送"、"发布"、"评论")
  5. 确认评论是否出现

转发

  1. 在快照中找到 [转发] 按钮
  2. 点击后弹出转发对话框/输入框
  3. 可添加转发理由
  4. 确认转发

发布观点

  1. 在快照中找到输入框(placeholder 含 "发表你的观点"),点击激活
  2. 输入观点内容
  3. 添加股票(如需):
    • 输入 $ 触发股票选择器
    • 输入股票名称或代码进行搜索
    • 从弹出的股票选择列表中选择正确的股票
    • 系统自动插入 $股票名称(SH/SZ代码)$ 格式链接
  4. 找到并点击 [发布] 按钮
  5. 检查是否发布成功

发布长文

  1. 打开 https://mp.xueqiu.com/write/
  2. 在快照中找到标题输入框(placeholder 含 "标题")
  3. 输入标题
  4. 找到正文输入框,输入内容
  5. 添加股票(如需):
    • 输入 $ 触发股票选择器
    • 输入股票名称或代码进行搜索
    • 从弹出的股票选择列表中选择
    • 系统自动插入 $股票名称(SH/SZ代码)$ 格式链接
  6. 可选:添加封面、选择话题
  7. 找到并点击 [发布] 按钮
  8. 检查是否跳转文章详情页

雪球特有格式

股票代码格式(重要说明)

雪球的股票链接格式为 $股票名称(SH/SZ代码)$需要先输入 $ 触发股票选择器

正确步骤:

  1. 输入 $ 触发股票选择器
  2. 继续输入股票名称或代码,如 腾讯00700
  3. 系统会弹出匹配的股票列表
  4. 从列表中选择对应的股票(点击或回车)
  5. 选择后自动插入 $腾讯控股(SH00700)$ 格式的链接

示例流程:

输入 "$" → 输入 "腾讯" → 弹出 [腾讯控股 00700] → 选择 → 插入 $腾讯控股(SH00700)$

禁止直接粘贴:

  • ❌ 直接粘贴 $腾讯控股(SH00700)$ 不会生成链接,只会显示为纯文本
  • ✅ 必须通过 $ 触发选择器并从列表选择才能生成可点击的股票链接

话题格式

#白酒股全线走强#

@用户格式

@用户名

故障处理

找不到目标按钮

  • 重新执行 openclaw browser snapshot
  • 检查按钮是否被弹窗遮挡
  • 确认页面是否已经加载完成(可等待几秒再试)

页面结构变化

  • 优先用文案和 placeholder 重新定位
  • 不要假设按钮位置不变
  • 如果页面有多个相似按钮(如多个"赞"),优先匹配离目标内容最近的那个

弹窗

  • 雪球有时会弹出登录弹窗、提示弹窗
  • 先判断是否影响主操作,能关闭就关闭
  • 关闭不了的,告诉用户需要手动处理

输出格式

完成后简明汇报:

  • 做了什么操作
  • 是否成功
  • 如果失败,卡在哪一步
  • 如果有新的 URL,一并给出

Comments

Loading comments...