bilibili-play

bilibili-play is a skill for Claude Code, Codex from asaotomo/DeepSentry. It costs 100 tokens per session (1,779 once invoked), scanned A, original, Apache-2.0.

A browser-control skill for opening and playing videos on Bilibili, a Chinese video-sharing website, including selected episodes, playback speed, fullscreen mode, and frame capture.

In plain words
What is it for?
Finding Bilibili videos, opening a specific episode, changing speed, entering fullscreen, and capturing a frame while a video plays.
Why use it?
It lets an agent operate the real video site when ordinary page reading is not enough.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Finding Bilibili videos, opening a specific episode, changing speed, entering fullscreen, and capturing a frame while a video plays.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asaotomo/deepsentry/bilibili-play
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add asaotomo/DeepSentry --skill bilibili-play
Clone the repo
git clone --depth 1 https://github.com/asaotomo/DeepSentry

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bilibili-play

README.md
[![agentmods](https://agentmods.dev/badge/skills/asaotomo/deepsentry/bilibili-play/github.svg)](https://agentmods.dev/skills/asaotomo/deepsentry/bilibili-play)
Your own site
<a href="https://agentmods.dev/skills/asaotomo/deepsentry/bilibili-play"><img src="https://agentmods.dev/badge/skills/asaotomo/deepsentry/bilibili-play/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bilibili-play

Your own site · 80×15
<a href="https://agentmods.dev/skills/asaotomo/deepsentry/bilibili-play"><img src="https://agentmods.dev/badge/skills/asaotomo/deepsentry/bilibili-play.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,779 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00100 $0.01779
Opus 5 $0.00050 $0.00890
Sonnet 5 $0.00020 $0.00356
Haiku 4.5 $0.00010 $0.00178

Measured 5d ago against content hash 0a861895447e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

bilibili-play scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/bilibili-play/SKILL.md · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.

在真实浏览器播放 B站视频(倍速 / 全屏 / 抓帧)

这是 HawkEye 真实浏览器直播放 工作流,不是下载,也不是内置 browser_browse。 HawkEye 已出现在本会话工具列表中就等于已经连通,禁止再做 MCP 安装/端口/MD5 自检。

工具名以本会话实际前缀为准(常见 hx0-hawkeye__browser_navigate)。下文写短名。

何时使用

用户要在浏览器里 看/播放 B站视频,尤其带全屏、倍速、第 N 集。典型说法: 「用MCP打开B站播放奥特曼」「在B站看/播放」「2倍速全屏」。

禁止事项

  • 禁止内置 browser_browse / browser_interact
  • 禁止反复 browser_tabs action=new;已知 URL 用 browser_navigate
  • 禁止靠连点播放器控件碰运气设倍速或全屏。
  • 禁止点击屏幕上的「全屏」按钮当主路径。
  • 禁止对 snapshot artifact 做 read_file
  • 全屏 GPU 层导致 browser_screenshot 黑屏时,禁止反复截图;改用 canvas 抓帧。

工作流

第 0 步 — 本 skill 已加载后直接做用户任务

不要先检查扩展、端口或文件哈希。

第 1 步 — 找到视频

  • 用户给了 URL:browser_navigate 直达。
  • 只有关键词:navigate 到 https://search.bilibili.com/all?keyword=<url-encoded>
  • 搜索快照里选一条 href/video/BV... 开头的结果,再 navigate 到完整 https://www.bilibili.com/video/BV.../优先按 URL 导航,不要点搜索卡片(点击容易让标签超时)。

合集 / 分 P /「第 N 集」:navigate 到 https://www.bilibili.com/video/BV...?p=N, 或在播放列表点对应分 P。用页面 title 或 URL 含 ?p=N 确认。

整次任务最多 browser_tabs action=new 一次。

第 2 步 — 确认正在播放

browser_snapshot 看到播放器控件即可。用 hawkeye_evaluate 读 video,不要盲点播放键:

(() => { const v = document.querySelector('video'); return v ? {paused:v.paused, cur:v.currentTime, dur:v.duration, rate:v.playbackRate} : {found:false}; })()

paused === true 时再 document.querySelector('video').play()。 过几秒再读一次 currentTime,必须递增才算在播。

第 2b 步 — 倍速(用户明确要求时)

主路径:直接设 video.playbackRate。不要点「倍速」菜单,也不要把 browser_select_option 当主路径。 该属性在进入全屏后仍然有效。

(() => { const v = document.querySelector('video'); if (v) v.playbackRate = 2; return { rate: v && v.playbackRate }; })()

返回 rate: 2 即成功。清晰度下拉才用 browser_select_option

第 3 步 — 真实全屏

全屏需要真实用户手势(navigator.userActivation)。

主路径: 先聚焦播放器,再 browser_press_key key=f inputMode=trusted。 未传 inputMode 时 DeepSentry 会自动补 trusted

随后 hawkeye_evaluate 校验:

(() => ({ fs: !!document.fullscreenElement, el: document.fullscreenElement && document.fullscreenElement.className, ua: (()=>{const u=navigator.userActivation;return u?{isActive:u.isActive}:null})() }))()

Read the full file on GitHub · 142 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 142 lines · 100 tokens per session scan A 0a861895447e

Subscribe to this mod's changes

bilibili-play is a skill published in the GitHub repository asaotomo/DeepSentry (26 stars, last pushed 6d ago), licensed Apache-2.0. It adds 100 tokens to every session and 1,779 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

image-generation

Generate or edit images from text prompts. Use when the user asks to create, draw, design, or edit an image, illustration, photo, icon, poster, or any visual content.

zhayujie/CowAgent · 41 tokens

shogun-screenshot

A screenshot tool for getting images from a computer or web page and then cropping, resizing, or masking sensitive information. Playwright is a browser-automation tool used here to capture web pages.

yohey-w/multi-agent-shogun · 149 tokens

ddg-search

Web search without an API key using DuckDuckGo Lite via webfetch. Use as a fallback when websearch fails with missingbraveapikey error, or whenever you need to search the web and no search API is configured. Provides titles, URLs, and snippets for research queries. Zero dependencies — works with just the built-in…

TheSyart/emperor-agent · 74 tokens

web-access

Use this skill for live web research, webpage fetching, login-state browsing, dynamic pages, social sites, and tasks that need current internet evidence.

itwanger/PaiCLI-Python · 32 tokens

p5.js

Production pipeline for interactive and generative visual art using p5.js. Creates browser-based sketches, generative art, data visualizations, interactive experiences, 3D scenes, audio-reactive visuals, and motion graphics — exported as HTML, PNG, GIF, MP4, or SVG. Covers: 2D/3D rendering, noise and particle systems…

agentic-in/elephant-agent · 152 tokens

nano-banana-pro

Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image). Use for image create/modify requests incl. edits. Supports text-to-image + image-to-image; 1K/2K/4K; use --input-image.

TheSyart/emperor-agent · 55 tokens