eze-is/web-access

给你的本机 Agent(如 Claude Code、Grok Bot 等)装上完整联网能力的 Skill:三层通道调度 + 浏览器 CDP + 并行分治,自动积累站点经验,不断优化联网效率

What is this?

web-access is a plug-in "Skill" that gives AI coding agents (like Claude Code, Cursor, Gemini CLI, or Codex CLI) the ability to actually use a web browser — not just search and fetch text. It works with any agent that supports the SKILL.md format.

The problem it solves

AI agents natively have two basic web tools: WebSearch (search the web) and WebFetch (download a page's content). But these lack two things:

  1. Strategy — knowing which tool to use in which situation
  2. Browser automation — actually clicking buttons, filling forms, scrolling, uploading files, or reading dynamic pages that require JavaScript

web-access fills both gaps, plus adds a third: site experience accumulation — remembering what it learned about specific websites across sessions.

What it can do

Capability What it means in plain terms
Automatic tool selection The agent picks the best tool per scenario: WebSearch, WebFetch, curl, Jina, or the browser — and can combine them freely
CDP Proxy browser control Connects to your own daily browser (Chrome, Edge, Brave, Arc, Dia — any Chromium-based one). Because it's your browser, it carries your login state. It can handle dynamic pages, perform real interactions, and capture video frames
Clicking & iframes Four click methods: JS click, real mouse event, coordinate-based click (can reach into cross-site iframes without activating the tab), and file upload. Can also read content inside cross-site iframes
Local bookmark/history search Searches your Chrome/Edge bookmarks and history for things the public web can't find — internal company systems, pages you visited but forgot the address of, frequently-visited sites. Supports keyword, time window, and visit-frequency sorting
Parallel processing For multi-target tasks, spawns sub-agents that work simultaneously, sharing one browser connection with tab-level isolation
Site experience memory Stores per-domain operational knowledge (URL patterns, platform quirks, known pitfalls) that carries across sessions
Media extraction Pulls image/video URLs directly from the page's DOM, or captures a video frame at any timestamp for analysis

How it works (the CDP Proxy)

Instead of launching a separate debug browser, web-access connects to the browser you already use daily. You enable this once by:

  1. Opening chrome://inspect/#remote-debugging in your browser (or edge://inspect/... for Edge)
  2. Checking "Allow remote debugging for this browser instance"

It then runs a small local proxy service that speaks to your browser over a WebSocket and exposes simple HTTP commands like:

  • /new — open a new tab
  • /eval — run JavaScript on a page
  • /click — click an element
  • /screenshot — take a screenshot
  • /scroll — scroll the page
  • /health — check status

Tabs opened through the proxy auto-close after 15 minutes of inactivity (adjustable via the CDP_TAB_IDLE_TIMEOUT environment variable) to avoid leaving orphan tabs behind.

Requirements

  • Node.js 22+
  • A Chromium-based browser (Chrome, Edge, Brave, Arc, Dia, Vivaldi, Opera, etc.) with remote debugging enabled

Installation

Four ways, from easiest to most manual:

  1. One command (recommended): npx skills add eze-is/web-access
  2. Ask the agent: tell it "install this skill: https://github.com/eze-is/web-access"
  3. Claude Code plugin: two claude plugin commands
  4. Manual: git clone the repo into your skills folder

Configuration

Your preferences live in ~/.web-access/config.env (outside the skill folder, so upgrades never wipe them). The key setting is WEB_ACCESS_BROWSER, which points to your browser's user data directory — the folder containing the Local State file. You usually don't need to set it manually: on first run, the agent lists your app-data folders, identifies the browser, and asks which one to use.

Important warnings

  • Social platform risk: Automating actions on social platforms (the README specifically mentions Xiaohongshu) can get your account rate-limited or banned. Strongly recommended: use a secondary account.
  • Upgrade caution: When upgrading from older versions, user data must be migrated to the new ~/.web-access/ location first, or it will be lost. The README provides exact backup commands for macOS/Linux and Windows.

Design philosophy

The project's stated philosophy: "Skill = philosophy + technical facts, not an operations manual." Instead of giving the agent rigid step-by-step instructions, it explains the tradeoffs of each approach and lets the AI decide — the goal is teaching the agent to think like a human when browsing, driven by goals rather than fixed steps.

License & author

MIT license, by 一泽 Eze (website: web-access.eze.is).

Example uses

  • "Search for the latest developments on X"
  • "Read this page: [URL]"
  • "Search Xiaohongshu for X's account"
  • "Post an article on the creator platform"
  • "Research these 5 product websites and give me a comparison summary" (uses the parallel sub-agent feature)

Related

  • Project
  • Project
  • Project
  • Project
  • Project