openclaw

A skill for downloading videos, articles, comments, and danmaku, or scrolling video comments, from websites. It supports Bilibili, Douyin, YouTube, and many other sites through the WebGrab MCP server.

In plain words
What is it for?
Use it to download videos or articles, collect Bilibili and Douyin comments or danmaku, extract webpage text, and bypass copy restrictions when supported.
Why use it?
It provides defined actions for saving web content, collecting comments, extracting text, and handling pages that block copying.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/bcefghj/webgrab/openclaw
Any agent
npx skills add bcefghj/webgrab --skill openclaw
Clone the repo
git clone --depth 1 https://github.com/bcefghj/webgrab

Made for: Claude Code, Codex.

Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 774 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00774
Opus 5 $0.00000 $0.00387
Sonnet 5 $0.00000 $0.00155
Haiku 4.5 $0.00000 $0.00077

Measured 2d ago against content hash 09d5519d954f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

skills/openclaw/SKILL.md · 97 lines

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

使用说明

视频下载

当用户提供视频链接时:

  1. 使用 download_video 工具下载视频
  2. 支持画质选择:best(最佳)、1080p、720p、480p、audio(仅音频)
  3. 告知下载结果和文件位置

B站弹幕

当用户要求获取B站弹幕时:

  1. 使用 get_bilibili_danmaku 工具
  2. 支持格式:json、csv、xml、ass(字幕格式)
  3. 汇报弹幕总数和示例

B站评论(含楼中楼)

当用户要求获取B站评论时:

  1. 使用 get_bilibili_comments 工具
  2. 默认包含楼中楼(嵌套回复)
  3. 支持按时间或点赞数排序

抖音视频(无水印)

当用户提供抖音链接时:

  1. 使用 get_douyin_video 工具
  2. 默认下载无水印版本

抖音评论

当用户要求获取抖音评论时:

  1. 使用 get_douyin_comments 工具
  2. 指定 limit 参数控制数量

文章/网页下载

当用户要求保存网页时:

  1. 使用 download_article 工具
  2. 默认输出 Markdown 格式
  3. 如需快速提取内容,使用 extract_webpage 工具

反复制保护

当用户遇到禁止复制的页面时:

  1. 使用 bypass_copy_protection 工具
  2. 会通过 Playwright 注入 JS 绕过限制
  3. 返回完整文本内容

批量下载

多个链接时:

  1. 使用 batch_download 工具
  2. 以列表形式传入所有 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 提取文本

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. 2d ago First seen · 97 lines · 0 tokens per session scan A 09d5519d954f

Subscribe to this mod's changes

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.

Related

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…

vercel-labs/agent-browser · 112 tokens

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…

moeru-ai/airi · 87 tokens

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.

jackwener/OpenCLI · 67 tokens

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.

XiaomiMiMo/MiMo-Code · 45 tokens

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.

pinchtab/pinchtab · 52 tokens

peekaboo

Capture and automate macOS UI with the Peekaboo CLI.

the-open-agent/openagent · 17 tokens