openclaw

openclaw is a skill for Claude Code, Codex from bcefghj/webgrab. It costs 0 tokens per session (774 once invoked), scanned A, original, MIT.

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

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

Good fit Use it to download videos or articles, collect Bilibili and Douyin comments or danmaku, extract webpage text, and bypass copy restrictions when supported.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bcefghj/webgrab/openclaw
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 bcefghj/webgrab --skill openclaw
Clone the repo
git clone --depth 1 https://github.com/bcefghj/webgrab

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 openclaw

README.md
[![agentmods](https://agentmods.dev/badge/skills/bcefghj/webgrab/openclaw/github.svg)](https://agentmods.dev/skills/bcefghj/webgrab/openclaw)
Your own site
<a href="https://agentmods.dev/skills/bcefghj/webgrab/openclaw"><img src="https://agentmods.dev/badge/skills/bcefghj/webgrab/openclaw/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 openclaw

Your own site · 80×15
<a href="https://agentmods.dev/skills/bcefghj/webgrab/openclaw"><img src="https://agentmods.dev/badge/skills/bcefghj/webgrab/openclaw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00000 $0.00774
Opus 5.5 $0.00000 $0.00310
Sonnet 5.5 $0.00000 $0.00155
Haiku 4.5 $0.00000 $0.00077

Measured 1mo ago against content hash 09d5519d954f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 6mo 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

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

interactive-login

Log a CLI in with a browser/device-code flow (aws sso, gh, glab, gcloud, …) and save the result to the keychain so later commands can request it through execute.credentials.

yc-software/qm · 46 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

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

open-design-browser

Inspect and exercise local HTML design artifacts and library prototype previews with the existing agent-browser CLI, including screenshots, interaction checks, and rendered DOM snapshots. Use when rendered evidence helps author or review a design; excludes browser installation, remote services, and unrelated browser…

compozy/compozy · 56 tokens