shepherdjerred/monorepo/lightpanda-browser

Claude Code and agent skill by shepherdjerred/monorepo

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Lightpanda headless browser CLI for fast web content extraction, searching, and fetching When browsing the web, fetching URLs, searching the web, extracting web page content, or needing rendered HTML from a URL

Install

npx vskill@latest install shepherdjerred/monorepo/lightpanda-browser

SKILL.md

Lightpanda Browser

Overview

Lightpanda is an open-source headless browser built from scratch in Zig for machine/AI usage. It executes JavaScript, renders the DOM, and can emit Markdown or a semantic tree directly. Use it via CLI shell commands for fast content extraction.

Status: Beta. Works for most sites. Complex JS-heavy SPAs may fail -- fall back to Playwright for those.

Installation

On macOS, Lightpanda is installed persistently by the chezmoi-managed Homebrew bundle:

bash
brew install lightpanda-io/browser/lightpanda

Use the bare lightpanda command. Current flags use hyphens, such as --strip-mode and --log-level.

Ideal Command for AI Content Extraction

bash
lightpanda fetch --dump markdown --strip-mode clutter --log-level fatal <url>
  • --dump markdown converts the rendered document to Markdown
  • --strip-mode clutter removes scripts, stylesheets, and non-content clutter (reader mode)
  • --log-level fatal keeps routine logs out of stderr

CLI Reference

Commands
CommandPurpose
fetchFetch a URL, execute JS, dump rendered HTML
serveStart a CDP server (for Playwright/Puppeteer)
helpShow usage
versionShow version
Fetch Options
FlagDescription
--dump <mode>Output html, markdown, or a semantic tree
--strip-mode <modes>Tag group to remove: clutter, css, js, invisible, shell, ui (can be repeated)
--with-baseAdd <base> tag to output

Strip modes:

  • clutter -- heuristic to keep only main content (recommended for AI)
  • js -- remove script tags and preload links
  • css -- remove style tags and stylesheet links
  • ui -- remove img, picture, video, css, svg
  • shell -- remove page chrome (nav, aside, dialog, header, footer)
  • invisible -- remove hidden elements (display:none, template)
Common Options (fetch and serve)
FlagDefaultDescription
--obey-robotsfalseRespect robots.txt
--http-proxy <url>noneHTTP proxy (supports user:pass@host:port)
--proxy-bearer-token <token>noneBearer auth for proxy
--http-timeout <ms>10000Transfer timeout (0 = no timeout)
--http-connect-timeout <ms>0Connection timeout (0 = no timeout)
--http-max-concurrent <n>40Max concurrent HTTP requests
--http-max-response-size <bytes>1 GiBLimit response size
--log-level <level>warndebug/info/warn/error/fatal
--log-format <fmt>logfmtpretty/logfmt
--user-agent-suffix <str>noneAppended to the Lightpanda user agent
Environment Variables
VariableDescription
LIGHTPANDA_DISABLE_TELEMETRY=trueDisable usage telemetry

Common Patterns

Fetch a page (clean content)
bash
lightpanda fetch --dump markdown --strip-mode clutter --log-level fatal https://example.com
Fetch with extended timeout (slow sites)
bash
lightpanda fetch --dump markdown --strip-mode clutter --log-level fatal --http-timeout 15000 https://example.com
Fetch respecting robots.txt
bash
lightpanda fetch --dump markdown --strip-mode clutter --log-level fatal --obey-robots https://example.com
Fetch with base tag (for resolving relative URLs)
bash
lightpanda fetch --dump markdown --strip-mode clutter --log-level fatal --with-base https://example.com

Output Behavior

  • stdout: The format selected by --dump after JavaScript execution
  • stderr: Log messages
  • --log-level fatal suppresses routine logs without hiding real command errors

When to Fall Back to Playwright

Use Playwright instead of lightpanda when you need:

  • Interactive page manipulation (clicking buttons, filling forms)
  • Multi-step navigation with session/cookie state
  • Screenshots or visual testing
  • Complex JS-heavy SPAs that lightpanda fails to render
  • Waiting for specific elements or network conditions

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/shepherdjerred/monorepo/lightpanda-browser/badge)](https://verified-skill.com/skills/shepherdjerred/monorepo/lightpanda-browser)

Something wrong with this skill or its page? Tell us.