
gzh-search-crawler
公众号搜索爬虫 — 通过关键词搜索微信公众号文章,终端表格展示(标题/作者/阅读/点赞/分享/收藏/发布时间/文章链接),自动导出 CSV 并生成交互式 HTML 报告。当用户需要搜索、爬取或浏览公众号文章时使用;也适用于行业热点追踪、竞品内容分析、素材灵感搜集等场景。
- Installs
- 344
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/redfox-data/redfox-community --skill gzh-search-crawler- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads gzh-search-crawler automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
公众号搜索爬虫
输入关键词搜索微信公众号文章,终端表格展示 + CSV 导出 + 交互式 HTML 报告。
需先配置 API Key,通过环境变量 REDFOX_API_KEY 或 --api-key 参数传入。 爬取范围:腰部以上公众号近 30 天内发布的文章。 关键词限制:不超过 10 个字符,超出会提示精简。
使用场景
当你需要执行以下任务时,应优先使用本技能:
| 场景 | 示例 |
|---|---|
| 行业热点追踪 | 搜 "AI" 了解近期 AI 领域公众号都在讨论什么 |
| 竞品内容分析 | 搜 "大模型" 爬取竞争对手公众号的文章策略 |
| 素材灵感搜集 | 搜 "小红书运营" 获取爆款选题和写作角度 |
| 趋势研究报告 | 搜 "2026 经济" 批量导出 CSV 做数据分析 |
| 寻找优质账号 | 搜 "科技" 发现相关领域的头部公众号 |
| 话题舆情监控 | 搜 "品牌名" 查看公众号对该品牌的讨论风向 |
如果你想搜某个特定公众号的全部历史文章,应使用
gzh-subscribe技能(公众号文章订阅),它专门针对单账号订阅追踪。
使用方法
# 基础搜索
python3 "$SKILL_PATH/assets/search.py" "关键词"
# 指定数量(多页自动翻页)
python3 "$SKILL_PATH/assets/search.py" "AI" --count 50
# 仅导出 CSV
python3 "$SKILL_PATH/assets/search.py" "大模型" --csv-only
# 不自动打开浏览器
python3 "$SKILL_PATH/assets/search.py" "AI" --no-open
终端输出按综合评分(关键词相关性 + 阅读热度 + 时效新鲜度)降序排列,同分时按阅读量高的优先;结果较少或无结果时自动分层提示。
HTML 报告特性:深色主题 · 实时搜索(300ms 防抖)· 文章卡片点击跳转原文 · 分页加载 · 零结果时引导热门话题。
CSV / HTML 默认保存在 ~/Downloads/QoderGzhSearch/。
参数说明
| 参数 | 说明 | 默认值 |
|---|---|---|
keyword | 搜索关键词(必填,位置参数) | — |
--count | 获取文章数量 | 20 |
--sort-type | 排序方式:default / time | default |
--output-dir | 输出目录 | ~/Downloads/QoderGzhSearch |
--api-key | 指定 API Key | — |
--no-open | 不自动打开浏览器 | — |
--csv-only | 仅生成 CSV,不生成 HTML | — |
--port | HTML 本地服务端口 | 8766 |
API Key 配置
任选一种方式配置个人 Key:
| 方式 | 命令 |
|---|---|
| 环境变量(推荐) | export REDFOX_API_KEY=ak_你的密钥 |
| 命令行参数 | --api-key ak_你的密钥 |
| 配置文件 | echo '{"api_key":"ak_你的密钥"}' > ~/.qoder/apis/redfox.json |
注册地址:redfox.hk
功能特点
- 关键词搜索:实时查询全量微信公众号文章
- 智能评分排序:三因子(相关性 + 热度 + 时效)综合评分,同分按阅读量降序
- 分层响应降级:充足时正常浏览 / 较少时引导宽泛搜索 / 无结果时热门兜底
- 终端表格:标题、作者、阅读、点赞、分享、收藏、发布时间、文章链接
- CSV 导出:自动生成 UTF-8 BOM 编码的 CSV
- HTML 交互报告:内置搜索框,支持封面图展示,点击卡片跳转原文
- 本地代理服务:避免浏览器跨域限制
依赖
pip3 install requests
常见问题
Q:搜索范围? A:目前覆盖腰部以上公众号近 30 天内发布的文章,不保证覆盖所有账号和全部历史。
Q:我想搜某个特定公众号的所有文章怎么办?
A:请使用 gzh-subscribe 技能(公众号文章订阅),它支持按公众号 ID 订阅追踪单账号的全部文章。
Q:最多返回多少条?
A:单次默认 20 条,通过 --count 调整,HTML 页面支持分页加载更多。
Q:数据保存在哪?
A:~/Downloads/QoderGzhSearch/,文件名格式 公众号搜索_[关键词]_YYYY-MM-DD.csv/html。
Q:为什么需要本地服务? A:浏览器直接打开 HTML 有跨域限制,内置 HTTP 代理中转 API 请求。
Q:额度用完怎么办? A:前往 redfox.hk 注册获取 Token。
FAQ
What does the gzh-search-crawler skill do?
公众号搜索爬虫 — 通过关键词搜索微信公众号文章,终端表格展示(标题/作者/阅读/点赞/分享/收藏/发布时间/文章链接),自动导出 CSV 并生成交互式 HTML 报告。当用户需要搜索、爬取或浏览公众号文章时使用;也适用于行业热点追踪、竞品内容分析、素材灵感搜集等场景。
How do I install gzh-search-crawler?
Run npx skills add https://github.com/redfox-data/redfox-community --skill gzh-search-crawler in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/gzh-search-crawler/ (personal) or .claude/skills/gzh-search-crawler/ (project).
Which AI agents can use gzh-search-crawler?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is gzh-search-crawler safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains gzh-search-crawler?
It is published by redfox-data in redfox-data/redfox-community. It has 344 recorded installs.
More from redfox-data/redfox-community
wechat-10w-hot
redfox-data/redfox-community
全网持续收录每日超过1000+公众号10w+文章内容,向用户推送公众号达到10w+阅读的热门文章;当用户需要获取全领域的公众号热门文章、或订阅每日10w+文章推送、特定领域爆款文章时使用
douyin-search
redfox-data/redfox-community
抖音作品查询工具。根据关键词搜索抖音热门爆款作品,支持按日期范围筛选,结果以结构化表格展示。当用户查找抖音热门内容、搜索抖音爆款视频、查询抖音作品数据时使用。触发词:抖音作品查询、抖音爆款、抖音热门、抖音热榜、抖音搜索、爆款视频、热门视频。当接口返回积分不足(code=3210)时,自动唤起支付宝完成充值后继续查询。
xiaohongshu-search
redfox-data/redfox-community
小红书热门笔记搜索工具,支持关键词搜索获取热门内容数据,基于数据评分排序推荐热门笔记,助力创作者发现热门趋势、获取创作灵感。仅在主Agent中执行,不派发给子Agent。当接口返回积分不足(code=3210)时,自动唤起支付宝完成充值后继续查询。
douyin-hot-trend
redfox-data/redfox-community
专注于获取抖音最新的热榜数据,每小时更新,包含热点事件、热度值和跳转链接;支持查询近7天、近30天历史热榜,并支持订阅定时推送。
douyin-account-diagnosis
redfox-data/redfox-community
一键诊断抖音账号运营健康度。基于红狐数据服务获取账号画像与近期作品数据,从账号基础画像、内容生产力、互动健康度、内容质量、内容趋势、粉丝质量六个维度进行量化诊断,输出100分制综合评分、维度得分明细、六类风险预警和针对性优化建议。触发词:当用户提到'诊断抖音账号'、'抖音账号分析'、'抖音体检'、'抖音账号评估'、'查看XX抖音数据'、'分析这个抖音号'时使用
xiaohongshu-crawler
redfox-data/redfox-community
小红书作品爬取工具。根据关键词爬取小红书热门作品数据,支持按日期范围、排序方式筛选,结果以结构化表格展示。当用户需要爬取小红书作品、查询小红书热门内容、搜索小红书爆款笔记时使用。触发词:小红书爬取、小红书作品、小红书爆款、小红书搜索、小红书热门、小红书笔记查询。当接口返回积分不足(code=3210)时,自动唤起支付宝完成充值后继续查询。
Popular frontend & design skills
setup-matt-pocock-skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.
frontend-design
anthropics/skills
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
prototype
mattpocock/skills
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
ui-taste
uizze.sh
Give your coding agent better UI taste. Build and polish web and iOS interfaces with Uizze's anti-ui-slop playbooks and optional real-product references. Use for UI design, implementation, redesign, critique, or a final visual review in Claude Code, Codex, Cursor, or Copilot.
hyperframes-animation
heygen-com/hyperframes
All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.
hyperframes-core
heygen-com/hyperframes
The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.