bilibili_up_fans
Skill37 starsChanged 33 days agoMITView on GitHub
Use this skill when the user asks for the fan count of a Bilibili UP creator. Run the bundled Lua script once with lua_run_script. The script uses the Lua capability module from lua_module_call_capability to call the registered http_request capability, then extracts data.card.fans from Bilibili's card API response. By default it fetches the UP creator 乐鑫信息科技: The configured search_http_allowlist must allow api.bilibili.com or use *. If both mid and url are provided, mid takes precedence. Default action: Fetch a specific UP…
In this repository24 other files it gives its agents.
- air_mouseSkill
- china_a_share_quoteSkill
- cloudmusicSkill
- current_ip_infoSkill
- current_weatherSkill
- dfrobot_matrix_lidar_8x8_i2cSkill
- dfrobot_stcc4_i2cSkill
- example_skillSkill
- flashbackSkill
- gimbal_color_detectSkill
- gimbal_motion_detectSkill
- github_repo_starSkill
- movement_detectionSkill
- network_radioSkill
- servo_dogSkill
- stock_quotes_displaySkill
- token_usageSkill
- unihiker_buttonSkill
- unihiker_expansion_batterySkill
- unihiker_expansion_irSkill
- unihiker_expansion_motor_controlSkill
- unihiker_expansion_servo_controlSkill
- unihiker_expansion_WS2812Skill
- weather_clockSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Use this skill when the user asks for the fan count of a Bilibili UP creator.
- Very specific: line 19
Run the bundled Lua script once with lua_run_script.
- Very specific: line 62
If both mid and url are provided, mid takes precedence.
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Bilibili UP Fans
Use this skill when the user asks for the fan count of a Bilibili UP creator.
Run the bundled Lua script once with lua_run_script. The script uses the Lua
capability module from lua_module_call_capability to call the registered
http_request capability, then extracts data.card.fans from Bilibili's card
API response.
By default it fetches the UP creator 乐鑫信息科技:
https://space.bilibili.com/538078399The configured search_http_allowlist must allow api.bilibili.com or use *.
Script Args Schema
{
"type": "object",
"properties": {
"mid": {
"type": "string",
"description": "Optional Bilibili member id, for example 538078399."
},
"url": {
"type": "string",
"description": "Optional Bilibili space URL, for example https://space.bilibili.com/538078399."
},
"timeout_ms": {
"type": "integer",
"description": "Optional HTTP timeout in milliseconds. Defaults to 15000."
},
"session_id": {
"type": "string",
"description": "Optional session id passed to capability.call opts."
},
"source_cap": {
"type": "string",
"description": "Optional source capability name. Defaults to bilibili_up_fans."
}
}
}If both mid and url are provided, mid takes precedence.
Tool Call Inputs
Default action:
{
"path": "{CUR_SKILL_DIR}/scripts/bilibili_up_fans.lua",
"args": {}
}Fetch a specific UP creator:
{
"path": "{CUR_SKILL_DIR}/scripts/bilibili_up_fans.lua",
"args": {
"mid": "538078399"
}
}Behavior
The script prints a human-readable line and a compact JSON result:
[bilibili_up_fans] 乐鑫信息科技 mid=538078399 fans=54257
{"ok":true,"mid":"538078399","name":"乐鑫信息科技","fans":54257,"url":"https://space.bilibili.com/538078399"}Report the fans value to the user. If the script errors, report the error
message directly.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

