---
name: web-search
description: Search the web for information, documentation, or troubleshooting help using Claude Code's subprocess capability.
---

# Web Search

Perform a web search to answer questions, find documentation, or troubleshoot issues. This skill wraps `claude -p` with the necessary permissions to access the web.

## When to Use

- "Search the web for [topic]"
- "Find documentation for [library]"
- "Troubleshoot [error message]"
- "Check if [package] is available on Nix"
- "What is [product]?"

## Process

1. Identify the search query from the user's request.
2. Run the helper script with the query.

## Helper Scripts

### search.sh

**Usage**:
```bash
./scripts/search.sh "your search query"
```

**Example**:
```bash
./scripts/search.sh "how to install ripgrep on nixos"
```

## Requirements

- `claude` CLI tool must be installed and in the PATH.
