shepherdjerred/monorepo/lightpanda-browser
Claude Code and agent skill by shepherdjerred/monorepo
- community
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-browserSKILL.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:
Use the bare lightpanda command. Current flags use hyphens, such as --strip-mode and --log-level.
Ideal Command for AI Content Extraction
--dump markdownconverts the rendered document to Markdown--strip-mode clutterremoves scripts, stylesheets, and non-content clutter (reader mode)--log-level fatalkeeps routine logs out of stderr
CLI Reference
Commands
| Command | Purpose | |
|---|---|---|
fetch | Fetch a URL, execute JS, dump rendered HTML | |
serve | Start a CDP server (for Playwright/Puppeteer) | |
help | Show usage | |
version | Show version |
Fetch Options
| Flag | Description | |
|---|---|---|
--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-base | Add <base> tag to output |
Strip modes:
clutter-- heuristic to keep only main content (recommended for AI)js-- remove script tags and preload linkscss-- remove style tags and stylesheet linksui-- remove img, picture, video, css, svgshell-- remove page chrome (nav, aside, dialog, header, footer)invisible-- remove hidden elements (display:none, template)
Common Options (fetch and serve)
| Flag | Default | Description | |
|---|---|---|---|
--obey-robots | false | Respect robots.txt | |
--http-proxy <url> | none | HTTP proxy (supports user:pass@host:port) | |
--proxy-bearer-token <token> | none | Bearer auth for proxy | |
--http-timeout <ms> | 10000 | Transfer timeout (0 = no timeout) | |
--http-connect-timeout <ms> | 0 | Connection timeout (0 = no timeout) | |
--http-max-concurrent <n> | 40 | Max concurrent HTTP requests | |
--http-max-response-size <bytes> | 1 GiB | Limit response size | |
--log-level <level> | warn | debug/info/warn/error/fatal | |
--log-format <fmt> | logfmt | pretty/logfmt | |
--user-agent-suffix <str> | none | Appended to the Lightpanda user agent |
Environment Variables
| Variable | Description | |
|---|---|---|
LIGHTPANDA_DISABLE_TELEMETRY=true | Disable usage telemetry |
Common Patterns
Fetch a page (clean content)
Fetch with extended timeout (slow sites)
Fetch respecting robots.txt
Fetch with base tag (for resolving relative URLs)
Output Behavior
- stdout: The format selected by
--dumpafter JavaScript execution - stderr: Log messages
--log-level fatalsuppresses 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
- SKILL.md in the repositoryCheckingpackages/dotfiles/dot_agents/skills/lightpanda-browser/SKILL.md
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
[](https://verified-skill.com/skills/shepherdjerred/monorepo/lightpanda-browser)