用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/changzhi777/SpideHarness --skill spide-crawl命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
飞书 Bot 集成 — 通过飞书事件回调(webhook)执行 spide 命令, 支持自然语言指令解析(crawl/analyze/track/export/batch)。 当用户需要在飞书群中触发热搜采集、AI 分析、定时任务时使用此技能。
AI 分析 — 趋势分析、内容摘要、情感分析、智能采集策略。 当用户要求分析热搜趋势、生成摘要、获取采集建议时使用。
适配器自动修复 — 当 opencli 命令因网站 DOM/API 变更而失败时,自动诊断、修复适配器并重试。 当 opencli 命令失败时使用此 skill。
基于 SOC 职业分类
正在显示 SKILL.md
| name | spide-crawl |
| description | 采集热搜数据 — 从微博/百度/抖音/知乎/B站采集实时热搜话题。 当用户要求采集热搜、获取热门话题、查看趋势时使用此技能。 |
| category | data_collection |
用户要求采集热点新闻、热搜榜单、热门话题时自动激活。
# 单源采集
spide crawl --source weibo
# 采集所有热搜源
spide crawl --all
# 采集并保存到数据库
spide crawl -s weibo --save
spide crawl -s baidu --save
spide crawl -s douyin --save
spide crawl -s zhihu --save
spide crawl -s bilibili --save
| 数据源 | 标识 | 刷新间隔 |
|---|---|---|
| 微博热搜 | weibo | 5 分钟 |
| 百度热搜 | baidu | 5 分钟 |
| 抖音热点 | douyin | 3 分钟 |
| 知乎热榜 | zhihu | 5 分钟 |
| B站热搜 | bilibili | 5 分钟 |
spide crawl -s <source> 采集数据--save 参数spide initconfigs/uapi.yamlspide doctor 检查环境如已配置 Claude Desktop / Cursor 等 MCP 客户端,可直接调用 crawl_hot_topics 工具:
# 方式 1: Python MCP Client
from spide.mcp.client import MCPClient
async with MCPClient(server_command="spide", args=["mcp-serve"]) as client:
result = await client.call_tool("crawl_hot_topics", {
"source": "weibo", # weibo/baidu/douyin/zhihu/bilibili
"save": True, # 是否持久化到 SQLite
})
# result[0].text 是 JSON 字符串
topics = json.loads(result[0].text)
for t in topics["items"][:5]:
print(f"[{t['rank']}] {t['title']} (热度: {t['hot_value']:,})")
// 方式 2: Claude Desktop 自然语言
// 用户输入: "用 spide-agent 采集微博热搜并保存"
// Claude 自动调用 crawl_hot_topics({source: "weibo", save: true})
MCP 工具 vs CLI 对比:
| 维度 | CLI (spide crawl) | MCP 工具 (crawl_hot_topics) |
|---|---|---|
| 鉴权 | UAPI Key 读 configs/uapi.yaml | 同上(Server 进程统一加载) |
| 返回 | Rich 表格 / 进度条 | 结构化 JSON |
| 适用 | 终端交互、批处理脚本 | AI Agent 工具调用、对话集成 |
| 数据库写入 | --save 参数 | save: true 参数 |