npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

veil-browser

v0.4.0

Published

Stealth browser CLI for AI agents — bypass bot detection, persist sessions, local CAPTCHA solving, MCP server

Readme

veil

Stealth browser remote for AI agents.

npm license node


veil is a headless browser CLI built for AI agents. It runs a real, stealth Chromium browser and exposes every interaction as a simple command that returns clean JSON.

You (or your agent) are the brain. veil is the hands.

npm install -g veil-browser
npx playwright install chromium
veil login x          # save your session once
veil post "Hello, world from an AI agent."

Why veil

Most browser automation tools are built for developers writing scripts. veil is built for AI agents making decisions in real-time — where every step is a tool call, every result is parseable JSON, and the agent decides what to do next.

  • No LLM inside — veil is pure remote control. Your agent is the intelligence.
  • Stealth by default — hides automation signals, realistic user agent, human-like delays
  • Persistent sessions — log in once, reuse forever via saved cookies
  • Every output is JSON{ ok: true, ... } or { ok: false, error: "..." }

Installation

npm install -g veil-browser
npx playwright install chromium

Quick Start

# Log in once (opens visible browser)
veil login x

# Post a tweet
veil post "Building something new."

# Like, reply, repost, quote
veil like --nth 0
veil reply "Great point." --nth 0
veil repost --nth 1
veil quote "Worth reading." --nth 2

# Navigate and read any page
veil go https://example.com
veil snapshot          # DOM tree → understand the page
veil read "h1"         # Extract specific elements
veil find "Sign in"    # Check if text exists

# Click, type, interact
veil click "[data-testid='button']"
veil type "input[name='q']" "search query"
veil press Enter
veil scroll down

# Screenshot
veil shot page.png

All Commands

Session

| Command | Description | |---------|-------------| | veil login <platform> | Open visible browser → log in → save session | | veil open <platform> | Restore session and navigate to platform home | | veil sessions | List saved sessions | | veil close | Close browser |

Supported platforms: x, linkedin, reddit, bluesky (or any URL)

X / Social

| Command | Description | |---------|-------------| | veil post "text" | Post a tweet | | veil like --nth 0 | Like Nth post in feed | | veil reply "text" --nth 0 | Reply to Nth post | | veil repost --nth 0 | Repost Nth post | | veil quote "text" --nth 0 | Quote Nth post with comment |

Navigation

| Command | Description | |---------|-------------| | veil go <url> | Navigate to URL | | veil url | Get current URL and title | | veil back | Go back |

Reading

| Command | Description | |---------|-------------| | veil snapshot | Full DOM tree (best for understanding page structure) | | veil read [selector] | Page text or element text | | veil read <sel> --all | All matches as array | | veil read <sel> --attr href | Read attribute value | | veil find "text" | Check if text exists on page | | veil exists <selector> | Check if selector exists |

Interaction

| Command | Description | |---------|-------------| | veil click <selector> | Click element | | veil click <sel> --force | Force click (bypass overlays) | | veil click <sel> --nth 2 | Click Nth match | | veil type <selector> "text" | Type into element | | veil type <sel> "text" --clear | Clear first, then type | | veil press <key> | Press key (Enter, Tab, Escape…) | | veil scroll down\|up\|top\|bottom | Scroll page | | veil wait <ms> | Wait N milliseconds | | veil wait-for <selector> | Wait until element appears | | veil eval "script" | Run JavaScript, returns result |

Screenshot

| Command | Description | |---------|-------------| | veil shot [file.png] | Screenshot (full page with --full) | | veil shot file.png --selector <sel> | Screenshot specific element |


For AI Agents (OpenClaw / MCP)

veil ships with a SKILL.md that teaches OpenClaw exactly how to use it — all commands, all platform selectors, and complete task sequences.

The agent pattern:

1. veil open x           → restore session
2. veil snapshot         → understand current page
3. veil click / type     → act
4. veil wait 800         → let UI settle
5. veil find / read      → verify

Every command is deterministic. Every output is parseable. The agent decides the logic.


Platform Support

| Platform | Login | Post | Like | Reply | Repost | Quote | |----------|-------|------|------|-------|--------|-------| | X (Twitter) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | LinkedIn | ✅ | ✅ | ✅ | ✅ | — | — | | Reddit | ✅ | — | ✅ | ✅ | — | — | | Any website | — | — | ✅ via selectors | — | — | — |


Configuration

Config stored at ~/.veil/config.json. Sessions at ~/.veil/sessions/<platform>.json.

veil status    # show current config and saved sessions

How It Works

  1. Stealth Chromium — launches with flags that hide automation signals
  2. Session cookies — saved after manual login, restored on every run
  3. Human timing — random delays between actions (400–1200ms)
  4. Clean JSON output — every command returns { ok, ... } for easy parsing

Built by CUTTLELAB

veil is part of the tooling stack we're building for AI agents at CUTTLELAB.


License

MIT