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 facebook-commentgit 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/facebook-comment)<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/facebook-comment"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/facebook-comment/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/facebook-comment"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/facebook-comment.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.00094 | $0.02353 |
| Opus 5.5 | $0.00038 | $0.00941 |
| Sonnet 5.5 | $0.00019 | $0.00471 |
| Haiku 4.5 | $0.00009 | $0.00235 |
Grade A, and why
facebook-comment 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 1mo 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 — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Facebook 评论分析
简介
输入 Facebook 帖子链接即可获取评论数据,支持 翻页。在对话中展示当前页全部评论及 AI 总结分析,同时生成包含当前页数据和总结的交互式 HTML 报告。
功能特性
| 功能模块 | 能力描述 | 核心价值 |
|---|---|---|
| 评论获取 | 粘贴帖子链接即可获取评论 | 实时拉取帖子评论区数据 |
| 分页浏览 | 支持翻页 | 逐页浏览大量评论 |
| AI 总结 | 四维情感分析(积极/负面/需求/竞品) | 快速了解评论舆情全貌 |
| HTML 报告 | Facebook色主题交互式报告 | 离线保存/分享分析结果/可视化报告 |
| 合并报告 | 多页合并,超3页自动折叠 | 一次导出全部评论分析 |
鉴权
前往 红狐hub 获取 API Key,通过环境变量配置:
export REDFOX_API_KEY="ak_xxxx..."
工作流程
Step 1:理解用户意图,获取帖子链接
⚠️ 核心规则:用户只需提供帖子链接,Agent 读取完整链接传给脚本
- 用户提供帖子链接(如
https://www.facebook.com/reel/1746412686633900、https://www.facebook.com/Meta/posts/123456789012345),原样使用,不做任何解析、截取或改写 - 若用户未提供帖子链接,主动询问:「请提供 Facebook 帖子链接」
- 若用户在上一轮对话中查询过某帖子的数据,且本轮输入模糊(如"下一页"、"评论分析"),沿用上一轮的帖子链接
Step 2:调用评论获取脚本(自动生成 HTML)
⚠️ 每次调用仅请求一页数据(一次 API 请求),不可擅自发起多次调用拉取多页。
脚本每次调用自动生成 HTML 报告(含占位符,未回填分析数据)。终端展示与 HTML 基于同一次 API 调用,确保数据一致。
python scripts/facebook_comment_search.py "<post_url>" [--cursor <cursor>] [--page <page>]
Windows 注意: 若脚本中文日志乱码,使用
PYTHONIOENCODING=utf-8 python ...前缀运行。
参数说明:
| 参数 | 说明 | 默认值 |
|---|---|---|
post_url |
Facebook 帖子链接(必填,原样传入) | — |
--cursor |
游标,首页传空字符串,次页传上一页返回的 next_cursor | "" |
--page |
当前页码(仅用于 HTML 文件名和输出标记) | 1 |
--output-dir |
HTML 输出目录 | ~/Downloads/QoderReports |
脚本返回 JSON 字段:post_url、current_page、next_cursor、total_fetched、has_next、comments[](每条含 comment_id、content、like_count、create_time 北京时间 MM-DD HH:MM、user_name、user_avatar)、html_path。
注意: HTML 报告此时仅含评论原始数据,分析占位符待用户确认后回填。
Step 3:对话中展示评论数据 + AI 总结
⚠️ 每次操作仅调用一次 API,获取一页数据。
A1. 告知查询范围
📊 帖子「{post_url}」共获取 N 条评论(第 {page} 页),以下是详细数据:
A2. 渲染评论表格(展示当前页全部评论)
格式规则:
- 表格列:评论人 | 评论内容 | 👍 点赞 | 时间
- 评论人列只显示昵称,不展示头像、不生成超链接
- 评论内容超过 40 字截断加 ...;空文本评论显示「(无文字)」
- 时间使用脚本已转换好的北京时间(MM-DD HH:MM)
- 点赞数 ≥ 10000 使用 x.xw 格式
- 每页全部展示,不得截断
A3. AI 评论总结(⚠️ 每次查询(含翻页)必须输出)
What ships with it
7 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.
- 1mo ago First seen · 207 lines · 94 tokens per session scan A b5b5f3b2f15a
facebook-comment is a skill published in the GitHub repository redfox-data/redfox-community-dsh (13 stars, last pushed 6d ago), licensed MIT. It adds 94 tokens to every session and 2,353 once invoked, about $0.0004 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-10-22.
facebook-comment compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| facebook-commentredfox-data/redfox-community-dsh | Skill | 13 | 6d ago | MIT | A | 94 | 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 |