Bilibili Video - Danmaku Public Opinion Analysis: Analyzing Public Sentiment and Rhythm from Video Links

Introduction

When reviewing Bilibili (B-site) content, Danmaku (bullet comments) often reflect audience emotions and controversial points at specific moments better than view counts. Manually exporting Danmaku, followed by tokenization and statistics, involves multiple steps and makes it difficult to clearly explain the changes in “pacing” and sentiment over time. If you are already using Agent Skills to extend capabilities in environments like Cursor or Claude Code, you can consolidate “Pulling Danmaku + Interpretation via LLM” into a single workflow, rather than building scripts from scratch every time.

Below is an introduction to the community Skill on SkillHub, “Bilibili Video - Danmaku Sentiment Analysis” (B站视频-弹幕舆情分析), explaining what it does, how to install it, and the boundaries you should be aware of during use.

What is This

“Bilibili Video - Danmaku Sentiment Analysis” is an Agent Skill categorized under data-analysis, located at @user_ab5ae6ee/unclecheng-bilibili-danmaku-analyzer. The current version is 1.0.0, the source is community, and it is maintained by the publisher user_ab5ae6ee (labeled as author “Uncle城” on the SkillHub page).

In a nutshell: Input a Bilibili video link to automatically extract Danmaku data, then use a Large Language Model to analyze the sentiment tendency, sentiment evolution, and pacing/heat distribution of the Danmaku. The page tag indicates requires_api_key=false, meaning the Skill metadata does not require a separate API Key configuration for this specific Skill (the actual analysis still relies on the LLM capabilities configured in your Agent).

Official Access:

  • SkillHub Page: https://www.skillhub.cn/skills/user_ab5ae6ee/unclecheng-bilibili-danmaku-analyzer
  • API Registration Address: https://api.skillhub.cn/user_ab5ae6ee/unclecheng-bilibili-danmaku-analyzer

Core Functions

The following capabilities are derived from the SkillHub description and page details; details not present in the materials are not expanded upon.

  1. Danmaku Acquisition: Extract Danmaku data based on the Bilibili video link you provide, serving as input for subsequent analysis.
  2. Sentiment Tendency: Use an LLM to summarize and judge the sentiment direction of the Danmaku content.
  3. Sentiment Evolution: Observe sentiment changes along the time dimension to facilitate comparison with video progress or topic turning points.
  4. Pacing and Heat Distribution: Perform heat distribution analysis from perspectives such as Danmaku density and pacing, helping to understand “which segment has the densest Danmaku and whether controversies are concentrated.”

The Skill itself is not responsible for replacing official Bilibili data products; rather, within an Agent conversation scenario, it chains “Link → Danmaku → Structured Interpretation” into a repeatable skill package.

Installation and Activation

Installation follows the official SkillHub documentation. First, perform an environment check, then install the Skill to the skills directory recognized by the current Agent. If installed in the wrong directory, the Agent may fail to load the Skill.

1. Install SkillHub CLI (if not already installed)

Check if it is installed:

command -v skillhub && skillhub --version

If not installed, execute the official installation script (full installation includes CLI and default Skills):

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

Install CLI only:

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

2. Install this Skill

The installation prompt provided on the official page is: Install @user_ab5ae6ee/unclecheng-bilibili-danmaku-analyzer according to https://skillhub.cn/install/skillhub.md.

The command line example is as follows (--dir must point to the skills directory of the current environment):

skillhub install @user_ab5ae6ee/unclecheng-bilibili-danmaku-analyzer --dir <skills directory>

Common client skills paths (excerpted from SkillHub installation docs):

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

You can also send the installation prompt from the SkillHub page to the AI in the conversation and let it complete the installation using the same coordinates; specific steps depend on the Agent’s execution of skillhub.md.

After installation is complete, restart or refresh the Agent according to your client’s requirements to ensure the new Skill is loaded.

Typical Usage

No independent example repository is attached to the public data; reproable usage is consistent with the introduction. It is recommended to follow the steps below in a conversation with an Agent that has this Skill enabled.

  1. Confirm that the Skill appears in the current Agent’s skills list or has been loaded.
  2. Provide an accessible Bilibili video link (BV number or full URL, depending on the format accepted by the Skill; if it fails, try again with a standard share link).
  3. Explain the analysis goals in natural language, such as: overall sentiment tendency, whether sentiment turns negative during a specific time period, or at which time points the Danmaku pacing rises significantly.
  4. Manually verify the results returned by the Agent against the video timeline; for judgments involving reporting, PR, or compliance, rely on the original Danmaku and platform rules, do not solely depend on model induction.

Example Prompt (illustrative, not an official fixed template):

Please use the "Bilibili Video - Danmaku Sentiment Analysis" skill to analyze this video: https://www.bilibili.com/video/BVxxxxxxxx
Focus on: Sentiment tendency, changes in sentiment over time, and which segments have the highest Danmaku pacing/heat.

Scenarios and Notes

Who is it for

  • Users who need to review Danmaku for a single or small number of Bilibili videos: operators, creators, and research-oriented developers who want to quickly get summaries regarding sentiment and pacing within a conversation.
  • Users already using environments supporting Skills like Cursor, Claude Code, Codex, and willing to use SkillHub to manage skill packages.

Limitations and Notes

  • Version and capabilities are subject to the v1.0.0 registered on SkillHub; do not make assumptions about interface fields or script parameters not specified on the page.
  • Danmaku availability is affected by video status, platform strategy, and network environment; non-public or restricted content may not be fully extracted.
  • LLM analysis carries risks of bias and hallucination; it is suitable for assistive reading and should not be used as the sole basis for decision-making.
  • The SkillHub page shows this Skill has a rating of 100000, 993 downloads, and 35 installations (statistics are based on the time of page scraping and will change over time).

Conclusion

“Bilibili Video - Danmaku Sentiment Analysis” consolidates Bilibili links, Danmaku extraction, and sentiment/pacing interpretation into a data-analysis oriented Skill, suitable for lightweight reviews within an Agent. Remember the coordinate @user_ab5ae6ee/unclecheng-bilibili-danmaku-analyzer when installing, and ensure the package is placed in the correct skills directory.

For details and installation tips, see SkillHub: https://www.skillhub.cn/skills/user_ab5ae6ee/unclecheng-bilibili-danmaku-analyzer

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

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

Xiaoye