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.
npx skills add redfox-data/redfox-community-dsh --skill weibo-comment-searchgit clone --depth 1 https://github.com/redfox-data/redfox-community-dshWrote 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.
[](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/weibo-comment-search)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.03106 |
| Opus 5.5 | $0.00032 | $0.01242 |
| Sonnet 5.5 | $0.00016 | $0.00621 |
| Haiku 4.5 | $0.00008 | $0.00311 |
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 2mo ago.
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 标准库),无需额外安装依赖 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 |
发布时间 |
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.
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.
- 2mo ago First seen · 274 lines · 80 tokens per session scan A 0aceb8118809
weibo-comment-search is a skill published in the GitHub repository redfox-data/redfox-community-dsh (13 stars, last pushed 6d ago), licensed MIT. It adds 80 tokens to every session and 3,106 once invoked, about $0.0003 per session on Opus 5.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.
weibo-comment-search compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| weibo-comment-searchredfox-data/redfox-community-dsh | Skill | 13 | 6d ago | MIT | A | 80 | Claude Code, Codex |
| dsh-hooks-authoringKYinCode/dsh-hooks-plugin | Skill | 3 | 3mo ago | MIT | A | 112 | Claude Code |
| web-artifact-designerxulelenlp/dsh-web-artifact-designer | Skill | 9 | 3mo ago | MIT | A | 115 | Claude Code, Codex |
| refactoromagents/omagents | Skill | 361 | 3d ago | MIT | A | 55 | Codex |
| tech-debt-auditomagents/omagents | Skill | 361 | 3d ago | MIT | A | 57 | Codex |
| deep-researchomagents/omagents | Skill | 361 | 3d ago | MIT | B | 24 | Codex |
| company-research-methodPerryLink/dsh-industry-research | Skill | 227 | 7d ago | Apache-2.0 | A | 83 | Claude Code, Codex |