MCPInstall

toutiao-news-trends

今日头条热点新闻热榜工具。实时获取热门资讯,涵盖时政、财经、社会、科技、娱乐等多领域,自动格式化输出规范内容。

Installs
47
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/zsxink/skills-hub --skill toutiao-news-trends
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads toutiao-news-trends automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

今日头条新闻热榜

技能概述

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

  • 热点标题
  • 热度值(HotValue)
  • 详情跳转链接(去除冗余查询参数,便于分享)
  • 封面图(如有)
  • 标签(如“热门事件”等)

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

获取热榜

重要说明:

  • ⚠️ 默认输出格式为规范 Markdown 格式(符合输出格式规范要求)
  • 如需原始 JSON 数据,请使用 json 命令

获取热榜(默认 10 条,按榜单顺序返回,格式化输出):

node scripts/toutiao.js

获取热榜前 N 条(格式化输出):

node scripts/toutiao.js 10
# 或
node scripts/toutiao.js format 10

获取热榜(JSON 格式,默认 50 条):

node scripts/toutiao.js json

获取热榜前 N 条(JSON 格式):

node scripts/toutiao.js json 20

返回数据字段说明

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

分类映射说明

英文分类已自动映射为中文,例如:

  • finance → 财经
  • car → 汽车
  • technology → 科技
  • entertainment → 娱乐
  • sports → 体育
  • society → 社会
  • international → 国际
  • 等等...

输出格式规范

默认输出格式

⚠️ 重要:此技能默认输出为以下规范格式,无需额外配置。

AI助手在展示今日头条热点新闻时,应遵循以下统一格式:

## 今日头条最新热点新闻 Top N

**🔥 热度前十名**

N. **新闻标题**
热度:X万
分类:分类标签
[查看详情](<链接>)
---
...

格式要求:

  • 标题使用加粗(标题)
  • 热度以"万"为单位显示(如:4651万)
  • 分类如有多个用"/"分隔,无分类显示"-"
  • 链接使用尖括号包裹 [查看详情](<链接>),避免特殊字符导致 Markdown 解析问题
  • 每条新闻之间用 --- 分隔
  • 默认显示前10条热榜

注意事项

  • 该接口为网页端公开接口,返回结构可能变动;若字段缺失可适当容错
  • 访问频繁可能触发风控,脚本内置随机 User-Agent 与超时控制
  • 该接口不提供文章摘要/概要信息,只能获取标题、热度、链接等基本信息

作者介绍

  • 爱海贼的无处不在
  • 我的微信公众号:无处不在的技术

FAQ

What does the toutiao-news-trends skill do?

今日头条热点新闻热榜工具。实时获取热门资讯,涵盖时政、财经、社会、科技、娱乐等多领域,自动格式化输出规范内容。

How do I install toutiao-news-trends?

Run npx skills add https://github.com/zsxink/skills-hub --skill toutiao-news-trends in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/toutiao-news-trends/ (personal) or .claude/skills/toutiao-news-trends/ (project).

Which AI agents can use toutiao-news-trends?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is toutiao-news-trends safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains toutiao-news-trends?

It is published by zsxink in zsxink/skills-hub. It has 47 recorded installs.

More from zsxink/skills-hub

View all →

a-stock-daily-report

zsxink/skills-hub

A股每日简报自动生成系统。抓取东方财富实时数据,生成包含大盘指数、热门板块、资金动向等完整信息的日报报告。

Docs & Writing779 installs

wechat-article-search

zsxink/skills-hub

微信公众号文章智能搜索工具。通过关键词检索获取文章列表,返回标题、摘要、发布时间、来源公众号等详细信息。

Docs & Writing161 installs

Popular other skills

View category →

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.3M installs

triage

mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

1M installs

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

778.4K installs

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

508.9K installs

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

459.7K installs

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

447.9K installs