# Web Search Tool

> Web Search Tool is an Agent Skill for research published in the canwhite/Krebs repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

提供网页搜索功能示例，演示如何使用 curl 进行 HTTP 请求。用于学习如何构建包含 scripts 和 references 的标准 skill 结构。

- Skill name: `web-search-tool`
- Category: [Research](https://www.openparable.com/skill/research/1)
- Source: https://github.com/canwhite/Krebs/blob/HEAD/skills/web-search-tool/SKILL.md
- Repository: canwhite/Krebs (807 GitHub stars when collected)

## SKILL.md

# Web Search Tool

这个技能演示了标准的 skill 结构，包含 scripts 和 references 目录。

## Setup

无需安装依赖，确保系统已安装 curl：

```bash
curl --version
```

## Usage

### 基本搜索

```bash
# 使用 curl 搜索
./scripts/search.sh "搜索查询词"
```

### 获取页面内容

```bash
# 获取网页内容
./scripts/fetch-page.sh "https://example.com"
```

## Examples

```bash
# 搜索示例
./scripts/search.sh "TypeScript tutorial"

# 获取页面
./scripts/fetch-page.sh "https://www.example.com"
```

## References

- [API 详细说明](references/api-reference.md)
- [高级用法](references/advanced-usage.md)

---

Source: https://www.openparable.com/skill/research/web-search-tool (OpenParable). Cite the canonical URL above.
