Toutiao News Trends logo

Toutiao News Trends

Community
noah-1106
toutiao-news-trends

获取今日头条(www.toutiao.com)新闻热榜/热搜榜数据 | Get Toutiao (www.toutiao.com) news hot list/trending data 包含时政要闻、财经、社会事件、国际新闻、科技发展及娱乐八卦等多领域的热门中文资讯 | Includes politics, finance, social events, international news, tech, entertainment and more 输出热点标题、热度值与跳转链接 | Output hot titles, heat values and jump links

Overview

Publishernoah-1106
RepositorySkills_Repo
Skill nametoutiao-news-trends
Stars
32
Forks
5
Bundled files
9
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by noah-1106 on GitHub. Read the source before you install it.

Installation

Install the Toutiao News Trends AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/noah-1106/Skills_Repo/tree/main/skills/toutiao-news-trends-0
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/noah-1106/Skills_Repo.git /tmp/Skills_Repo
mkdir -p .claude/skills
cp -r /tmp/Skills_Repo/skills/toutiao-news-trends-0 .claude/skills/toutiao-news-trends
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Toutiao News Trends in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Toutiao News Trends on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Toutiao News Trends is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

今日头条新闻热榜 | Toutiao News Hot List

技能概述 | Skill Overview

此技能用于抓取今日头条 PC 端热榜(hot-board)数据,包括: This skill fetches Toutiao PC hot-board data, including:

  • 热点标题 / Hot topic titles
  • 热度值(HotValue)/ Heat values
  • 详情跳转链接(去除冗余查询参数,便于分享)/ Detail links (cleaned for sharing)
  • 封面图(如有)/ Cover images (if available)
  • 标签(如"热门事件"等)/ Labels (e.g., "hot event")

数据来源:今日头条 (www.toutiao.com) Data source: Toutiao (www.toutiao.com)


获取热榜 | Get Hot List

获取热榜(默认 50 条,按榜单顺序返回): Get hot list (default 50 items, in list order):

bash
node scripts/toutiao.js hot

获取热榜前 N 条: Get top N items:

bash
node scripts/toutiao.js hot 10

返回数据字段说明 | Return Data Fields

字段 / Field类型 / Type说明 / Description
ranknumber榜单排名(从 1 开始)
titlestring热点标题
popularitynumber热度值(HotValue,已转为数字;解析失败时为 0)
linkstring热点详情链接(已清理 query/hash)
coverstring | null封面图 URL(如有)
labelstring | null标签/标识(如有)
clusterIdstring聚合 ID(字符串化)
categoriesstring[]兴趣分类(如有)

注意事项 | Notes

  • 该接口为网页端公开接口,返回结构可能变动;若字段缺失可适当容错 This interface is a public web interface; structure may change; handle missing fields gracefully
  • 访问频繁可能触发风控,脚本内置随机 User-Agent 与超时控制 Frequent access may trigger rate limiting; script includes random User-Agent and timeout control

数据采集与持久化 | Data Collection & Persistence

新增数据库存储和可视化功能,用于调研数据收集。 New database storage and visualization features for research data collection.

快速开始 | Quick Start

bash
# 1. 初始化数据库(首次使用)/ Initialize database (first time)
cd scripts
python3 init_db.py

# 2. 采集数据并保存到数据库 / Collect data and save to database
python3 save_to_db.py 50

# 3. 查询数据 / Query data
python3 query.py today

# 4. 生成 HTML 报告 / Generate HTML report
python3 generate_html.py
open ../data/index.html

新增脚本说明 | New Scripts

脚本 / Script功能 / Function
init_db.py初始化 SQLite 数据库 / Initialize SQLite database
save_to_db.py采集热榜并保存到数据库 / Collect hot list and save to DB
query.py查询数据库内容 / Query database content
generate_html.py生成可视化 HTML 报告 / Generate visual HTML report

使用示例 | Usage Examples

bash
# 采集50条热榜 / Collect 50 hot items
cd scripts
python3 save_to_db.py 50

# 查看今天的热榜 / View today's hot items
python3 query.py today

# 查看统计 / View statistics
python3 query.py stats 7

数据存储位置 | Data Storage Location

data/
├── toutiao.db        # SQLite 数据库 / Database
└── index.html        # HTML 报告(生成后)/ HTML report (generated)

致谢

感谢原作者@爱海贼的无处不在 的原版技能toutiao-news-trends开源,本技能基于原版技能进行强化和更新制作而成。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Toutiao News Trends AI skill do?

获取今日头条(www.toutiao.com)新闻热榜/热搜榜数据 | Get Toutiao (www.toutiao.com) news hot list/trending data 包含时政要闻、财经、社会事件、国际新闻、科技发展及娱乐八卦等多领域的热门中文资讯 | Includes politics, finance, social events, international news, tech, entertainment and more 输出热点标题、热度值与跳转链接 | Output hot titles, heat values and jump links

Why use Toutiao News Trends on TypingMind?

Because you install it once and use it with any model. Toutiao News Trends is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Toutiao News Trends in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/noah-1106/Skills_Repo/tree/main/skills/toutiao-news-trends-0. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Toutiao News Trends?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Toutiao News Trends?

As many as you like. As long as a model supports skills, you can use Toutiao News Trends with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Toutiao News Trends AI skill free?

Yes. It is published on GitHub by noah-1106 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇