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 x-subscribegit 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/x-subscribe)<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/x-subscribe"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/x-subscribe/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/x-subscribe"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/x-subscribe.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.00193 | $0.04885 |
| Opus 5.5 | $0.00077 | $0.01954 |
| Sonnet 5.5 | $0.00039 | $0.00977 |
| Haiku 4.5 | $0.00019 | $0.00488 |
Grade A, and why
x-subscribe 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 2mo 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 — 345 lines — stays where its author put it; the contents beside it link to each section on GitHub.
X (Twitter) 订阅账号推文
1. 简介
订阅 X(Twitter) 名人账号,每日早上 9:00 自动拉取订阅账号昨日 9:00 至今日 9:00(近 24 小时)发布的推文,按账号分组生成精美 HTML 日报推送,无需手动逐个刷动态。订阅来源支持三种入口:榜单推荐、用户指定账号、关注列表探索。
榜单推荐是本 Skill 内置的批量订阅来源:固定查询昨日的 X 热门账号榜,支持性别(全部/男/女)与 32 个行业分类筛选,用户可一键订阅榜单 Top N 账号后进入每日推文追踪。
适用对象:出海品牌 / 投放人员(评估 KOL 合作窗口)、MCN / 商务经纪(批量盯几十个名人账号动态)、内容创作者 / 研究者(追踪头部账号发帖节奏与爆款)。
2. 功能特性
| 功能模块 | 能力描述 |
|---|---|
| 三入口订阅 | 榜单批量订阅 / 指定 @handle 订阅 / 关注列表探索后订阅 |
| 每日自动推送 | 自动化任务内置账号 handle,每天 9:00 自动拉取昨日推文 |
| 时间窗口过滤 | 接口不支持按时间排序,Skill 内部按「昨日 9:00 ~ 今日 9:00」时间窗口过滤并智能 cursor 翻页 |
| HTML 日报 | X 平台风格(白底 + X 蓝),按账号分组展示推文时间线,支持导出 PDF / 高清图片 |
| 互动数据 | 浏览 / 点赞 / 转发 / 回复 / 发布时间,转推与引用标识 |
| AI 语义总结 | AI 读推文内容,归纳「今日主题」(分析推文在说什么,按实际条数)+ 每个账号的「今日主题/观点」 |
| 无更新折叠 | 昨日无更新 / 近 7 天无更新账号自动折叠提示 |
3. 鉴权
获取 API Key
请前往 红狐hub 获取 API KEY。
配置 API Key
方案1:以 OpenClaw 为例,将 REDFOX_API_KEY 添加到 ~/.openclaw/openclaw.json:
{ "env": { "REDFOX_API_KEY": "ak_xxxx..." } }
方案2:终端配置:
export REDFOX_API_KEY="ak_xxxx..."
依赖
无需安装第三方依赖,使用 Python 标准库即可运行。
4. 订阅方式(三个入口)
静默执行原则:所有中间步骤(fetch 验证、榜单查询、automation_update)均不得向用户输出过程性提示,仅展示最终结果。
用户表达订阅意向但方式不明确时,先输出引导:
📬 订阅 Twitter 名人作品日报,三种方式任选:
1️⃣ 榜单订阅 — 说「订阅XX分类热门榜单 Top 10/20/50」
2️⃣ 指定账号 — 直接发我 @handle 或账号链接,如「订阅 @elonmusk」
3️⃣ 关注探索 — 不知道订阅谁?从 TA 的关注列表里挑,说「看看elonmusk关注了谁」
已订阅后每天 9:00 自动推送昨日发帖日报,最多可订阅 100 个账号。
入口一:从热门账号榜批量订阅(推荐主路径)
-
用户查看某分类榜单(如「商业创业日榜」),或直接说「订阅科技榜前 30 个」
-
Agent 运行
top子命令查询昨日榜单(解析 N,N ≤ 100):python3 scripts/subscribe.py top --query "用户原始问题" --top 20 -
从输出尾部提取各账号
screen_name(脚本已从profileUrl的x.com/<handle>解析好,并输出逗号分隔列表) -
运行
fetch --first验证每个账号是否可成功拉取:python3 scripts/subscribe.py fetch --accounts "handle1,handle2,..." --first --html -
将验证通过的账号批量写入每日 9:00 自动化任务(见「账号管理规则」),告诉用户结果
-
立即执行一次展示结果(首次拉取各账号最新动态)
榜单输出尾部应提供订阅提示:是否订阅该榜单 Top 10/20/50,都不满意可直接订阅全部。
What ships with it
10 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.
- assets/category_config.json 4.3 KB
- output/x_following_data.json 27 KB
- output/x_subscribe_ai_summary.json 1.9 KB
- output/x_subscribe_data.json 7.7 KB
- output/x_top_accounts.json 13 KB
- README.en.md 6.4 KB
- README.md 5.4 KB
- references/api_docs.md 5.7 KB
- scripts/generate_report.py 21 KB runs code
- scripts/subscribe.py 35 KB runs code
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.
- 2mo ago First seen · 345 lines · 193 tokens per session scan A 89e354bc08bb
x-subscribe is a skill published in the GitHub repository redfox-data/redfox-community-dsh (13 stars, last pushed 6d ago), licensed MIT. It adds 193 tokens to every session and 4,885 once invoked, about $0.0008 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-09-24.
x-subscribe compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| x-subscriberedfox-data/redfox-community-dsh | Skill | 13 | 6d ago | MIT | A | 193 | 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 |