weibo-comment-search

weibo-comment-search is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 80 tokens per session (3,106 once invoked), scanned A, original, MIT.

A Weibo comment reader that takes a post link and shows its top-level comments page by page, with an AI summary across positive, negative, demand, and competitor-related reactions. It can also create an interactive HTML report for the displayed page.

In plain words
What is it for?
Use it to review reactions to a Weibo post, identify user needs or competitor mentions, and save a summary of the results.
Why use it?
It saves you from reading and sorting comments manually when you need a quick view of audience sentiment and feedback.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to review reactions to a Weibo post, identify user needs or competitor mentions, and save a summary of the results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redfox-data/redfox-community-dsh/weibo-comment-search
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add redfox-data/redfox-community-dsh --skill weibo-comment-search
Clone the repo
git clone --depth 1 https://github.com/redfox-data/redfox-community-dsh

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for weibo-comment-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/weibo-comment-search/github.svg)](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/weibo-comment-search)
Your own site
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/weibo-comment-search"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/weibo-comment-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for weibo-comment-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/weibo-comment-search"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/weibo-comment-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,106 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00080 $0.03106
Opus 5 $0.00040 $0.01553
Sonnet 5 $0.00016 $0.00621
Haiku 4.5 $0.00008 $0.00311

Measured 7d ago against content hash 0aceb8118809, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

weibo-comment-search scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/backfill_html.py, scripts/weibo_comment_search.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# 脚本使用 urllib(Python 标准库),无需额外安装依赖
skills/weibo-comment-search/SKILL.md · 274 lines

How it starts

The opening of the file, as written. The whole thing — 274 lines — stays where its author put it; the contents beside it link to each section on GitHub.

微博评论分析

📝 简介

微博评论分析工具,输入微博博文链接,即可查看该博文的一级评论数据,支持分页浏览和 AI 情感分析。在对话中展示当前页全部评论及 AI 总结分析,同时生成包含当前页数据和总结的交互式 HTML 报告。

✨ 功能特性

功能模块 能力描述 核心价值
评论查询 输入微博博文链接查询评论 一键查看任意博文的评论
分页浏览 支持多页结果浏览 逐页探索更多评论
AI 总结 四维情感分析(积极/负面/需求/竞品) 快速了解评论舆情全貌
HTML 报告 深色主题交互式报告 离线保存/分享分析结果

🔑 鉴权

获取 API Key

请前往 红狐hub 获取 API KEY

配置 API Key

方案1: 以 Qoder 为例,将 REDFOX_API_KEY 添加到 ~/.openclaw/openclaw.json 中:

{ "env": { "REDFOX_API_KEY": "ak_xxxx..." } }

方案2: 终端配置

export REDFOX_API_KEY="ak_xxxx..."

🔄 工作流程

Step 1:理解用户意图,提取 opusId

1. 从微博博文链接中提取 opusId

  • 若用户提供了博文链接(如 https://weibo.com/1784473157/R8X4f2lnq),从中提取 opusId(R8X4f2lnq
  • 若用户直接提供了 opusId,直接使用
  • 若用户意图模糊(如"帮我查下评论"),主动询问:「请提供微博博文链接」
  • 不得在用户未提供链接时擅自猜测并调用脚本
  • 若用户在上一轮对话中查询过某博文的评论,且本轮输入模糊(如"下一页"、"评论分析"),沿用上一轮的 opusId

2. 识别页码参数

  • 用户提到"下一页"、"第2页" → 对应页码,同时使用上一轮返回的 max_cursor
  • 用户提到"上一页" → 当前页 - 1
  • 未提及页码 → 默认第 1 页

Step 2:调用查询脚本(自动生成 HTML)

⚠️ 每次调用仅请求一页数据(一次 API 请求),不可擅自发起多次调用拉取多页。

脚本每次调用自动生成 HTML 报告(含 {{PLACEHOLDER}} 占位符,未回填分析数据)。终端展示与 HTML 基于同一次 API 调用,确保数据一致。

python3 ~/.agents/skills/weibo-comment-search/scripts/weibo_comment_search.py "<博文链接或opusId>" [--page 页码] [--cursor 游标] [--output-dir 目录]

参数说明:

参数 说明 默认值
input 微博博文链接或 opusId
--page 页码,从1开始 1
--cursor 翻页游标(首页为 0,后续从返回的 max_cursor 传入) 0
--no-html 跳过 HTML 报告生成
--output-dir HTML 输出目录 ~/Downloads/QoderReports

脚本以 JSON 格式输出:

字段 说明
opus_id 博文 opusId
comments 评论列表
max_cursor 下一页游标
has_next 是否有下一页(true/false)
page 当前页码
html_path 生成的 HTML 报告路径(含占位符,待回填)

每条评论字段:

字段 说明
nickname 用户昵称
uid 用户 uid
user_url 用户主页链接(https://weibo.com/{uid}
content 评论内容
comment_like_num 点赞数(原始数字)
comment_like_num_fmt 点赞数(格式化后)
create_time 发布时间

Read the full file on GitHub · 274 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 274 lines · 80 tokens per session scan A 0aceb8118809

Subscribe to this mod's changes

weibo-comment-search is a skill published in the GitHub repository redfox-data/redfox-community-dsh (5 stars, last pushed today), licensed MIT. It adds 80 tokens to every session and 3,106 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

dsh-hooks-authoring

Instructions for writing and debugging dsh-hooks-plugin scripts, which run during tool or session events such as before a tool call or after it finishes. These scripts return JSON decisions such as allowing, asking about, or denying an action.

KYinCode/dsh-hooks-plugin · 112 tokens

web-artifact-designer

A design workflow for producing self-contained HTML or SVG files that open directly in a browser. It covers visual work such as posters, infographics, landing pages, charts, banners, cards, and interface mockups.

xulelenlp/dsh-web-artifact-designer · 115 tokens

dsh-web-pet-developer

Create a pet for the dsh-pet plugin and integrate it into the dsh web GUI — author a v2 pet.json manifest plus an 8-column x 9-row atlas per the Codex/hatch-pet contract (live2d pets, voice packs and status decorations included), drop it into the pet-center user directory or contribute it as a built-in asset under…

zhu1090093659/dsh-web · 162 tokens

company-research-method

A documented process for researching a company using supplied files and selected public sources. It produces a company overview with business details, sourced financial figures, and stated risks.

PerryLink/dsh-industry-research · 83 tokens

dsh-plugin-guide

Use when developing, reviewing, packaging, debugging, or answering questions about DeepSeek Harness (DSH) plugins — the plugin-based agent harness on vendored Cordis. Applies the official plugin-development constraints (plugin contract, cordis.yml layers, services/events/effects, tool DSL, bundles/profiles) backed by…

PerryLink/dsh-plugin-guide · 76 tokens

delivery-proof

Delivery proof and the doublecheck report. Use when the work is done and the delivery must be proven — consolidate the spec, test timeline, review verdicts, and verification checks into a doublecheckreport, and only then claim completion.

PerryLink/dsh-doublecheck · 50 tokens