# web-research

Deep web research with structured reports and multiple backend options.

## Overview

Conducts comprehensive research on a topic, synthesizing information from multiple sources. Acts as a "Lead Researcher" providing insights, best practices, and trend analysis.

## Prerequisites

- `claude` CLI installed and in PATH
- (Optional) `llm` CLI for alternative synthesis backend
- (Optional) `KAGI_API_KEY` for Kagi FastGPT backend

## Usage

The agent invokes this skill automatically for research requests.

**Example prompts:**
- "Research current best practices for React state management"
- "What's new in Rust async?"
- "Compare PostgreSQL vs SQLite for embedded use"
- "Gather insights on WebAssembly adoption"

## Manual Usage

```bash
# Default (Claude backend)
./scripts/research.sh "your research topic"

# Use llm CLI for synthesis
RESEARCH_BACKEND=llm ./scripts/research.sh "topic"

# Use Kagi FastGPT
RESEARCH_BACKEND=kagi ./scripts/research.sh "topic"
```

## Backends

| Backend | Search | Synthesis | Requirements |
|---------|--------|-----------|--------------|
| `claude` (default) | Claude | Claude | `claude` CLI |
| `llm` | Claude | llm CLI | `claude` + `llm` CLI |
| `kagi` | Kagi | Kagi FastGPT | `KAGI_API_KEY` |

## How It Works

1. Agent identifies research topic from your request
2. Runs `research.sh` with selected backend
3. Returns structured report with insights and sources

## See Also

- **web-search**: For quick, single-query searches
