Agent skill

Bilibili API

by archibate in archibate/dotfiles-opencode

This skill should be used when the user asks to "use bilibili API", "download bilibili video", "get bilibili user info", "list bilibili favorites", "send bilibili danmaku", "upload video to…

No licenceAuto-check: warningsBackend & APIs

Install Bilibili API

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add archibate/dotfiles-opencode --skill bilibili-api -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install archibate/dotfiles-opencode bilibili-api --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/archibate/dotfiles-opencode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/bilibili-api .claude/skills/bilibili-api && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bilibili-api
GitHub stars
108
Token cost
~2.1k tokens
SKILL.md length
506 words
Files
124 (incl. scripts, references)
Skills in repo
34
Repo updated
First seen
Licence
None found

At a glance

This skill should be used when the user asks to "use bilibili API", "download bilibili video", "get bilibili user info", "list bilibili favorites", "send bilibili danmaku", "upload video to…

  • Asks to use bilibili API
  • SKILL.md covers Overview, Quick Start, Credential Setup and Key Modules, plus 3 more sections
  • Calls uv; reaches b23.tv
  • Download bilibili video

What it does

Bilibili API is an agent skill from archibate/dotfiles-opencode. This skill should be used when the user asks to "use bilibili API", "download bilibili video", "get bilibili user info", "list bilibili favorites", "send bilibili danmaku", "upload video to bilibili", "monitor bilibili live room", "search bilibili", "get bilibili comments", or needs guidance on the bilibiliapi Python library usage, authentication, API endpoints, or workflow patterns.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 126 other files, including scripts and reference files (for example `references/api-modules.md`, `references/common-patterns.md` and `references/configuration.md`).

It sits in Backend & APIs, covering REST APIs. It works with Bilibili and Python. The repository describes itself as: Archibate's personal configuration for OpenCode.

When your agent uses it

  • Asks to use bilibili API
  • Download bilibili video
  • Get bilibili user info
  • List bilibili favorites

Example prompts

  • “use bilibili API”
  • “download bilibili video”
  • “get bilibili user info”
  • “/bilibili-api”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 46b6b23. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/, which the agent can run.

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • b23.tv

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bilibili API loads about 2.1k tokens when it runs, and up to ~202k if it reads all its reference files. Until then it costs about 100 tokens; SKILL.md has 506 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~100
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~202k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: warnings

The automated check found patterns that need a careful read before installing.

  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:71
    ibili.com > F12 DevTools > Application (Chrome) or Storage (Firefox) > Cookies > `.bilibili.com` > copy `SESSDATA`, `bil

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 506 words (~2,134 tokens).

“bilibili-api (package: bilibili-api-python, v17.4.1) is a comprehensive async Python wrapper for Bilibili's APIs with 400+ endpoints across 42 modules. All operations are async (asyncio-based) with a sync wrapper available. Supports three HTTP backends: curl_cffi, aiohttp, httpx.”

— opening of SKILL.md by archibate
name
bilibili-api
version
0.1.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 123 other files (scripts, references) in skills/bilibili-api of archibate/dotfiles-opencode.

  • SKILL.md
  • references/api-modules.md
  • references/common-patterns.md
  • references/configuration.md
  • references/credential-setup.md
  • references/docs/.gitignore
  • references/docs/.nojekyll
  • references/docs/DEPLOY_LOCALHOST.md
  • references/docs/README.md
  • references/docs/_sidebar.md
  • references/docs/b23tv.md
  • references/docs/configuration.md
  • references/docs/examples/activity.md
  • references/docs/examples/app.md
  • references/docs/examples/article.md
  • references/docs/examples/article_category.md
  • references/docs/examples/ass.md
  • references/docs/examples/audio.md
  • … and 106 more

Open the folder on GitHubat commit 46b6b23

Compare with similar skills

Bilibili API next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bilibili API compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bilibili API this skillarchibate/dotfiles-opencode108—~2.1kAutomated safety check: WarnNone
Zhihu Searchitwanger/toBeBetterJavaer18k—~1.5kAutomated safety check: PassNone
Fastcrudbenavlabs/fastcrud1.6k—~5kAutomated safety check: PassMIT
Cloudflare Email Servicehodgef/apiker1273 repos~2kAutomated safety check: PassMIT
FastAPI Project Templateswshobson/agents40k12 repos~901Automated safety check: PassMIT
Build X402 Clientcoinbase/cdp-sdk204—~3kAutomated safety check: PassMIT

Similar skills

  • Zhihu Search

    itwanger/toBeBetterJavaer

    Search Zhihu for content using the searchv3 API. An agent skill from itwanger/toBeBetterJavaer.

    18k GitHub stars~1.5k tokensUpdated today
    Backend & APIsAuto-check passed
  • Fastcrud

    benavlabs/fastcrud

    A skill your agent uses when building or modifying CRUD endpoints with FastCRUD (the fastcrud PyPI package) in a FastAPI project — covers FastCRUD, crudrouter, EndpointCreator, FilterConfig…

    1.6k GitHub stars~5k tokensUpdated 13 days ago
    Backend & APIsAuto-check passed
  • Send and receive transactional emails with Cloudflare Email Service (Email Sending + Email Routing).

    127 GitHub starsUsed in 3 repos~2k tokens
    Backend & APIsAuto-check passed
  • Scaffolds FastAPI projects with a layered app layout, dependency injection through Depends, async handlers and database access, middleware and pytest setup.

    40k GitHub starsUsed in 12 repos~901 tokens
    Backend & APIsAuto-check passed
  • Build X402 Client

    coinbase/cdp-sdk

    Write code that pays for an HTTP API returning 402 Payment Required, using the x402 protocol and a CDP-managed wallet.

    204 GitHub stars~3k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Writes a new Dinobase YAML connector for a REST API that has no verified dlt source, covering auth, pagination, read and write endpoints and incremental loading.

    263 GitHub stars~1.9k tokensUpdated 3 mo ago
    Backend & APIsAuto-check passed

More from archibate/dotfiles-opencode

All 34 skills in this repo
  • Pueue

    archibate/dotfiles-opencode

    This skill should be used before running non-interactive long-running tasks, computation intensive tasks, background tasks, or needs guidance on the pueue CLI tool usage.

    108 GitHub starsUsed in 1 repo~637 tokens
    Auto-check passed
  • Show Image

    archibate/dotfiles-opencode

    Show images in terminal using the Kitty image protocol. An agent skill from archibate/dotfiles-opencode.

    108 GitHub starsUsed in 1 repo~596 tokens
    Auto-check passed
  • Glm Vision

    archibate/dotfiles-opencode

    This skill should be used when the user sends an image and asks to "analyze this image", "describe this picture", "what's in this image", or any request requiring visual understanding of images.

    108 GitHub stars~795 tokensUpdated 5 mo ago
    Auto-check passed
  • Show Image

    archibate/dotfiles-opencode

    Show images in terminal using the Kitty image protocol. An agent skill from archibate/dotfiles-opencode.

    108 GitHub starsUsed in 1 repo~622 tokens
    Auto-check passed
  • Tmux

    archibate/dotfiles-opencode

    Remote control tmux sessions for interactive CLIs (python, gdb, etc.) by sending keystrokes and scraping pane output.

    108 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Writing Bash Scripts

    archibate/dotfiles-opencode

    Create and refactor Bash scripts following conventions (strict mode, fct naming, quoting).

    108 GitHub starsUsed in 1 repo~413 tokens
    Auto-check passed

Works with

Categories

Questions about Bilibili API

What does Bilibili API do?

This skill should be used when the user asks to "use bilibili API", "download bilibili video", "get bilibili user info", "list bilibili favorites", "send bilibili danmaku", "upload video to…. Bilibili API is an agent skill from archibate/dotfiles-opencode. This skill should be used when the user asks to "use bilibili API", "download bilibili video", "get bilibili user info", "list bilibili favorites", "send bilibili danmaku", "upload video to bilibili", "monitor bilibili live room", "search bilibili", "get bilibili comments", or needs guidance on the bilibiliapi Python library usage, authentication, API endpoints, or workflow patterns.

When should I use Bilibili API?

Bilibili API fits situations like: asks to use bilibili API; download bilibili video; get bilibili user info; list bilibili favorites.

How do I install Bilibili API in Claude Code?

Run `npx skills add archibate/dotfiles-opencode --skill bilibili-api -a claude-code`. Or copy the skill folder (skills/bilibili-api in archibate/dotfiles-opencode) into .claude/skills/bilibili-api in your project. Claude Code loads it when a task matches its description.

How do I install Bilibili API in Codex?

Run `npx skills add archibate/dotfiles-opencode --skill bilibili-api -a codex`. Or copy the skill folder (skills/bilibili-api in archibate/dotfiles-opencode) into .agents/skills/bilibili-api in your project. Codex loads it when a task matches its description.

Can I use Bilibili API in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add archibate/dotfiles-opencode --skill bilibili-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bilibili-api, .gemini/skills/bilibili-api, .github/skills/bilibili-api and .opencode/skills/bilibili-api in your project.

What does Bilibili API need to run?

Going by SKILL.md and its folder, Bilibili API needs the command-line tools its instructions call (uv). Our summary lists: Python 3.

Does Bilibili API access the network?

SKILL.md names 1 domain. In commands or code: b23.tv; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Bilibili API safe to install?

Our automated static check of SKILL.md flagged 1 warning(s): mentions a credentials file (ssh keys, cloud or package-manager tokens). Read the flagged lines before installing; the check is not a guarantee either way. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Bilibili API use?

No licence was found for Bilibili API or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Bilibili API use?

About 2.1k tokens (SKILL.md is roughly 8.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 199k tokens, read only when the agent opens those files.

What are the alternatives to Bilibili API?

Skills that share tags, products or a category with Bilibili API: Zhihu Search (itwanger/toBeBetterJavaer, 18k stars), Fastcrud (benavlabs/fastcrud, 1.6k stars), Cloudflare Email Service (hodgef/apiker, 127 stars) and FastAPI Project Templates (wshobson/agents, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bilibili API?

archibate (a GitHub user) maintains it in archibate/dotfiles-opencode, which has 108 GitHub stars. The repository holds 34 skills in this directory. The repository was last updated on April 29, 2026.

Source: archibate/dotfiles-opencode on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.