# websh

websh lets an agent navigate URLs and query page content with shell-like commands. Use it when web pages need to be explored from a coding session.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1100 installs · ★ 4
- Author: frames-engineering
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/frames-engineering/skills/tree/HEAD/skills/websh/SKILL.md
- Updated: 2026-03-21
- HTML: https://affpapa.org/en/nevibecode/skills/websh

## What it does

websh treats a URL as a navigable location. `cd` loads a page, `ls` lists links or matching elements, `cat` reads selected text, and `grep` filters page content. `follow` opens a numbered link, while `back`, `pwd`, `stat`, and `refresh` handle navigation and page state.

The skill keeps downloaded HTML and parsed content in `.websh/cache/`, with session data in `.websh/session.md`. Page fetching, extraction, and link discovery run in background `haiku` tasks. Prefetch behavior can be changed with `prefetch`; crawl depth and scope use `CRAWL_DEPTH`, `CRAWL_SAME_DOMAIN`, and `CRAWL_MAX_PER_PAGE`.

The prompt returns immediately after a navigation command. Until the background fetch finishes, commands such as `ls` can return only part of the page.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add frames-engineering/skills --skill websh -a claude-code
```

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

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add frames-engineering/skills --skill websh -a codex
```

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

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add frames-engineering/skills --skill websh -a cursor
```

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install frames-engineering/skills websh
```

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

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add frames-engineering/skills --skill websh -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/frames-engineering/skills --path skills/websh
```

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add frames-engineering/skills --skill websh -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/frames-engineering/skills/tree/HEAD/skills/websh/SKILL.md

## When to use it
- navigate to a URL from an agent session
- search a page for text or patterns
- extract content from a selected element
- open a numbered link and return
- prefetch linked pages in the background

## Example prompts
- Use websh to open `https://news.ycombinator.com` and list the first links.
- Search the current page for mentions of “AI”.
- Follow the third link, read its title, then go back.

## Similar
- [agent-browser](https://affpapa.org/en/nevibecode/skills/101-skills-agent-browser.md) — skill · 162800 installs
- [dev-browser](https://affpapa.org/en/nevibecode/skills/dev-browser.md) — skill · 2500 installs
- [mini-browser](https://affpapa.org/en/nevibecode/skills/mini-browser.md) — skill · 2400 installs
- [event-prospecting](https://affpapa.org/en/nevibecode/skills/event-prospecting.md) — skill · 2100 installs
- [safe-browser](https://affpapa.org/en/nevibecode/skills/safe-browser.md) — skill · 1700 installs
- [lightpanda](https://affpapa.org/en/nevibecode/skills/lightpanda.md) — skill · 1300 installs

From the same set: [frames-engineering/skills](https://affpapa.org/en/nevibecode/by/frames-engineering/skills.md) — 4 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
