toutiao-search

toutiao-search is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 79 tokens per session (1,664 once invoked), scanned A, original, MIT.

A search tool for finding recent articles and videos on Toutiao, a Chinese content platform. It displays results in a terminal table and can export CSV data or an interactive HTML report.

In plain words
What is it for?
Use it to track topics, find popular posts, monitor competitors, gather content ideas, investigate public discussion, or export results for analysis.
Why use it?
It avoids manually searching the platform and collecting results into a spreadsheet. Time limits, view sorting, video-only filtering, and multiple pages make focused content research easier.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to track topics, find popular posts, monitor competitors, gather content ideas, investigate public discussion, or export results for analysis.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/toutiao-search"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/toutiao-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,664 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.00079 $0.01664
Opus 5 $0.00039 $0.00832
Sonnet 5 $0.00016 $0.00333
Haiku 4.5 $0.00008 $0.00166

Measured 7d ago against content hash 603e1288db0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

toutiao-search 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/search.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/toutiao-search/SKILL.md · 161 lines

How it starts

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

今日头条爆款内容查询

输入关键词搜索今日头条最新作品(图文/视频),终端表格展示 + CSV 导出 + 交互式 HTML 报告。

需先配置 API Key,通过环境变量 REDFOX_API_KEY 或 --api-key 参数传入。 搜索范围:今日头条平台最新发布的作品,实时拉取,无缓存延迟。


使用场景

当你需要执行以下任务时,应优先使用本技能:

场景 示例
热点话题追踪 搜 "AI" 了解今日头条上最新的 AI 相关内容
爆款内容分析 搜 "大模型" 找出阅读量最高的爆款文章
竞品内容监控 搜品牌关键词,追踪竞品在今日头条的投放内容
选题灵感采集 搜 "新能源" 批量导出 CSV 做数据分析找选题
舆情快速了解 搜某事件关键词,快速了解头条平台讨论风向
视频内容挖掘 搜 "测评" 配合 --video-only 筛选视频类爆款

使用方法

# 基础搜索
python3 "$SKILL_PATH/scripts/search.py" "关键词"

# 按阅读量排序(默认按时间)
python3 "$SKILL_PATH/scripts/search.py" "AI" --sort views

# 限定最近 24 小时内发布的作品
python3 "$SKILL_PATH/scripts/search.py" "大模型" --hours 24

# 只查视频类作品
python3 "$SKILL_PATH/scripts/search.py" "测评" --video-only

# 多页翻页,获取更多结果
python3 "$SKILL_PATH/scripts/search.py" "新能源汽车" --pages 5

# 仅导出 CSV,不生成 HTML
python3 "$SKILL_PATH/scripts/search.py" "AI" --csv-only

# 不自动打开浏览器
python3 "$SKILL_PATH/scripts/search.py" "AI" --no-open

终端输出按指定排序方式(时间/阅读量)降序排列;结果较少或无结果时自动提示。

HTML 报告特性:深色主题 · 点击搜索按钮查询 · 作品卡片点击跳转原文 · 图文/视频标签区分 · 分页加载。

CSV / HTML 默认保存在 ~/Downloads/QoderToutiaoSearch/


返回结果展示规范

向用户展示搜索结果时,必须使用以下完整字段列表,不得省略:

序号 字段 说明
# 排名序号 从 1 开始
标题 作品标题 最多显示 30 字,超出截断
作者 作者昵称
阅读量 viewCount 用千/万简写(如 3.2k、12w)
点赞数 likeCount 同上
评论数 commentCount 同上
转发数 repostCount 同上
发布时间 publishTime 格式:YYYY-MM-DD HH:mm
类型 workType 图文 / 视频
链接 workUrl 可点击跳转原文

表格示例:

| # | 标题 | 作者 | 阅读 | 点赞 | 评论 | 转发 | 发布时间 | 类型 |
|---|------|------|------|------|------|------|----------|------|
| 1 | 某某爆款文章标题... | 某某作者 | 3.2k | 412 | 89 | 56 | 2026-06-28 14:30 | 图文 |

参数说明

参数 说明 默认值
keyword 搜索关键词(必填,位置参数)
--sort 排序方式:views / time views
--hours 限定最近 N 小时内发布的作品(0=不限) 0
--pages 翻页次数(每页约 10 条) 3
--video-only 只返回视频类作品
--output-dir 输出目录 ~/Downloads/QoderToutiaoSearch
--api-key 指定 API Key
--no-open 不自动打开浏览器
--csv-only 仅生成 CSV,不生成 HTML
--port HTML 本地服务端口 8767

Read the full file on GitHub · 161 lines

Files

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.

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. 7d ago First seen · 161 lines · 79 tokens per session scan A 603e1288db0c

Subscribe to this mod's changes

toutiao-search is a skill published in the GitHub repository redfox-data/redfox-community-dsh (5 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 1,664 once invoked, about $0.0004 per session on Opus 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-03.

Related

Other skills, from other repositories

dsh-hooks-authoring

Instructions for writing and debugging dsh-hooks-plugin scripts, which run during tool or session events such as before a tool call or after it finishes. These scripts return JSON decisions such as allowing, asking about, or denying an action.

KYinCode/dsh-hooks-plugin · 112 tokens

web-artifact-designer

A design workflow for producing self-contained HTML or SVG files that open directly in a browser. It covers visual work such as posters, infographics, landing pages, charts, banners, cards, and interface mockups.

xulelenlp/dsh-web-artifact-designer · 115 tokens

dsh-web-pet-developer

Create a pet for the dsh-pet plugin and integrate it into the dsh web GUI — author a v2 pet.json manifest plus an 8-column x 9-row atlas per the Codex/hatch-pet contract (live2d pets, voice packs and status decorations included), drop it into the pet-center user directory or contribute it as a built-in asset under…

zhu1090093659/dsh-web · 162 tokens

company-research-method

A documented process for researching a company using supplied files and selected public sources. It produces a company overview with business details, sourced financial figures, and stated risks.

PerryLink/dsh-industry-research · 83 tokens

dsh-plugin-guide

Use when developing, reviewing, packaging, debugging, or answering questions about DeepSeek Harness (DSH) plugins — the plugin-based agent harness on vendored Cordis. Applies the official plugin-development constraints (plugin contract, cordis.yml layers, services/events/effects, tool DSL, bundles/profiles) backed by…

PerryLink/dsh-plugin-guide · 76 tokens

living-docs-governance

Keep a long-lived project's documentation from rotting by assigning existing project docs clear constitution, map, status, and history roles, then wiring the active agent harness to those canonical sources. Use in the maintain phase when docs drift from code, agents lose context between sessions, or intentional…

gongyijie85/dsh-ecc · 118 tokens