weibo-post-search
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "weibo-post-search" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-619126abb73b47affa7c2d7cfdb8e4f2fafa8167f8ff31fc2995cb36c8a2a418. Verify the upstream source and version against https://skillhub.cn/skills/redfox-data/weibo-post-search before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A Weibo account post retrieval tool. Given a Weibo user homepage link or UID, it calls the Redfox API to fetch that user's latest posts with pagination support, used to view a user's Weibo activity or track a blogger's newest content. Example triggers: check user posts, user Weibo, Weibo homepage, check blogger, Weibo updates.
Introduction source: third_party · redfox-data · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: weibo-post-search
description: 微博账号作品回采。输入微博用户主页链接或 uid,调用 Redfox 接口查询该用户最新博文,支持分页浏览。当用户需要查看某用户微博动态、追踪博主最新内容时使用。触发词:查用户博文、用户微博、微博主页、查博主、微博动态。微博账号作品回采
📝 简介
微博用户博文查询工具,输入微博用户主页链接或 uid,即可查询该用户最新博文,支持分页浏览。
✨ 功能特性
| 功能模块 | 能力描述 | 核心价值 |
|---|---|---|
| 用户查询 | 输入微博主页链接或 uid 查询博文 | 一键查看任意用户最新动态 |
| 分页浏览 | 支持多页结果浏览 | 逐页探索用户历史博文 |
🔑 鉴权
获取 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:理解用户意图,提取 uid
1. 提取用户 uid
- 若用户提供了微博主页链接(如
https://weibo.com/1784473157),从中提取 uid - 若用户直接提供了数字 uid,直接使用
- 若用户意图模糊(如"帮我查下微博用户"),主动询问:「请提供微博用户主页链接或 uid」
- 不得在用户未提供 uid 时擅自猜测并调用脚本
2. 识别页码参数
- 用户提到"下一页"、"第2页" → 对应页码
- 用户提到"上一页" → 当前页 - 1
- 未提及页码 → 默认第 1 页
Step 2:调用查询脚本
python3 ~/.agents/skills/weibo-post-search/scripts/user_work_list.py "<uid或主页链接>" [--page 页码]
参数说明:
| 参数 | 说明 |
|---|---|
| input | 用户 uid 或微博主页链接(如 https://weibo.com/1784473157) |
--page |
页码,从1开始(默认1) |
脚本以 JSON 格式输出:
| 字段 | 说明 |
|---|---|
uid |
用户 uid |
user_name |
用户昵称(取自博文中的 nickname 字段,无昵称时回退为 uid) |
articles |
用户博文列表 |
page |
当前页码 |
has_next |
是否有下一页(true/false) |
每条博文字段:
| 字段 | 说明 |
|---|---|
content |
博文内容 |
forward_num |
转发数 |
comment_num |
评论数 |
like_num |
点赞数 |
publish_time |
发布时间(含时分秒,如 2025-07-10 14:30:25) |
work_url |
博文链接(https://weibo.com/{uid}/{mblogId}) |
Step 3:判断结果并展示
情况 A:articles 数量 > 0(有匹配结果)
A1. 告知用户查询范围
📊 {user_name} 查询到 N 条博文(第 {page} 页),以下是详细数据:
A2. 渲染 Markdown 表格(全部展示)
| # | 博文内容 | 转发数 | 评论数 | 点赞数 | 发布时间 |
|---|----------|--------|--------|--------|----------|
| 1 | [博文内容](链接) | 305 | 120 | 1.2w | 2025-07-10 14:30:25 |
数字格式化规则:
< 10000:原始数字(如320)≥ 10000:x.xw格式(如1.2w)
内容规则: [博文内容](work_url);超过 30 字截断并加 ...;内容为空时显示 -
A3. 翻页提示(⚠️ 紧接在 A2 之后,不可省略,每次必须输出)
-
若
has_next为 true:📄 当前第 {page} 页。回复「下一页」继续查看。
-
若
has_next为 false(当前页不足 9 条或为空,已是最后一页):📄 当前第 {page} 页,已无更多数据。
⚠️ A1~A3 缺一不可,必须在同一轮输出中连续完成。
情况 B:articles 数量 = 0(无匹配结果)
B1. 抱歉提示
😔 {user_name} 暂无博文数据,或该用户设置了隐私保护。
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供微博用户博文查询,支持分页浏览,满足用户追踪博主动态的需求
Highlights
- 触发词完整,覆盖多种变体,边界清晰
Highlights
- Phase/步骤清晰,有出口条件,含端到端示例
Highlights
- 工具来源明确,参数正确,覆盖主要异常
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 21, 23, 25
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- redfox.hk
- weibo.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.