claude-websearch

Free web search using Claude Code CLI or Codex CLI's built-in WebSearch tool — no Tavily, Brave, or Exa API key required. Activate when the user says "websearch", "搜一下", "search the web", or when Tavily/Brave quota is exhausted and you need to search the web.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "claude-websearch" with this command: npx skills add jinghan23/claudecode-websearch

Claude WebSearch Skill

Use the bundled script to search the web via Claude Code CLI (primary) or Codex CLI (fallback). Both CLIs expose a native WebSearch tool — no third-party search API key needed.

When to Use

  • Tavily / Brave / Exa quota is exhausted
  • User says "websearch搜一下X", "search for X", "查一下X"
  • Any web search need where no API key is configured

Quick Usage

# Primary (Claude Code CLI — fast, recommended)
scripts/websearch.sh "your query"

# With result count
scripts/websearch.sh "your query" --max 3

# Explicit backend
scripts/websearch.sh "your query" --backend codex

Or use the global alias (if installed):

ccws "your query"

How It Works

BackendCLI flagNotes
claude (default)--allowedTools "WebSearch"Fast (~5s), clean output
codex--search + reasoning_effort=lowSlower (~30-60s), use as fallback

The script auto-detects which CLI is available; claude is preferred when both exist.

Setup (one-time)

Install the global alias ccws for quick access:

ln -sf "$(pwd)/scripts/websearch.sh" ~/.local/bin/ccws

Troubleshooting

ProblemFix
claude: command not foundInstall Claude Code CLI: npm install -g @anthropic-ai/claude-code
codex: command not foundInstall Codex CLI: npm install -g @openai/codex
Claude returns empty outputCheck claude auth status; re-login if expired
Codex times outNormal — use --backend claude instead
Not inside a trusted directory (Codex)Script handles this by running from a temp dir

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

You.com Web Search & Research CLI

Web search, research with citations, and content extraction for bash agents using curl and You.com's REST API. - MANDATORY TRIGGERS: You.com, youdotcom, YDC,...

Registry Source
2.6K3Profile unavailable
Coding

You.com Web Search & Research API

Integrate You.com APIs (Research, Search, Contents) into any language using direct HTTP calls — no SDK required. - MANDATORY TRIGGERS: YDC API, You.com API i...

Registry Source
1.4K0Profile unavailable
Coding

StitchFlow

Turn briefs, mockups, and product context into Stitch UI screens, design variants, Tailwind-friendly HTML, and screenshots. Use when the user wants to explor...

Registry SourceRecently Updated
1940Profile unavailable
Coding

StitchFlow Legacy Alias

Legacy compatibility alias for StitchFlow. Use when a user explicitly references stitch-design-local, or when older prompts and setups still call that skill...

Registry SourceRecently Updated
1940Profile unavailable