bilibili-keywords-search

bilibili-keywords-search is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 95 tokens per session (2,458 once invoked), scanned A, original, MIT.

A search tool for finding newly published videos on Bilibili, a Chinese video-sharing platform, by keyword. It can sort results, limit them by publication date, and show additional result pages.

In plain words
What is it for?
Use it to find recent, popular, or highly liked videos about a specific topic. You can search pages of results and subscribe to keywords for daily updates.
Why use it?
It avoids relying on old cached results when you need current Bilibili content. It also broadens searches with related keywords when the initial search finds nothing.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to find recent, popular, or highly liked videos about a specific topic. You can search pages of results and subscribe to keywords for daily updates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redfox-data/redfox-community-dsh/bilibili-keywords-search
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 redfox-data/redfox-community-dsh --skill bilibili-keywords-search
Clone the repo
git clone --depth 1 https://github.com/redfox-data/redfox-community-dsh

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-keywords-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/bilibili-keywords-search/github.svg)](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/bilibili-keywords-search)
Your own site
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/bilibili-keywords-search"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/bilibili-keywords-search/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-keywords-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/bilibili-keywords-search"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/bilibili-keywords-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,458 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.
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.00095 $0.02458
Opus 5 $0.00048 $0.01229
Sonnet 5 $0.00019 $0.00492
Haiku 4.5 $0.00010 $0.00246

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

Security

Grade A, and why

bilibili-keywords-search 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/search_bili_realtime.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-keywords-search/SKILL.md · 195 lines

How it starts

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

B站关键词搜作品

📝 简介

输入关键词就能搜到 B 站刚发布的视频,能自己选排序、限定发布时间,给到你的都是平台刚更新的新鲜内容,不会拿旧缓存数据糊弄你。

✨ 核心价值

  • 内容新鲜不滞后:每次搜索都会直接读取平台最新内容,只给刚发布的视频,不用老旧存档、缓存数据。
  • 筛选方式灵活好用:能按综合热度、最新发布、点赞高低排序,还能筛选 7 天 / 30 天 / 90 天内视频,自由搭配条件查找。
  • 搜不到自动扩词:关键词搜不出内容时,工具会自动生成 10 个相近词,帮你拓宽查找范围。
  • 支持翻页查看 + 每日推送:海量结果可以分页浏览,订阅关键词后,系统每天自动推送新视频给你。

🔑 鉴权

获取 API Key

请前往 红狐hub 获取 API KEY

配置 API Key

方案1: 以 Qoder 为例,将 REDFOX_API_KEY 添加到 ~/.openclaw/openclaw.json 中:

{ "env": { "REDFOX_API_KEY": "ak_xxxx..." } }

方案2: 终端配置

export REDFOX_API_KEY="ak_xxxx..."

🔄 工作流程

Step 1:理解用户意图,提取关键词和筛选参数

⚠️ 核心规则:语义理解优先,优先提取细分方向词,而非泛化大类词

1. 提取关键词

  • 从用户描述中提取 2~6 字的细分关键词
  • 若用户意图模糊(如"帮我搜B站"),主动询问:「请问你想搜索哪个方向或领域的内容?」
  • 不得在用户未提供关键词时擅自猜测并调用脚本

2. 识别筛选参数(用户未指定时使用默认值)

  • 排序方式--sort):默认 1(综合排序)
    • 用户提到"最新"、"最近发布" → 2
    • 用户提到"点赞"、"热门"、"爆款" → 3
    • 未提及排序 → 1(默认)
  • 发布时间--time):默认 7(最近7天)
    • 用户提到"近一个月"、"30天" → 30
    • 用户提到"近三个月"、"90天" → 90
    • 用户提到"不限时间"、"全部" → 0
    • 未提及时间 → 7(默认)
  • 页码--page):默认 1
    • 用户提到"下一页"、"第2页" → 对应页码
    • 用户提到"上一页" → 当前页 - 1
    • 未提及页码 → 1(默认)

Step 2:调用搜索脚本

⚠️ 核心约束:每次查询严格只调用一次脚本,禁止重复调用。

  • 无论脚本返回成功还是失败,都不得重试或二次调用
  • 不得为"验证数据""获取更多信息"等任何理由再次执行脚本
  • 若脚本执行失败,直接向用户报告错误,不得重试
python3 "$SKILL_PATH/scripts/search_bili_realtime.py" "<关键词>" [--sort 排序] [--time 时间] [--page 页码]

参数说明:

参数 可选值 含义
keyword 任意字符串 搜索关键词,多个词用英文逗号连接
--sort 1 / 2 / 3 综合排序 / 最新发布 / 最多点赞(默认1)
--time 7 / 30 / 90 / 0 最近7天 / 30天 / 90天 / 不限(默认7)
--page 正整数 页码,从1开始(默认1)

脚本以 JSON 格式输出:

字段 说明
articles 关键词匹配视频列表(按点赞降序)
sort_type_label 本次排序方式文字说明
publish_time_label 本次时间范围文字说明
page 当前页码
total_pages 总页数
has_next 是否有下一页(true/false)

Read the full file on GitHub · 195 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 195 lines · 95 tokens per session scan A f56e2a24efaf

Subscribe to this mod's changes

bilibili-keywords-search is a skill published in the GitHub repository redfox-data/redfox-community-dsh (6 stars, last pushed yesterday), licensed MIT. It adds 95 tokens to every session and 2,458 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-08-31.

Related

Other skills, from other repositories

dsh-hooks-authoring

Instructions for writing and debugging dsh-hooks-plugin scripts, which run during tool or session events such as before a tool call or after it finishes. These scripts return JSON decisions such as allowing, asking about, or denying an action.

KYinCode/dsh-hooks-plugin · 112 tokens

dsh-webapp-testing

Verify a local web application's rendered browser behavior with console, network, server, and focused regression-test evidence.

hackerFish/awesome-dsh-skills · 27 tokens

web-artifact-designer

A design workflow for producing self-contained HTML or SVG files that open directly in a browser. It covers visual work such as posters, infographics, landing pages, charts, banners, cards, and interface mockups.

xulelenlp/dsh-web-artifact-designer · 115 tokens

data-scraper-agent

Build a fully automated AI-powered data collection agent for any public source — job boards, prices, news, GitHub, sports, anything. Runs on a schedule, enriches data with a free LLM (Gemini Flash), stores results in Notion/Sheets/Supabase, and learns from user feedback. Runs 100% free on GitHub Actions. Use when the…

gongyijie85/dsh-ecc · 96 tokens

e2e-testing

Playwright E2E testing patterns, Page Object Model, configuration, CI/CD integration, artifact management, and flaky test strategies. Use when writing Playwright tests, structuring page objects, or fixing flaky E2E runs in CI.

gongyijie85/dsh-ecc · 53 tokens

browser-qa

Use this skill to automate visual testing and UI interaction verification using browser automation after deploying features.

gongyijie85/dsh-ecc · 22 tokens