x-top-account

x-top-account is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 144 tokens per session (3,693 once invoked), scanned A, original, MIT.

A tool for querying daily rankings of influential X, formerly Twitter, accounts using an external data service. It can filter results by industry and gender and produce downloadable reports or scheduled updates.

In plain words
What is it for?
Use it to find ranked accounts, browse filtered results, create HTML reports that can be exported to PDF or images, and subscribe to recurring updates.
Why use it?
It removes the need to manually collect and sort account rankings when researching influential accounts on X.

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 find ranked accounts, browse filtered results, create HTML reports that can be exported to PDF or images, and subscribe to recurring updates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redfox-data/redfox-community-dsh/x-top-account
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-top-account
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-top-account

README.md
[![agentmods](https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/x-top-account/github.svg)](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/x-top-account)
Your own site
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/x-top-account"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/x-top-account/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-top-account

Your own site · 80×15
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/x-top-account"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/x-top-account.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 144 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,693 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.00144 $0.03693
Opus 5.5 $0.00058 $0.01477
Sonnet 5.5 $0.00029 $0.00739
Haiku 4.5 $0.00014 $0.00369

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

Security

Grade A, and why

x-top-account 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/fetch_rank.py, scripts/generate_report.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-top-account/SKILL.md · 254 lines

How it starts

The opening of the file, as written. The whole thing — 254 lines — stays where its author put it; the contents beside it link to each section on GitHub.

X (Twitter) 热门账号榜

1. 简介

X (Twitter) 每日最具影响力账号榜单追踪分析工具 -- 基于红狐数据 API,提供 X 平台全行业 / 分行业 / 分性别的每日影响力账号榜单查询,支持排名查询、筛选过滤、分页翻页、HTML 可视化报告下载与定时订阅推送。

适用对象:出海内容创作者、品牌方 / 海外投放人员、MCN 机构 / 跨境运营团队、行业分析师 / 咨询从业者。


2. 功能特性

核心功能:

  • 排名查询 -- 查每日 TOP 账号榜(每页 20 条,共 10 页 200 条)
  • 筛选过滤 -- 按性别与 32 个行业分类精准筛选,支持自然语言模糊匹配
  • 分页翻页 -- 支持指定页码查询,对话内逐页浏览
  • 报告下载 -- 生成 X 平台风格 HTML 报告,支持一键导出 PDF / 高清图片
  • 定时订阅 -- 设置每日定时推送,支持按性别 / 行业组合订阅

特色亮点:

  • 每日早上 9:00 更新前一天榜单,最多回溯 7 天
  • 影响力评分:结合粉丝数、互动量、曝光数等加权综合评估,满分 100
  • 行业模糊匹配:支持自然语言输入(如 "宠物" 自动映射到 "萌宠动物")
  • 多维数据:国家/地区、主行业、日涨幅、X 粉丝数、其他平台粉丝数、专题标签一览无余

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

export REDFOX_API_KEY="ak_xxxx..."

依赖安装

无需安装第三方依赖,使用 Python 标准库即可运行。


4. 使用指南

基础使用

查询榜单数据(默认第 1 页 20 条)并生成 HTML 报告:

python scripts/fetch_rank.py --query "用户原始问题" --html

脚本会自动解析:

  • 日期:未明确则取最新可用日期(每日 9:00 更新,9 点后为昨日,9 点前为前日)
  • 性别:识别 男/女(如 "女博主" → female),未明确则 all
  • 行业:模糊匹配 32 个行业(如 "宠物" → "萌宠动物"),接口 category 传行业中文名,未明确则 all;skill 内部不暴露英文分类值
  • 页码:识别 "第2页" 等表达,未明确则第 1 页

翻页查询:

python scripts/fetch_rank.py --query "用户原始问题" --page 2 --html

显式指定筛选条件(优先级高于 --query 解析结果):

python scripts/fetch_rank.py --date 2026-09-20 --gender female --category "萌宠动物" --html

重要:HTML 报告展示的数据条数必须与对话中展示的数量保持一致(每页 20 条)。使用 deliver_attachments 交付 HTML 文件。

高级使用

更新时间与回溯范围(必须输出给用户):

  • 榜单每日早上 9:00 更新前一天数据
  • 最多回溯过去 7 天

时间边界处理(必须严格遵守):

  • 查询当日及未来日期:回复「非常抱歉🙏,我们最新的是昨日的数据,将为您提供最接近您需求的昨日热榜。」
  • 查询时间早于回溯日期:回复「非常抱歉🙏,目前榜单最多支持回溯「过去7天」,我将为您查询最接近您需求的时间范围~」
  • 目标日期接口返回空数据:脚本自动回退到最近可用日期并输出 [WARN] 提示,需转述给用户

订阅服务:

用户确认订阅后,使用 automation_update 工具创建自动化任务:

  • 每日订阅:FREQ=DAILY;BYHOUR=9;BYMINUTE=30(数据 9:00 更新后推送)

Read the full file on GitHub · 254 lines

Files

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.

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 · 254 lines · 144 tokens per session scan A 0881c3fc6b33

Subscribe to this mod's changes

x-top-account is a skill published in the GitHub repository redfox-data/redfox-community-dsh (13 stars, last pushed 6d ago), licensed MIT. It adds 144 tokens to every session and 3,693 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-09-24.

Related

x-top-account compared with skills from other repositories

x-top-account next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
x-top-accountredfox-data/redfox-community-dshSkill136d agoMITA144Claude 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