# web-search

Quick web searches using Claude's subprocess capability.

## Overview

Performs web searches to find information, documentation, or troubleshoot issues. Wraps `claude -p` to access the web.

**Note:** Claude Code has built-in WebSearch - this skill is primarily for OpenCode which lacks native search.

## Prerequisites

- `claude` CLI installed and in PATH

## Usage

The agent invokes this skill automatically when you ask to search the web.

**Example prompts:**
- "Search the web for NixOS flake examples"
- "Find documentation for ripgrep"
- "Troubleshoot 'ECONNREFUSED' error"

## Manual Usage

```bash
./scripts/search.sh "your search query"
```

## How It Works

1. Agent identifies search query from your request
2. Runs `search.sh` which invokes `claude -p` with web access
3. Returns summarized results

## See Also

- **web-research**: For deep, multi-source research with structured reports
