Show HN: WebCap – Reusable web capabilities for AI agents Web-Capability, a local-first browser automation toolkit for AI agents, launched on Hacker News. The tool lets agents inspect browser tabs, run reusable in-page scripts, save workflows for command-line use, and generate AI-native userscripts from natural-language requests. It aims to reduce token usage and execution time by enabling agents to reuse verified browser operations instead of rediscovering workflows each time. Script-first web capabilities for AI agents. Run in-page scripts, save workflows as reusable capabilities, and generate AI-native userscripts. Web-Capability is a local-first browser automation toolkit for agents. It lets agents inspect real browser tabs, run reusable in-page scripts, save successful workflows for later command-line use, and turn natural-language browser requests into AI-native userscripts. Agents interact with Web-Capability through the web-cap CLI. The CLI manages the required local runtime automatically, so users do not need a separate startup command. - Install the Web Cap skill with the skills CLI: npx skills add edgestorage/web-cap The skill includes the web-cap CLI installation and connection-check workflow for agents. - Install the Web Cap browser extension: - Open the Web Cap Releases https://github.com/edgestorage/web-cap/releases page. - Download the Chrome extension zip asset, named like chrome .zip . - Unzip the downloaded extension asset. - Open chrome://extensions in Chrome. - Enable Developer mode. - Drag the unzipped extension folder into the extensions page. - Open the Web Cap extension details and enable Allow User Scripts . - Open the - Check that the CLI can see the browser runtime: web-cap session-status Run a reusable script from web-cap-hub https://github.com/edgestorage/web-cap-hub to summarize the comments on the first five Hacker News posts from the current page with less page exploration, fewer tokens, and faster execution. Hide the Top live games block on YouTube Gaming with one sentence, and keep it hidden on future visits. For agent workflows, the Web Cap skill provides the recommended CLI setup path. To install the CLI directly, use npm: npm install -g web-capability The installed command is web-cap : web-cap --help web-cap session-status - Browser extension runtime for real Chromium-based browser tabs. - Command-line interface for script execution, registration, tab creation, and user handoff observation. - Playwright-style page helpers for common operations such as inspect, wait, click, fill, query, and text reading. - Local script registry for reusable browser workflows. - AI-native userscript generation for persistent, page-specific browser changes. - Browser tab creation and event watching commands for agent workflows. - Local-first state storage by default. Web Cap can run reusable capability scripts from a local .web-cap/ directory. The shared Web Cap Hub https://github.com/edgestorage/web-cap-hub repository collects ready-to-use scripts for common websites and provides examples for writing new site-specific workflows. To reuse scripts from the hub: git clone https://github.com/edgestorage/web-cap-hub.git cd web-cap-hub web-cap session-status web-cap script-execute \ --tab-id