x-subscribe

x-subscribe is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 193 tokens per session (4,885 once invoked), scanned A, original, MIT.

A tool for following X (formerly Twitter) accounts and receiving a daily HTML report of their recent posts. It groups posts by account and includes engagement figures and AI-written summaries.

In plain words
What is it for?
Use it to monitor selected public figures, creators, or industry accounts, review their recent activity, and track topics or engagement.
Why use it?
It removes the need to check many accounts manually and collect yesterday's posts into one report.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to monitor selected public figures, creators, or industry accounts, review their recent activity, and track topics or engagement.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redfox-data/redfox-community-dsh/x-subscribe
Install

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.

Any agent
npx skills add redfox-data/redfox-community-dsh --skill x-subscribe
Clone the repo
git clone --depth 1 https://github.com/redfox-data/redfox-community-dsh

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for x-subscribe

README.md
[![agentmods](https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/x-subscribe/github.svg)](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/x-subscribe)
Your own site
<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.

agentmods 80×15 button for x-subscribe

Your own site · 80×15
<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>
Per session 193 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,885 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2mo ago against content hash 89e354bc08bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/generate_report.py, scripts/subscribe.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/x-subscribe/SKILL.md · 345 lines

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 个账号。

入口一:从热门账号榜批量订阅(推荐主路径)

  1. 用户查看某分类榜单(如「商业创业日榜」),或直接说「订阅科技榜前 30 个」

  2. Agent 运行 top 子命令查询昨日榜单(解析 N,N ≤ 100):

    python3 scripts/subscribe.py top --query "用户原始问题" --top 20
    
  3. 从输出尾部提取各账号 screen_name(脚本已从 profileUrl 的 x.com/<handle> 解析好,并输出逗号分隔列表)

  4. 运行 fetch --first 验证每个账号是否可成功拉取:

    python3 scripts/subscribe.py fetch --accounts "handle1,handle2,..." --first --html
    
  5. 将验证通过的账号批量写入每日 9:00 自动化任务(见「账号管理规则」),告诉用户结果

  6. 立即执行一次展示结果(首次拉取各账号最新动态)

榜单输出尾部应提供订阅提示:是否订阅该榜单 Top 10/20/50,都不满意可直接订阅全部。

Read the full file on GitHub · 345 lines

Changes

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.

  1. 2mo ago First seen · 345 lines · 193 tokens per session scan A 89e354bc08bb

Subscribe to this mod's changes

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.

Related

x-subscribe compared with skills from other repositories

x-subscribe next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
x-subscriberedfox-data/redfox-community-dshSkill136d agoMITA193Claude Code, Codex
dsh-hooks-authoringKYinCode/dsh-hooks-pluginSkill33mo agoMITA112Claude Code
web-artifact-designerxulelenlp/dsh-web-artifact-designerSkill93mo agoMITA115Claude Code, Codex
refactoromagents/omagentsSkill3613d agoMITA55Codex
tech-debt-auditomagents/omagentsSkill3613d agoMITA57Codex
deep-researchomagents/omagentsSkill3613d agoMITB24Codex
company-research-methodPerryLink/dsh-industry-researchSkill2277d agoApache-2.0A83Claude Code, Codex