Metadata-Version: 2.4
Name: chrome-skill
Version: 1.2.1
Summary: Local Chrome browser automation skill — drives system Chrome via a Playwright RPC daemon and exposes page snapshots for AI agents.
Project-URL: Homepage, https://github.com/local/chrome-skill
Project-URL: Bug Tracker, https://github.com/local/chrome-skill/issues
Author: local
License: MIT License
        
        Copyright (c) 2026 local
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: agent,automation,browser,chrome,devtools,playwright,rpc
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Win32 (MS Windows)
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Requires-Dist: nest-asyncio>=1.5
Requires-Dist: playwright>=1.40
Requires-Dist: websockets<16,>=13
Description-Content-Type: text/markdown

# chrome-skill

Local Chrome browser automation skill — drives system Chrome via a Playwright
RPC daemon and exposes page snapshots for AI agents.

A thin Python wrapper that starts a background daemon hosting two services:

- **WebSocket Server** (port 8765) — Chrome DevTools Protocol bridge.
- **HTTP RPC Server** (port 8766) — CLI / agent requests land here.

## Install

```bash
pip install chrome-skill
playwright install chromium   # one-time, downloads Chromium
```

Requires Windows + Python 3.9+.

## Usage

```bash
chrome-skill serve            # start daemon (foreground)
chrome-skill status           # health check
chrome-skill stop             # stop daemon
chrome-skill browser_snapshot # current page as JSON (url + title + elements)
```

The daemon writes its PID, RPC port, and auth token to
`%LOCALAPPDATA%/chrome-skill/server.json`.

## License

MIT — see `LICENSE`.