nodriver

nodriver is a skill for Claude Code, Codex from OpenCoven/coven. It costs 96 tokens per session (892 once invoked), scanned A, original, MIT.

An instruction guide for writing Python browser-automation scripts with nodriver, an asynchronous library that controls Chrome-based browsers through the DevTools Protocol.

In plain words
What is it for?
Use it to scrape websites, automate logins, fill forms, manage cookies, take screenshots, and interact with pages through Python.
Why use it?
It provides browser control without Selenium or a separate chromedriver binary and includes guidance for automation that needs to reduce detection.

Skill for Claude CodeCodex

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/opencoven/coven/nodriver
Any agent
npx skills add OpenCoven/coven --skill nodriver
Clone the repo
git clone --depth 1 https://github.com/OpenCoven/coven

Made for: Claude Code, Codex.

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 nodriver

README.md
[![agentmods](https://agentmods.dev/badge/skills/opencoven/coven/nodriver.svg)](https://agentmods.dev/skills/opencoven/coven/nodriver)
Your own site
<a href="https://agentmods.dev/skills/opencoven/coven/nodriver"><img src="https://agentmods.dev/badge/skills/opencoven/coven/nodriver.svg" alt="Measured on agentmods" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 892 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.1 $0.00096 $0.00892
Opus 5 $0.00048 $0.00446
Sonnet 5 $0.00019 $0.00178
Haiku 4.5 $0.00010 $0.00089

Measured 5d ago against content hash 18bb19be10e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

nodriver scanned grade A with 0 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.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/nodriver/SKILL.md · 106 lines

How it starts

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

nodriver

Async Python library for undetected browser automation via CDP. Successor to undetected-chromedriver. No Selenium, no chromedriver binary.

Docs: https://ultrafunkamsterdam.github.io/nodriver

Prerequisites

  • Chrome/Chromium/Edge/Brave installed (default location)
  • Headless environments: use Xvfb or headless=True

Quick start

import nodriver as uc

async def main():
    browser = await uc.start()
    tab = await browser.get('https://example.com')

if __name__ == '__main__':
    uc.loop().run_until_complete(main())

Critical quirks (non-obvious)

  • Never use asyncio.run() — use uc.loop().run_until_complete(main()).
  • await tab between rapid interactions — syncs DOM state, prevents stale refs. Insert whenever elements aren't found or interactions fail.
  • Fresh profile each run by default — set user_data_dir="/path" to persist.
  • find(text, best_match=True) is expensive but accurate (matches by text length). Use select(css) when selector is known.
  • All lookup methods retry until timeout (default 10s) — double as wait conditions. await tab.select('body') = wait for page load.
  • expert=True increases detectability — opens shadow roots and disables web security, but WAFs detect it more easily.
  • verify_cf() requires opencv-python — English only, doesn't work in expert mode.

Start options

browser = await uc.start(
    headless=False,
    user_data_dir="/path/to/profile",
    browser_executable_path="/path/to/bin",
    browser_args=['--proxy-server=socks5://user:pass@host:port'],
    lang="en-US",
)

Or use Config() for the same options. Per-context proxies: browser.create_context(proxy_server="socks5://...").

Element lookup

btn = await tab.find("Sign in", best_match=True)  # by text (smart match)
email = await tab.select("input[type=email]")      # by CSS selector
items = await tab.select_all("a[href]")            # all matching CSS
node = await tab.xpath("//div[@class='x']//p[1]")  # by XPath
all_btns = await tab.find_all("Add to cart")       # all matching text

Read the full file on GitHub · 106 lines

Files

What ships with it

1 file 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 · 106 lines · 96 tokens per session scan A 18bb19be10e6

Subscribe to this mod's changes

nodriver is a skill published in the GitHub repository OpenCoven/coven (46 stars, last pushed today), licensed MIT. It adds 96 tokens to every session and 892 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. 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

scrapling-official

Scrape web pages using Scrapling with anti-bot bypass (like Cloudflare Turnstile), stealth headless browsing, spiders framework, adaptive scraping, and JavaScript rendering. Use when asked to scrape, crawl, or extract data from websites; webfetch fails; the site has anti-bot protections; write Python code to…

D4Vinci/Scrapling · 80 tokens

backend-development

老王我是后端通才,啥后端技术都能搞!但你得告诉老王你想用啥语言,别tm让老王我瞎猜! 后端服务开发专家(通才)。精通多种后端技术栈,能够根据需求选择最合适的技术方案。 当用户需要开发API、数据库设计、微服务架构或后端业务逻辑时使用此技能。 根据用户需求的技术栈,自动切换到对应语言的专家模式: - Python → 查看 python/SKILL.md - Node.js → 查看 nodejs/SKILL.md - Go → 查看 go/SKILL.md - Java → 查看 java/SKILL.md.

aAAaqwq/AGI-Super-Team · 151 tokens

regenerate-grpc-stubs

Regenerate Python + TypeScript gRPC stubs after editing proto files. Use when proto/.proto changes, imports from bindu.grpc.generated fail, CI reports generated-code drift, or HandleMessages calls fail with proto mismatch.

GetBindu/Bindu · 52 tokens

backend-development-python

Python后端开发专家。精通FastAPI、Django、Flask等框架,以及Pydantic、SQLModel、Alembic、Playwright等Python生态最佳实践。.

aAAaqwq/AGI-Super-Team · 43 tokens

goga-cell-python

Python rules for implementing CODEMANIFEST contracts.

qarium/goga · 13 tokens

upgrade-claude-agent-sdk

Upgrade the claude-agent-sdk dependency, review SDK changes for integration impact, expose new features to users via Settings or New Task dialog, update documentation, and ship on a feature branch. This skill should be used when the user mentions upgrading, updating, or bumping the claude-agent-sdk, or when reviewing…

carrotly-ai/gluon-agent · 77 tokens