whiteguo233/openbiliclaw/search

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Search for videos on Bilibili using keyword queries generated from user interests.

Install

npx vskill@latest install whiteguo233/openbiliclaw/search

SKILL.md

Bilibili Search Skill

Search for videos on Bilibili based on the user's interests and soul profile. Supports both LLM-driven automatic query generation (for discovery cycles) and direct keyword search (for explicit user requests).

When to Use

  • During content discovery cycles
  • When the user explicitly asks to find content on a topic
  • When generating exploratory searches for new interest domains

How It Works

  1. Query generation — If no explicit keywords are provided, the skill uses an LLM to generate multiple search queries from the user's soul profile (top interests, cognitive style, deep needs). If keywords are provided, they are used directly.
  2. Sequential search — Each query is sent to the Bilibili WBI-signed search endpoint sequentially, with a jitter-randomised 0.5–1.0s delay between queries (v0.3.61+) so the requests don't land in the same Bilibili rate-limit bucket. A dedicated API client is used per strategy to isolate rate-limiting.
  3. Resilience & storm mode — Individual query failures (including Bilibili 412 Precondition Failed) degrade gracefully and don't interrupt the overall flow. client.search retries v_voucher challenges 3× internally; three consecutive empty results trip "storm mode" (v0.3.61+) and the remaining queries are skipped (filled with empty results) rather than burned against an IP that's being challenged — the next refresh tick (~60s) gets a fresh shot. An active search cooldown short-circuits the remaining plan the same way.
  4. Scoring — Results are evaluated against the soul profile via LLM and assigned a relevance_score (0.0–1.0). Items below the threshold are discarded.
  5. Output — Returns scored DiscoveredContent items.

Parameters

ParameterTypeRequiredDefaultDescription
keywordsstringNo""Search query string. If empty, the skill auto-generates queries from the soul profile.
pageintegerNo1Page number for paginated results.
limitintegerNo20Maximum number of results to return.
orderstringNo"totalrank"Sort order. One of: "totalrank" (relevance), "pubdate" (newest), "click" (most viewed), "dm" (most commented).

Input Schema (JSON Schema)

json
{
"type": "object",
"properties": {
"keywords": {
"type": "string",
"description": "Search query string. Auto-generated from profile if empty."
},
"page": {
"type": "integer",
"minimum": 1,
"default": 1
},
"limit": {
"type": "integer",
"minimum": 1,
"default": 20
},
"order": {
"type": "string",
"enum": ["totalrank", "pubdate", "click", "dm"],
"default": "totalrank"
}
}
}

Output

Each result is a DiscoveredContent object with the following fields:

FieldTypeDescription
bvidstringBilibili video BV ID
titlestringVideo title
up_namestringCreator's display name
up_midintegerCreator's user ID
cover_urlstringVideo cover image URL
durationintegerVideo length in seconds
view_countintegerPlay count
like_countintegerLike count
descriptionstringVideo description
tagsstring[]Video tags
relevance_scorenumberLLM-evaluated relevance (0.0–1.0)
relevance_reasonstringHuman-readable reason for the score
source_strategystringAlways "search" for this skill
topic_keystringSemantic topic classification
style_keystringContent style classification

Requirements

  • Bilibili Cookie authentication is required for search to function. Without it, Bilibili may return 412 Precondition Failed and the skill will return empty results.
  • The skill connects to Bilibili's public API at https://api.bilibili.com; no additional API keys are needed beyond the B站 Cookie.

Limitations

  • Rate Limiting: Bilibili applies rate-limiting and anti-bot protections. Under heavy usage, search requests may return 412 Precondition Failed and degrade to empty results.
  • Platform Restriction: The skill returns content from Bilibili only. Cross-platform search is not supported.
  • Cookie Dependency: Search functionality depends on valid Bilibili Cookie authentication.

Special Case Handling

Empty Keywords

When keywords is empty or not provided:

  1. The skill automatically generates search queries based on the user's soul profile (top interests, cognitive style, deep needs)
  2. Multiple queries are generated and executed sequentially with delays between requests
  3. Results are aggregated and deduplicated
412 Precondition Failed

When Bilibili returns 412 Precondition Failed:

  1. The skill treats this as a temporary failure for that query
  2. Other queries continue execution
  3. The skill returns results from successful queries only
  4. If all queries fail, returns an empty result set with appropriate logging
Network Errors & Timeouts
  • `v_voucher` challenge / transient failure: client.search retries the WBI request up to 3× internally; an empty list at the strategy layer means the keyword exhausted its retries (the IP is being challenged), which feeds the storm-mode counter above
  • DNS Failure: Falls back gracefully without breaking other queries
  • SSL Errors: Logs the error and skips to next query
Empty Search Results
  • If no results are found for a query, returns an empty list for that query
  • If all queries return empty, the skill returns an empty result set
  • The discovery engine will try alternative strategies
Invalid Parameters
  • Invalid `page`: Passed directly to API (no clamping — caller should validate)
  • Invalid `limit`: Passed directly to API (no clamping — caller should validate)
  • Invalid `order`: Passed directly to API; defaults to "totalrank" if not provided
  • Empty string keywords: Treated as auto-generate mode
Special Characters in Keywords
  • Keywords are URL-encoded before sending to Bilibili API
  • Unicode characters are supported
  • Long keywords are passed as-is (no length truncation)
API Response Edge Cases
  • Unexpected response format: Gracefully parses what it can, logs warnings for missing fields
  • Partial results: Returns valid items even if some fields are missing
  • Rate limiting: Handled via the per-query jitter delay, internal v_voucher retries, and storm-mode/cooldown short-circuit described above (no Retry-After header parsing)

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3,376
Repository forks
183
7-day trend score
41

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/whiteguo233/openbiliclaw/search/badge)](https://verified-skill.com/skills/whiteguo233/openbiliclaw/search)

Something wrong with this skill or its page? Tell us.