# opencli-web-automation

Turns target websites into console utilities by tapping into live Chrome sessions. Useful when you need scraped data from authenticated portals without writing raw scripts.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1500 installs · ★ 88
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/opencli-web-automation/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/opencli-web-automation

## What it does

This skill instructs the agent to drive OpenCLI through the Playwright MCP Bridge. Instead of handling captchas or storing credentials, it connects directly to your active Chrome browser profile. The system ships with over 80 commands covering 19 sites like Reddit, Twitter, and YouTube, alongside open resources like Hacker News. New sites can be inspected directly: the tool crawls target endpoints, determines auth methods, and generates YAML or TypeScript adapters.

A running Chrome instance and Node.js version 18.0.0 or higher are strictly required. You must configure `PLAYWRIGHT_MCP_EXTENSION_TOKEN` after running `opencli setup`, otherwise commands targeting private pages fail immediately. Output flows cleanly into JSON, YAML, CSV, or Markdown.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill opencli-web-automation -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/opencli-web-automation/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/opencli-web-automation/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill opencli-web-automation -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/opencli-web-automation/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill opencli-web-automation -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/opencli-web-automation/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/trending-skills opencli-web-automation
```

2. **Manually: put the files in place**
- File: `.github/skills/opencli-web-automation/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill opencli-web-automation -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/trending-skills --path skills/opencli-web-automation
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/opencli-web-automation/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill opencli-web-automation -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/opencli-web-automation/SKILL.md

## When to use it
- convert arbitrary web pages into interactive CLI utilities
- pull authenticated feed data directly from an active Chrome session
- inspect endpoints to auto-generate YAML site adapters
- export parsed browser tables into CSV, Markdown, or JSON

## Example prompts
- Extract trending posts from Twitter into a JSON file with OpenCLI
- Explore https://example.com and synthesize a new YAML adapter
- Run an authenticated Reddit search via opencli and output markdown

## Similar
- [agent-browser](https://affpapa.org/en/nevibecode/skills/vercel-labs-agent-browser.md) — skill · 1200000 installs
- [webapp-testing](https://affpapa.org/en/nevibecode/skills/webapp-testing.md) — skill · 186758 installs
- [computer-use](https://affpapa.org/en/nevibecode/skills/computer-use.md) — skill · 239400 installs
- [browser-use](https://affpapa.org/en/nevibecode/skills/browser-use.md) — skill · 98200 installs
- [playwright-cli](https://affpapa.org/en/nevibecode/skills/playwright-cli.md) — skill · 195700 installs
- [last30days](https://affpapa.org/en/nevibecode/skills/last30days.md) — skill · 53000 installs

From the same set: [reason-machines/trending-skills](https://affpapa.org/en/nevibecode/by/reason-machines/trending-skills.md) — 139 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
