Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text eol=lf
40 changes: 5 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,45 +49,15 @@ https://github.com/user-attachments/assets/04eceadc-d398-4303-984d-ae3197bfa664

## Quick Start

### Codex
### Agent prompt

In Codex, open **Plugins**, choose **Add plugin marketplace**, and enter either
`agentrhq/webcmd` or `https://github.com/agentrhq/webcmd`. Install **Webcmd**
from that marketplace, then start a new task. On first use, the plugin installs
the npm CLI automatically if `webcmd` is missing.

The plugin includes all seven bundled Webcmd skills. Do not also add those
skills with `webcmd skills add` in Codex.

### Other agents or plugin-free setup

Webcmd requires Node.js 20.6+.

```bash
npm install -g @agentrhq/webcmd
```

The npm package ships the Webcmd core and browser commands, but no site
adapters. Search the plugin catalog and explicitly install the adapter you
need:

```bash
webcmd plugin search <site> -f json
webcmd plugin install <installSource-from-search>
```

```bash
webcmd skills add
```text
Fetch and follow https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md to set up Webcmd end to end.
```

When prompted, choose Claude, Codex, another supported harness, or a custom
skills path.

In your agent harness, load or tag `webcmd-usage`, then describe the outcome you want.
### Manual

```text
Use webcmd to research the latest discussions about browser automation across Hacker News and Reddit, then return a concise comparison with source links.
```
Refer to the [Quickstart](https://webcmd.dev/docs/quickstart) docs for step-by-step manual setup.

## What You Can Ask

Expand Down
10 changes: 4 additions & 6 deletions docs/agents/claude-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ title: Claude Code Agent
sidebarTitle: Claude Code
---

> **Agent prompt**
>
> Fetch and follow [start.md](https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md) to set up Webcmd end to end, then read this page's Manual — especially [Override default tools](#override-default-tools) — before doing browser work.
## Agent prompt

> Use Webcmd with [Claude Code](https://code.claude.com) to replace its native `WebFetch` and `WebSearch` tools with the Webcmd browser surface.

Claude Code's native web tools are lossy by design: `WebFetch` summarizes a page with a small extraction model and `WebSearch` returns result titles and URLs but cannot read the pages. Point Claude Code at Webcmd's browser CLI instead: adapters return exact, stable fields, and `webcmd browser` sessions render real pages with logged-in profiles. Claude Code runs `webcmd` through its Bash tool.
```text
Fetch and follow https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md to set up Webcmd end to end.
```

## Manual

Expand Down
10 changes: 4 additions & 6 deletions docs/agents/codex-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ title: Codex CLI Agent
sidebarTitle: Codex CLI
---

> **Agent prompt**
>
> Fetch and follow [start.md](https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md) to set up Webcmd end to end, then read this page's Manual — especially [Override default tools](#override-default-tools) — before doing browser work.
## Agent prompt

> Use Webcmd with [Codex CLI](https://developers.openai.com/codex/) to replace its native `web_search` tool with the Webcmd browser surface.

Codex CLI's native `web_search` tool returns cached or indexed search results but cannot read pages or run authenticated sessions. Point Codex at Webcmd's browser CLI instead: adapters return exact, stable fields, and `webcmd browser` sessions render real pages with logged-in profiles. Codex runs `webcmd` through its shell tool.
```text
Fetch and follow https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md to set up Webcmd end to end.
```

## Manual

Expand Down
10 changes: 4 additions & 6 deletions docs/agents/cursor.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ title: Cursor Agent
sidebarTitle: Cursor
---

> **Agent prompt**
>
> Fetch and follow [start.md](https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md) to set up Webcmd end to end, then read this page's Manual — especially [Override default tools](#override-default-tools) — before doing browser work.
## Agent prompt

> Use Webcmd with [Cursor](https://cursor.com) to replace its built-in Browser and Web tools with Webcmd's adapters and `webcmd browser` sessions.

Point Cursor's agent at Webcmd's browser CLI to replace its native Browser (navigate/click/screenshot) and Web (search/fetch) tools with Webcmd's adapters and `webcmd browser` sessions. Cursor's agent drives Webcmd through its shell tool. Adapter-first commands and compact snapshots usually use fewer tokens than Cursor's native web tools.
```text
Fetch and follow https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md to set up Webcmd end to end.
```

## Manual

Expand Down
10 changes: 4 additions & 6 deletions docs/agents/hermes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ title: Hermes Agent
sidebarTitle: Hermes
---

> **Agent prompt**
>
> Fetch and follow [start.md](https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md) to set up Webcmd end to end, then read this page's Manual — especially [Override default tools](#override-default-tools) — before doing browser work.
## Agent prompt

> Use Webcmd with [Hermes Agent](https://hermes-agent.nousresearch.com/docs) to replace its built-in `browser_*` stack with Webcmd's adapters and `webcmd browser` sessions.

Point Hermes at Webcmd's browser CLI to replace its native browser toolset with Webcmd's adapters and `webcmd browser` sessions. Hermes drives Webcmd through its `terminal` toolset. Adapter-first commands and compact snapshots usually use fewer tokens than Hermes' native browser tools.
```text
Fetch and follow https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md to set up Webcmd end to end.
```

## Manual

Expand Down
10 changes: 4 additions & 6 deletions docs/agents/openclaw.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ title: OpenClaw Agent
sidebarTitle: OpenClaw
---

> **Agent prompt**
>
> Fetch and follow [start.md](https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md) to set up Webcmd end to end, then read this page's Manual — especially [Override default tools](#override-default-tools) — before doing browser work.
## Agent prompt

> Use Webcmd with [OpenClaw](https://openclaw.ai) to replace its built-in `web_search`, `web_fetch`, and `browser` tools with the Webcmd browser surface.

OpenClaw ships core web tools (`web_search`, `web_fetch`, `browser`, `browser_visual`, `search_news`) plus a Playwright-based browser. Point OpenClaw at Webcmd's browser CLI instead: adapters return exact, stable fields, and `webcmd browser` sessions keep logged-in profiles. OpenClaw runs `webcmd` through its `exec` tool.
```text
Fetch and follow https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md to set up Webcmd end to end.
```

## Manual

Expand Down
10 changes: 4 additions & 6 deletions docs/agents/opencode.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ title: OpenCode Agent
sidebarTitle: OpenCode
---

> **Agent prompt**
>
> Fetch and follow [start.md](https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md) to set up Webcmd end to end, then read this page's Manual — especially [Override default tools](#override-default-tools) — before doing browser work.
## Agent prompt

> Use Webcmd with OpenCode to replace its built-in `webfetch` / `websearch` tools with the Webcmd browser surface.

Point OpenCode at Webcmd's browser CLI to replace its native browser tools with Webcmd's adapters and `webcmd browser` sessions. Adapter-first commands and compact snapshots usually use fewer tokens than OpenCode's native web tools, and logged-in profiles handle authenticated pages.
```text
Fetch and follow https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md to set up Webcmd end to end.
```

## Manual

Expand Down
10 changes: 4 additions & 6 deletions docs/agents/pi.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ title: Pi Agent
sidebarTitle: Pi
---

> **Agent prompt**
>
> Fetch and follow [start.md](https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md) to set up Webcmd end to end, then read this page's Manual — especially [Override default tools](#override-default-tools) — before doing browser work.
## Agent prompt

> Use Webcmd with [Pi](https://pi.dev) to give it a browser surface. Pi ships no built-in web, search, or browser tools, so Webcmd is driven through Pi's default `bash` tool with no permission or config changes.

Pi is a minimal terminal coding harness whose default tools are filesystem and shell only (`read`, `bash`, `edit`, `write`, with `grep`, `find`, and `ls` available). Its agent drives Webcmd through the `bash` tool. Adapter-first commands and compact snapshots usually use fewer tokens than the official `brave-search` and `browser-tools` skills, and logged-in profiles handle authenticated pages.
```text
Fetch and follow https://raw.githubusercontent.com/agentrhq/webcmd/main/start.md to set up Webcmd end to end.
```

## Manual

Expand Down
Loading