lightpanda-browser

lightpanda-browser is a skill for Claude Code, Codex from Mathews-Tom/armory. It costs 76 tokens per session (4,078 once invoked), scanned C, original, MIT.

A lightweight headless browser setup for automating websites without displaying their pages, using Lightpanda and the agent-browser command-line tool.

In plain words
What is it for?
Use it for web scraping, form automation, API inspection, DOM traversal, and parallel browser sessions in resource-limited environments.
Why use it?
It is intended for scraping and page interaction when lower memory use or faster execution matters more than screenshots or full visual rendering.

Skill for Claude CodeCodex

Part of the armory plugin — 57 skills, 1 agent shipped together

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/mathews-tom/armory/lightpanda-browser
Any agent
npx skills add Mathews-Tom/armory --skill lightpanda-browser
Clone the repo
git clone --depth 1 https://github.com/Mathews-Tom/armory

Made for: Claude Code, Codex.

Or install armory, the plugin that ships this one along with the rest of its 57 skills, 1 agent.

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 lightpanda-browser

README.md
[![agentmods](https://agentmods.dev/badge/skills/mathews-tom/armory/lightpanda-browser.svg)](https://agentmods.dev/skills/mathews-tom/armory/lightpanda-browser)
Your own site
<a href="https://agentmods.dev/skills/mathews-tom/armory/lightpanda-browser"><img src="https://agentmods.dev/badge/skills/mathews-tom/armory/lightpanda-browser.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,078 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00076 $0.04078
Opus 5 $0.00038 $0.02039
Sonnet 5 $0.00015 $0.00816
Haiku 4.5 $0.00008 $0.00408

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

Security

Grade C, and why

lightpanda-browser scanned grade C with 2 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 5d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (templates/form-submit.sh, templates/parallel-extract.sh, templates/scrape-session.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://github.com/nichochar/install-lightpanda/raw/main/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://github.com/nichochar/install-lightpanda/raw/main/install.sh | bash
skills/lightpanda-browser/SKILL.md · 454 lines

How it starts

The opening of the file, as written. The whole thing — 454 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Lightpanda Browser — Fast Headless Automation

Headless browser automation using Lightpanda as the backend engine, controlled through the agent-browser CLI via CDP (Chrome DevTools Protocol).

When to use this over agent-browser:

Use Lightpanda Use agent-browser (Chromium)
Web scraping / data extraction Screenshots, PDFs, visual testing
Form automation / submission Video recording / visual debugging
API response inspection CSS layout verification
DOM traversal / content parsing Mobile device emulation (iOS)
CI environments with limited RAM Full browser extension support
High-volume parallel sessions Sites requiring full rendering

Triggers:

  • "lightpanda", "lightweight browser", "fast headless"
  • "scrape with low memory", "headless scraping"
  • "browser without rendering", "DOM-only browser"
  • "fast browser automation", "efficient scraping"
  • "is lightpanda faster than chromium?", "which headless browser uses less memory?"
  • "how do I scrape without chromium?", "can I run a browser with less RAM?"
  • Any browser task where visual output is not needed

Prerequisites

Install Lightpanda

# macOS (Apple Silicon)
curl -fsSL https://github.com/nichochar/install-lightpanda/raw/main/install.sh | bash

# Or build from source
git clone https://github.com/lightpanda-io/browser.git
cd browser && zig build -Doptimize=ReleaseSafe

Install agent-browser (if not already present)

brew install agent-browser

Verify installation

lightpanda --version
agent-browser --version

Core Workflow

Every session follows this lifecycle:

1. Start Lightpanda daemon (CDP server)
2. Connect agent-browser via --cdp
3. Navigate, snapshot, interact
4. Stop daemon when done

Step 1 — Start Lightpanda

Read the full file on GitHub · 454 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 5d ago First seen · 454 lines · 76 tokens per session scan C c92fe7c221ad

Subscribe to this mod's changes

lightpanda-browser is a skill published in the GitHub repository Mathews-Tom/armory (316 stars, last pushed 7d ago), licensed MIT. It adds 76 tokens to every session and 4,078 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

dingtalk_channel_connect

Use a headed browser to automatically complete DingTalk channel integration for QwenPaw. Applicable when the user mentions DingTalk, developer console, Client ID, Client Secret, bot, Stream mode, binding or configuring a channel. Supports pausing when a login page is detected and resuming after the user logs in.

agentscope-ai/QwenPaw · 69 tokens

browser_cdp

当用户明确希望连接到已运行的 Chrome 浏览器、扫描本地 CDP 端口、显式指定 cdpport,或让多个 agent / 工具共享同一个浏览器时,使用本 skill。browser 默认不开放调试端口;仅当用户明确希望其他本地工具附加时才显式传入 cdpport。.

agentscope-ai/QwenPaw · 85 tokens

browser_visible

当用户需要控制 browser 的浏览器启动方式时,使用本 skill。browser 默认由 Playwright 直接管理、不开放调试端口(需让其他本地工具附加时显式传 cdpport);headed 控制是否显示窗口,privatemode 保留用于兼容、不再改变默认行为,browserargs 传入额外的 Chromium 启动参数,executablepath 指定自定义浏览器可执行文件路径。.

agentscope-ai/QwenPaw · 108 tokens

browser_visible

Use this skill when the user needs to control the browser launch mode for browser. By default browser is managed by Playwright and opens no debugging port (pass an explicit cdpport to let another local tool attach); headed controls whether the window is visible, and privatemode is kept for backward compatibility and…

agentscope-ai/QwenPaw · 75 tokens

playwright-pom-discovery

Use when building or extending a Page Object Model (POM) for the Opik E2E suite (under testsendtoend/e2e/pom/) and you need to choose stable selectors against the live UI. Walks through seeding required state, exploring the running page with the Playwright MCP (accessibility snapshot + data-testid enumeration)…

comet-ml/opik · 112 tokens

ego-browser

Skill "ego-browser" from citrolabs/ego-lite, covering ego-browser, quick start, common helpers, task spaces and control handoff.

citrolabs/ego-lite · 210 tokens