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-postsgit 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-posts)<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/facebook-posts"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/facebook-posts/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-posts"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/facebook-posts.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.00143 | $0.01737 |
| Opus 5.5 | $0.00057 | $0.00695 |
| Sonnet 5.5 | $0.00029 | $0.00347 |
| Haiku 4.5 | $0.00014 | $0.00174 |
Grade A, and why
facebook-posts scanned grade A with 0 findings 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Facebook 主页帖子提取
1. 简介
Facebook 主页帖子批量提取工具。用户粘贴主页 URL 即可按发布时间倒序拉取帖子数据(正文、互动量、媒体链接、链接),支持翻页,对话中以 Markdown 表格摘要呈现。
适用对象:内容创作者 / 运营人员、MCN 与达人商务、品牌方 / 市场调研、数据分析师。
2. 核心功能
作品拉取:输入主页 URL 即可获取该主页近期帖子,包含正文、点赞、评论等互动数据与帖子链接。 链接解析:支持 facebook.com/用户名 格式的主页链接,自动提取。 分页浏览:支持翻页查看更多帖子,每页最多50条。 表格呈现:对话中以 Markdown 表格摘要展示帖子数据,方便浏览,JSON 文件保留完整字段与全部媒体链接。
3. 一键安装
获取 API Key
前往 红狐 hub 注册登录并创建 API 密钥。
配置环境变量
export REDFOX_API_KEY="ak_xxxx..." # Git Bash / Linux / macOS
$env:REDFOX_API_KEY="ak_xxxx..." # PowerShell
无需第三方依赖,Python 3.7+ 标准库即可运行。
4. 使用指南
基础使用(默认获取 1 页最近帖子)
python scripts/fetch_posts.py --query "用户原话(含主页链接)"
python scripts/fetch_posts.py --url "https://www.facebook.com/Meta"
交互规则:
- 用户未提供主页 URL 时,先向用户索要链接,不要凭空猜测
- 默认抓取 1 页(该主页最近的帖子),输出表格后若还有更多数据,询问用户是否继续翻页
翻页
python scripts/fetch_posts.py --url "<主页URL>" --continue
脚本自动读取上次数据文件中的 paginationToken 取下一页,与历史数据按 postId 去重合并后重新落盘。
常用指令速查
| 用户意图 | 典型触发词 | 对应操作 |
|---|---|---|
| 提取主页帖子 | 抓FB帖子、Facebook帖子列表、脸书主页帖子 | --url 抓 1 页并表格展示 |
| 翻页 | 下一页、继续、更多帖子 | --continue |
5. 输出格式
读取脚本输出的 JSON 数据文件后,按以下模板输出表格:
📄 Facebook 主页帖子 · {作者名}
主页:{url} | 数据时间:{generatedAt}
本页 {fetchedThisRun} 条(累计 {accumulatedTotal} 条)| 还有更多数据:{是/否}
| 序号 | 发布时间 | 文案摘要 | ❤️ 点赞 | 💬 评论 | 媒体 | 帖子链接 |
|:---:|--------|--------|:---:|:---:|--------|--------|
| 1 | 2026-10-18 12:07 | 男友說,我們的小豆樹越長越大… | 3,564 | 77 | 🖼️ 图片×1 | [查看帖子](permalink) |
字段规则:
- 发布时间:ISO 时间转北京时间(UTC+8),格式
YYYY-MM-DD HH:MM;转换失败时原样展示 - 文案摘要:caption 换行改为空格,截取前 50 字,超出加
…;空文案显示— - 媒体列:videoUrl 或 videoDuration 有值 →
🎬 视频;mediaUrls 非空 →🖼️ 图片×N(仅 imageUrl 有值时按 ×1);均无 →— - 帖子链接:查看帖子,无 permalink 显示
— - 表格列完整输出,不得省略任何列;表格条数与 JSON 数据一致
- JSON 文件保留全部字段:完整 caption、全部媒体 URL、作者信息、互动数据、分页游标;媒体链接为 fbcdn 临时签名 URL,有时效性,如需下载请尽快使用
表格输出后追加:
⚡ 更多操作
• 数据已保存至 {数据文件路径}(含完整字段与全部媒体链接)
• 是否继续翻页获取更多帖子?(本次累计 {total} 条)
What ships with it
4 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 · 138 lines · 143 tokens per session scan A 1af193aa1ef8
facebook-posts is a skill published in the GitHub repository redfox-data/redfox-community-dsh (13 stars, last pushed 6d ago), licensed MIT. It adds 143 tokens to every session and 1,737 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-22.
facebook-posts compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| facebook-postsredfox-data/redfox-community-dsh | Skill | 13 | 6d ago | MIT | A | 143 | 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 |