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.
npx agentmods add skills/bcefghj/webgrab/openclawnpx skills add bcefghj/webgrab --skill openclawgit clone --depth 1 https://github.com/bcefghj/webgrabWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00774 |
| Opus 5 | $0.00000 | $0.00387 |
| Sonnet 5 | $0.00000 | $0.00155 |
| Haiku 4.5 | $0.00000 | $0.00077 |
Grade A, and why
openclaw 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 2d 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.
What it actually says
WebGrab - 全能网页内容下载技能
描述
WebGrab 是一个全能的网页内容下载工具,支持从任何网站下载视频、文章、弹幕和评论,并能绕过复制保护。支持B站、抖音、YouTube 及 1700+ 网站。
触发条件
- 用户要求下载视频
- 用户要求下载文章或网页
- 用户要求获取B站弹幕
- 用户要求获取B站或抖音评论
- 用户要求绕过网页复制保护
- 用户提到 "下载视频"、"下载文章"、"弹幕"、"评论"、"反复制"
前置要求
在 OpenClaw 配置中添加 WebGrab MCP 服务器:
编辑 ~/.openclaw/openclaw.json:
{
"mcpServers": {
"webgrab": {
"command": "webgrab-mcp",
"env": {
"BILIBILI_COOKIE": "可选-用于高画质",
"DOUYIN_COOKIE": "可选-用于评论采集"
}
}
}
}
安装命令:
pip install webgrab
使用说明
视频下载
当用户提供视频链接时:
- 使用
download_video工具下载视频 - 支持画质选择:best(最佳)、1080p、720p、480p、audio(仅音频)
- 告知下载结果和文件位置
B站弹幕
当用户要求获取B站弹幕时:
- 使用
get_bilibili_danmaku工具 - 支持格式:json、csv、xml、ass(字幕格式)
- 汇报弹幕总数和示例
B站评论(含楼中楼)
当用户要求获取B站评论时:
- 使用
get_bilibili_comments工具 - 默认包含楼中楼(嵌套回复)
- 支持按时间或点赞数排序
抖音视频(无水印)
当用户提供抖音链接时:
- 使用
get_douyin_video工具 - 默认下载无水印版本
抖音评论
当用户要求获取抖音评论时:
- 使用
get_douyin_comments工具 - 指定 limit 参数控制数量
文章/网页下载
当用户要求保存网页时:
- 使用
download_article工具 - 默认输出 Markdown 格式
- 如需快速提取内容,使用
extract_webpage工具
反复制保护
当用户遇到禁止复制的页面时:
- 使用
bypass_copy_protection工具 - 会通过 Playwright 注入 JS 绕过限制
- 返回完整文本内容
批量下载
多个链接时:
- 使用
batch_download工具 - 以列表形式传入所有 URL
示例
用户: "帮我下载这个B站视频和弹幕: https://www.bilibili.com/video/BV1xx"
→ 先调用 download_video 下载视频,再调用 get_bilibili_danmaku 获取弹幕
用户: "把这篇文章保存为markdown: https://example.com/article"
→ 调用 download_article,设置 format="markdown"
用户: "这个网页禁止复制,帮我提取文字: https://protected-site.com"
→ 调用 bypass_copy_protection 提取文本
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.
- 2d ago First seen · 97 lines · 0 tokens per session scan A 09d5519d954f
openclaw is a skill published in the GitHub repository bcefghj/webgrab (4 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 774 tokens. 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.
Other skills, from other repositories
electron
Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include…
use-agent-browser-for-airi
Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts. Use when uploading and verifying contributor-supplied Live2D ZIP, VRM, or MMD ZIP/PMX/PMD files through AIRI's model selector, including onboarding bypass, format-specific import…
opencli-sitemap-author
Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.
playwright
Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via playwright-cli or the bundled wrapper script.
pinchtab-mcp
Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.
peekaboo
Capture and automate macOS UI with the Peekaboo CLI.