Skip to content

Extracts and organizes frames from a Bilibili or local video into scenery shots and per-character groups.

CCM score
66 of 100
skills.sh installs
2.3K
GitHub stars
108
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers two modes: clustering all characters by CCIP identity, or pulling matches for one named character from a reference folder
  • Includes keyframe extraction with scene-change or interval sampling, plus optional subtitle and watermark removal via --clean
  • Enforces CPU-only CCIP identity embedding, since ONNX_MODE=CoreML crashes that step; person detection still runs on CoreML
  • Designed for anime and 2.5D-render footage only, not live-action video, and for personal offline analysis

Install

$ npx -y skills add agents365-ai/365-skills --skill bangumi-frames -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

bangumi-frames — Bilibili Anime Frame & Character Organizer

Overview

Give a Bilibili video (a bangumi ep link, a UP-upload BV link/id, or a local video file); it downloads → extracts scene-change keyframes → splits scenery vs character frames → organizes the character crops. One pass, two modes:

  • no --ref (cluster mode) — group every character crop by CCIP identity into characters/char_NN/.
  • with --ref DIR (one-vs-rest mode) — given ONE character's reference folder, pull every crop in the video that matches it into matched/, filenames prefixed with distance (closest first) so a tight threshold yields a pure set.

Models are anime-specific (deepghs anime person detection + CCIP character-identity embeddings) — they do not work on live-action footage.

When to use / when NOT to use

  • Use when the user wants to collect/extract/organize anime frames or screenshots from a Bilibili video — by character, by scenery, or to pull out one specific person.
  • Don't use for live-action video (needs an insightface-class face stack instead), or for generic video editing/trimming/transcoding.

Bundled resources

Details

Repository
github.com/agents365-ai/365-skills
Category
Video & Audio Editing
First seen
Jul 14, 2026

Questions

What does the bangumi-frames skill do with a Bilibili video?

It downloads a Bilibili video, such as a bangumi episode, a UP upload, or a local file, and extracts scene-change keyframes. It then sorts frames into scenery shots and per-character image groups using anime person detection and CCIP character-identity embeddings.

How do I pull out frames of one specific anime character?

Run the skill with the --ref flag pointing to a reference folder of about 200 crops of that character. It collects every matching crop from the video into a matched folder, with filenames prefixed by distance so the closest matches come first.

What do I need before running bangumi-frames?

You need ffmpeg on your PATH, yt-dlp for downloads, and Python 3.9 or newer with dghs-imgutils installed. Bilibili downloads also need a cookies.txt file, and 1080p or premium episodes require a cookie with membership access.

Which skills lead the Video & Audio Editing category, and where does bangumi-frames stand?

bangumi-frames ranks in the top 50 of the Video & Audio Editing category. It is a different kind of tool from the video-creation skills in that category, since it extracts and sorts anime frames by character rather than editing or producing video.

How do I install bangumi-frames?

Run npx -y skills add agents365-ai/365-skills --skill bangumi-frames -y in your project. After that, the agent can extract and organize frames from a Bilibili video by character or by scenery.

More from agents365-ai/365-skills

All 12

Similar to Bangumi Frames

More Video & Audio Editing