Agent skill

Web Search Tool

by canwhite in canwhite/Krebs

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

MITAuto-check passedProductivity & Automation

Install Web Search Tool

skills CLI
$ npx skills add canwhite/Krebs --skill web-search-tool -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install canwhite/Krebs web-search-tool --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/canwhite/Krebs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/web-search-tool .claude/skills/web-search-tool && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
web-search-tool
GitHub stars
1k
Token cost
~181 tokens
SKILL.md length
21 words
Files
6 (incl. scripts, references, assets)
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

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

  • Tasks that involve Web search
  • SKILL.md covers Setup, Usage, Examples and References
  • Runs Shell scripts from its folder; calls curl

What it does

Web Search Tool is an agent skill from canwhite/Krebs. 提供网页搜索功能示例,演示如何使用 curl 进行 HTTP 请求。用于学习如何构建包含 scripts 和 references 的标准 skill 结构。

Its SKILL.md is about 180 tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts, reference files and assets (for example `assets/template.json`, `references/advanced-usage.md` and `references/api-reference.md`). Compatibility notes: 需要 curl 命令行工具

It sits in Productivity & Automation, covering Web search. The repository describes itself as: An agent focused on attention management. The licence is MIT.

When your agent uses it

  • Tasks that involve Web search

Example prompts

  • “/web-search-tool”

Requirements

  • A Bash shell
  • Compatibility (from SKILL.md): 需要 curl 命令行工具

What it can do on your machine

Read from SKILL.md and the folder at commit 31d4bea. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    需要 curl 命令行工具

    From compatibility in the SKILL.md frontmatter.

Context cost

Web Search Tool loads about 181 tokens when it runs, and up to ~463 if it reads all its reference files. Until then it costs about 24 tokens; SKILL.md has 21 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~181
With references · SKILL.md plus every file in references/, read only if the agent opens them
~463

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from canwhite/Krebs at commit 31d4bea, republished under its MIT licence (© canwhite). 21 words, ~181 tokens.

Download SKILL.mdSave it as .claude/skills/web-search-tool/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
web-search-tool
description
提供网页搜索功能示例,演示如何使用 curl 进行 HTTP 请求。用于学习如何构建包含 scripts 和 references 的标准 skill 结构。
compatibility
需要 curl 命令行工具
license
MIT
metadata.version
1.0.0
metadata.author
Krebs

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

© canwhite, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts, references, assets) in skills/web-search-tool of canwhite/Krebs.

  • SKILL.md
  • assets/template.json
  • references/advanced-usage.md
  • references/api-reference.md
  • scripts/fetch-page.sh
  • scripts/search.sh

Open the folder on GitHubat commit 31d4bea

Compare with similar skills

Web Search Tool next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Web Search Tool compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Web Search Tool this skillcanwhite/Krebs1k—~181Automated safety check: PassMIT
Brave Searchbadlogic/pi-skills2.6k5 repos~592Automated safety check: PassMIT
Enterprise AI Scenario MapMetaInFLow/Enterprise-ai-scenario-map-skill632—~1.8kAutomated safety check: PassMIT
Web Searchjjyaoao/HelloAgents3.2k1 repos~5.6kAutomated safety check: PassMIT
Ddg SearchTheSyart/claude-agent-examples4051 repos~493Automated safety check: PassNone
Local Web SearchuluckyXH/OpenMOSS1.3k—~392Automated safety check: NotesMIT

Similar skills

  • Brave Search

    badlogic/pi-skills

    Web search and content extraction via Brave Search API. An agent skill from badlogic/pi-skills.

    2.6k GitHub starsUsed in 5 repos~592 tokens
    Productivity & AutomationAuto-check passed
  • Enterprise AI Scenario Map

    MetaInFLow/Enterprise-ai-scenario-map-skill

    企业AI场景地图生成报告工具。通过 web-search 深度调研企业信息,按照V2.1标准模板生成结构化AI应用场景地图报告,包含企业画像、业务诊断、行业实践、AI场景全量表、实施路径等完整内容。

    632 GitHub stars~1.8k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check passed
  • Web Search

    jjyaoao/HelloAgents

    Implement web search capabilities using the z-ai-web-dev-sdk.

    3.2k GitHub starsUsed in 1 repo~5.6k tokens
    Productivity & AutomationAuto-check passed
  • Ddg Search

    TheSyart/claude-agent-examples

    Web search without an API key using DuckDuckGo Lite via webfetch.

    405 GitHub starsUsed in 1 repo~493 tokens
    Productivity & AutomationAuto-check passed
  • Local Web Search

    uluckyXH/OpenMOSS

    A skill your agent uses when the user asks for web search that should run via the local-160 Responses API with websearch tool (base URL like https://proxy.example.com, model gpt-5.2-codex(xhigh)).

    1.3k GitHub stars~392 tokensUpdated 3 mo ago
    Productivity & AutomationAuto-check: notes
  • Ask Search

    ythx-101/ask-search

    Web search via self-hosted SearxNG. An agent skill from ythx-101/ask-search.

    537 GitHub stars~332 tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check passed

More from canwhite/Krebs

  • 基于"扩散模型叙事去噪流"的小说写作 SOP。将 AI 视为去杂质机器,通过锁定全局信号、预测叙事噪声、精准去噪、随机修正四个步骤,解决 AI 翻译腔、逻辑断层和故事平淡的问题。

    1k GitHub stars~831 tokensUpdated 1 mo ago
    Auto-check passed
  • Resume Optimizer

    canwhite/Krebs

    ATS简历优化器 - 根据职位描述(JD)和个人能力,生成符合ATS解析要求的高匹配简历. An agent skill from canwhite/Krebs.

    1k GitHub stars~675 tokensUpdated 1 mo ago
    Auto-check passed
  • Simpleman

    canwhite/Krebs

    Simple, plain language communication. An agent skill from canwhite/Krebs.

    1k GitHub stars~574 tokensUpdated 1 mo ago
    Auto-check passed
  • Wechat Article

    canwhite/Krebs

    专业微信公众号爆款文章创作,基于痛点情绪故事在前、结论功能在后的原则,提供完整的文章结构、标题、开头、结尾生成方案. An agent skill from canwhite/Krebs.

    1k GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Web Search Tool

What does Web Search Tool do?

提供网页搜索功能示例,演示如何使用 curl 进行 HTTP 请求。用于学习如何构建包含 scripts 和 references 的标准 skill 结构。. Web Search Tool is an agent skill from canwhite/Krebs.

When should I use Web Search Tool?

Web Search Tool fits situations like: tasks that involve Web search.

How do I install Web Search Tool in Claude Code?

Run `npx skills add canwhite/Krebs --skill web-search-tool -a claude-code`. Or copy the skill folder (skills/web-search-tool in canwhite/Krebs) into .claude/skills/web-search-tool in your project. Claude Code loads it when a task matches its description.

How do I install Web Search Tool in Codex?

Run `npx skills add canwhite/Krebs --skill web-search-tool -a codex`. Or copy the skill folder (skills/web-search-tool in canwhite/Krebs) into .agents/skills/web-search-tool in your project. Codex loads it when a task matches its description.

Can I use Web Search Tool in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add canwhite/Krebs --skill web-search-tool -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/web-search-tool, .gemini/skills/web-search-tool, .github/skills/web-search-tool and .opencode/skills/web-search-tool in your project.

What does Web Search Tool need to run?

Going by SKILL.md and its folder, Web Search Tool needs a shell for the scripts in its folder and the command-line tools its instructions call (curl). Our summary lists: A Bash shell. Compatibility (from SKILL.md): 需要 curl 命令行工具.

Does Web Search Tool access the network?

SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Web Search Tool safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Web Search Tool use?

Web Search Tool is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Web Search Tool use?

About 181 tokens (SKILL.md is roughly 724 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 282 tokens, read only when the agent opens those files.

What are the alternatives to Web Search Tool?

Skills that share tags, products or a category with Web Search Tool: Brave Search (badlogic/pi-skills, 2.6k stars), Enterprise AI Scenario Map (MetaInFLow/Enterprise-ai-scenario-map-skill, 632 stars), Web Search (jjyaoao/HelloAgents, 3.2k stars) and Ddg Search (TheSyart/claude-agent-examples, 405 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Web Search Tool?

canwhite (a GitHub user) maintains it in canwhite/Krebs, which has 1,039 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on August 28, 2026.

Source: canwhite/Krebs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.