CommunityCoding & Developmentgithub.com

sunrisever/bilibili-follow

Export Bilibili follow list, classify with ChatGPT/Claude/Gemini or other frontier LLMs, then sync groups back.

What is bilibili-follow?

This skill automates the management of your Bilibili follow list. It first exports all your followed channels, then leverages frontier LLMs like ChatGPT, Claude, or Gemini to intelligently classify these channels into custom groups based on content, topic, or any criteria you define. Finally, it syncs the newly organized groups back to your Bilibili account. This is particularly useful for users who have accumulated a large, unorganized follow list and want to quickly structure it without manual effort. The skill works by reading your follow data, sending it to a user-configured LLM for classification, and then using Bilibili's API to update the groups. It streamlines a tedious organizational task into a single, automated workflow.

Works with✓Claude Code~Codex CLI~Cursor✓Gemini CLI
Part ofMobile
npx skills add sunrisever/bilibili-follow

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does bilibili-follow do?

Export Bilibili follow list, classify with ChatGPT/Claude/Gemini or other frontier LLMs, then sync groups back.

Overview

This skill helps you automate the management of your Bilibili followed channels. It exports your current follow list, sends the channel names and descriptions to a large language model (LLM) for intelligent classification into user-defined groups, and then updates the groups on Bilibili.

Features

  • Export follows: Retrieve your complete list of followed Bilibili channels.
  • AI classification: Use ChatGPT, Claude, Gemini, or any compatible LLM to categorize channels based on content, niche, or custom labels.
  • Sync groups: Automatically apply the new group assignments back to your Bilibili account.
  • Customizable: Define your own classification criteria and group names.

Requirements

  • A Bilibili account with a follow list.
  • API access to Bilibili (via cookies or tokens).
  • An API key for a supported LLM (e.g., OpenAI, Anthropic, Google).

Usage

  1. Configure your Bilibili credentials and LLM API key in the environment variables or config file.
  2. Run the export command to fetch your follow list.
  3. Provide classification rules (e.g., group names or categories) to the LLM.
  4. Run the sync command to update Bilibili groups.

Example commands:

# Export follows
bilibili-follow export

# Classify with LLM
bilibili-follow classify --groups "Tech, Gaming, Education, Music"

# Sync back
bilibili-follow sync

Configuration

VariableDescription
BILIBILI_SESSDATABilibili session cookie
LLM_API_KEYAPI key for LLM service
LLM_MODELModel name (e.g., gpt-4, claude-3)

License

MIT

Related Skills