social-spark · Social Trending Comment Skill: Connecting Zhihu Hot List and Multi-Platform Trending Topics to Agent

Preface

When performing “AI Commentary” or “Sentiment Summary” tasks, models often only speak generally based on training data, lacking what is actually being discussed in the community that day and what specific topics are on the hot lists. Writing a custom crawler requires interfacing with various site APIs, handling rate limits and keys, and has high maintenance costs. The social-spark · Social Hot Comments Skill introduced below aggregates the Zhihu Hot List, Weibo Hot Search, and Global Hot Search into a callable capability. It is mounted to agents like Cursor, Claude Code, and Codex in the form of a generic SKILL.md. When users say “Hot Search” or “What are netizens saying,” the skill description drives the agent to fetch data.

What is this

social-spark · Social Hot Comments Skill is located at @user_310a65be/social-spark-worker-a on SkillHub. Current version 1.0.0, source community, category data-analysis, publisher user_310a65be. Official description: Scrapes Weibo hot comments, Zhihu “divine answers,” and global hot searches to provide authentic community voices for AI commentators.

Implementation-wise, the skill package contains SKILL.md and the Node.js module social-spark.cjs (relies on native fetch, no extra npm packages required). After the Agent reads SKILL.md, it is enabled based on trigger words; if script-side aggregation is needed, functions from the core module can be required.

Core Features

The following capabilities all come from the SKILL.md and social-spark.cjs exported interfaces within the skill package.

Data Sources

Platform Requires Key Description
Zhihu Hot List No No login required
Weibo Hot Search Yes Via TianAPI, requires a free Key applied for yourself
Network Hot Search Yes Via TianAPI, shares the same Key as Weibo

Main Functions

  • zhihuHotList(limit?): Get Zhihu Hot List, returns ranking, title, link, question_id, heat, number of answers, followers, summary, etc.
  • weiboHotList(): Weibo Hot Search List (TianAPI Key needs to be configured).
  • networkHotList(): Global Hot Search (aggregates multiple platforms, requires Key).
  • pickDebateTopic(topics, keywords?): Filter topics from the hot list suitable for debate and related to keywords like “AI” (documentation specifies filtering criteria include heat and answer thresholds).
  • allPlatformHot(options?): Aggregate multiple platforms at once; options include includeZhihu, includeWeibo, includeNetwork, returning lists for each platform and a timestamp.

The documentation also mentions that answer-related capabilities like zhihuAnswers require login and fall back to a hot list summary on failure. If you wish to use the “divine answer” route after installation, you must accept this limitation.

Agent Trigger Scenarios

When users mention expressions such as “Hot Search,” “Weibo Hot Search,” “Zhihu Hot List,” “What are netizens saying,” “What are Zhihu/Weibo arguing about,” “What big events are happening in the AI circle,” “Help me check global hot search,” or “AI topics worth discussing,” the skill description suggests activating this skill.

Installation and Activation

Install SkillHub CLI (if not already installed)

command -v skillhub && skillhub --version

If not installed, execute the full installation or just the CLI according to the SkillHub installation instructions:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

Install this Skill

The SkillHub skill page requires the installation coordinate @user_310a65be/social-spark-worker-a. The installation command from the CLI search results is as follows; you must use --dir to point to your Agent’s skills directory, otherwise the default installation to ./skills/ may not be recognized.

skillhub install social-spark-worker-a --namespace user_310a65be --dir <your Agent skills directory>

Common skills directories for Agents (also from SkillHub installation docs):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ in the project

After installation, restart or refresh the skill list according to each Agent’s convention to make SKILL.md take effect.

The SkillHub metadata tag is requires_api_key=true. Weibo and Network Hot Search require setting constants at the top of social-spark.cjs:

const TIANAPI_KEY = 'your TianAPI free Key';

Application steps (from skill docs):

  1. Register at tianapi.com;
  2. Apply for Weibo Hot Search API (ID: 100) and Network Hot Search API (ID: 223);
  3. Write the Key into the constant mentioned above.

When no Key is configured, Weibo and related functions return empty arrays without throwing errors; the Zhihu Hot List can be used separately.

Typical Usage

Zhihu Hot List Only (No Key)

const { zhihuHotList, pickDebateTopic } = require('./social-spark.cjs');

const topics = await zhihuHotList(30);
const aiTopics = pickDebateTopic(topics);
console.log(aiTopics);

Multi-Platform Aggregation

const { allPlatformHot, pickDebateTopic } = require('./social-spark.cjs');

(async () => {
  const data = await allPlatformHot({
    includeZhihu: true,
    includeWeibo: true,
    includeNetwork: false
  });

  console.log('Zhihu items:', data.zhihu.length);
  console.log('Weibo items:', data.weibo.length);

  if (data.zhihu.length > 0) {
    console.log('Recommended topic:', data.zhihu[0].title);
  }
})();

You can also use the command line for a quick self-check in the skill directory:

node social-spark.cjs

In Agent conversations, you don’t need to write the code above manually: simply use natural language to hit trigger words, and the Agent will call the corresponding logic according to SKILL.md.

Use Cases and Notes

Who is this for: Teams that need to feed “daily hot lists + community topics” to LLMs for writing comments, topic selection, or briefings; Data Analysis or Content Agents; Teams already using SkillHub to distribute skills and want to mount capabilities uniformly in Cursor / Claude Code / Codex.

Limitations and Pitfalls (see skill docs):

  1. The Zhihu interface has no Key, but has rate limits; avoid calling more than 5 times continuously within 10 seconds.
  2. TianAPI free quota is limited (example in docs: Weibo ~100 times/day; Network quota subject to official website).
  3. Weibo/Network returns empty arrays silently when Key is not configured; need to check TIANAPI_KEY first when troubleshooting.
  4. Zhihu answers interface relies on login and is not suitable as a default reliable data source.

SkillHub page stats (based on scraped data): Rating 100000, Downloads 719, Installs 0; Keys related to Weibo and Network capabilities are optional, but the tag indicates the skill involves API Key configuration overall.

Conclusion

social-spark · Social Hot Comments Skill uses a SKILL.md to align hot search queries with Agent trigger words, and social-spark.cjs to encapsulate the free Zhihu Hot List and TianAPI-driven Weibo and Network Hot Searches. It is suitable for “AI Commentator” workflows where you first pull authentic community voices before generating text. For installation and metadata, see SkillHub: social-spark · Social Hot Comments Skill, API coordinate page: https://api.skillhub.cn/user_310a65be/social-spark-worker-a.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye