Web Search Tool
Researchweb-search-toolWeb 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 结构。
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/canwhite/Krebs/blob/HEAD/skills/web-search-tool/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/web-search-tool, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Web Search Tool
这个技能演示了标准的 skill 结构,包含 scripts 和 references 目录。
Setup
无需安装依赖,确保系统已安装 curl:
curl --version
Usage
基本搜索
# 使用 curl 搜索
./scripts/search.sh "搜索查询词"
获取页面内容
# 获取网页内容
./scripts/fetch-page.sh "https://example.com"
Examples
# 搜索示例
./scripts/search.sh "TypeScript tutorial"
# 获取页面
./scripts/fetch-page.sh "https://www.example.com"