← All skills
Tencent SkillHub Β· Developer Tools

Headless Brave Browser

Headless web search and content extraction via the Brave Search API. Features exponential-backoff retry, circuit breaker fault isolation, bounded-concurrency...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Headless web search and content extraction via the Brave Search API. Features exponential-backoff retry, circuit breaker fault isolation, bounded-concurrency...

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
package-lock.json, package.json, ARCHITECTURE.md, SKILL.md, scripts/search.js, scripts/circuit-breaker.js

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
0.2.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 8 sections Open source page

brave-search

Headless web search and content extraction via the Brave Search API.

Setup

Run once before first use: cd <skill-root> npm ci Required environment variable: export BRAVE_API_KEY="your-key-here" Get a free API key at brave.com/search/api.

Search

node scripts/search.js "query" # Basic (5 results) node scripts/search.js "query" -n 10 # Up to 20 results node scripts/search.js "query" --content # Include page content node scripts/search.js "query" -n 3 --content # Combined node scripts/search.js "query" --json # Newline-delimited JSON node scripts/search.js --help # Full options + env vars

Extract page content

node scripts/content.js https://example.com/article node scripts/content.js https://example.com/article --json node scripts/content.js https://example.com/article --max-length 8000

Output format (plain text)

--- Result 1 --- Title: Page Title URL: https://example.com/page Snippet: Description from Brave Search Content: # Page Title Extracted markdown content... --- Result 2 --- ... Pass --json to get one JSON object per line instead, suitable for piping.

Exit codes

CodeMeaning0Success1Invalid input or configuration error2Page had no extractable content (content.js)130Interrupted (SIGINT)

Configuration (environment variables)

All behaviour is configurable without touching code: VariableDefaultDescriptionBRAVE_API_KEYβ€”Required. Brave Search subscription tokenLOG_LEVELinfodebug Β· info Β· warn Β· error Β· silentLOG_JSONfalseEmit logs as newline-delimited JSON to stderrFETCH_TIMEOUT_MS15000Per-page fetch timeoutSEARCH_TIMEOUT_MS10000Brave API call timeoutMAX_CONTENT_LENGTH5000Max chars of extracted contentMAX_RETRY_ATTEMPTS3Retry attempts on transient errorsRETRY_BASE_DELAY_MS500Base delay for exponential backoffRETRY_MAX_DELAY_MS30000Backoff delay capCONCURRENCY_LIMIT3Parallel page fetches when --content is setCB_FAILURE_THRESHOLD5Consecutive failures before circuit opensCB_RESET_TIMEOUT_MS60000Circuit breaker reset window All variables are validated at startup β€” misconfigured runs fail immediately with a descriptive list of every bad value rather than crashing mid-execution.

Architecture

See references/ARCHITECTURE.md for a full module breakdown. scripts/ β”œβ”€β”€ search.js ← Search CLI entry point β”œβ”€β”€ content.js ← Content extraction CLI entry point β”œβ”€β”€ content-fetcher.js ← HTTP fetch + Readability + DOM fallback β”œβ”€β”€ config.js ← Schema-validated env config β”œβ”€β”€ circuit-breaker.js ← Fault isolation (CLOSED β†’ OPEN β†’ HALF_OPEN) β”œβ”€β”€ retry.js ← Exponential backoff with full jitter β”œβ”€β”€ concurrency.js ← Bounded parallel execution pool β”œβ”€β”€ utils.js ← htmlToMarkdown, smartTruncate, parseURL β”œβ”€β”€ logger.js ← Structured leveled logger β†’ stderr └── errors.js ← Typed error hierarchy

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
2 Docs2 Scripts2 Config
  • SKILL.md Primary doc
  • ARCHITECTURE.md Docs
  • scripts/circuit-breaker.js Scripts
  • scripts/search.js Scripts
  • package-lock.json Config
  • package.json Config