Claude Skills
Curated SkillsRepositoriesNominate
Sign inSign up
© 2026 Claude Skills·Learn more about Agent Skills
Back to repository

web-search

stale

Web search, code search, and URL content extraction skill. Calls Tavily and Exa APIs directly via curl. Triggers: "/web-search", or when user requests web search.

View on GitHub

Marketplace

corca-plugins

corca-ai/claude-plugins

Plugin

web-search

Repository

corca-ai/claude-plugins
22stars

plugins/web-search/skills/web-search/SKILL.md

Last Verified

February 4, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/corca-ai/claude-plugins/blob/main/plugins/web-search/skills/web-search/SKILL.md -a claude-code --skill web-search

Installation paths:

Claude
.claude/skills/web-search/
Powered by add-skill CLI

Instructions

# Web Search (/web-search)

Call Tavily/Exa REST APIs via wrapper scripts for web search, code search, and URL content extraction.

**Language**: Adapt all outputs to match the user's prompt language.

## Commands

```
/web-search                         → Usage guide
/web-search help                    → Usage guide
/web-search <query>                 → General web search (Tavily)
/web-search --news <query>          → News search (Tavily, topic: news)
/web-search --deep <query>          → Advanced depth search (Tavily)
/web-search code <query>            → Code/technical search (Exa)
/web-search extract <url> [query]   → Extract URL content, optionally reranked by query (Tavily)
```

**Modifiers** (`--news`, `--deep`) can appear anywhere before the query. They are optional — query intelligence auto-detects topic and depth when possible.

## Execution Flow

1. Parse args → subcommand (search | code | extract), query/url, modifiers (--news, --deep)
2. No args or "help" → print usage and stop
3. **Query intelligence** (search subcommand only — analyze before calling script):
   a. Detect modifier flags:
      `--news` → `--topic news`
      `--deep` → `--deep`
   b. Detect temporal intent in query → `--time-range`:
      "today", "latest today" → `day`
      "this week", "latest", "recent" → `week`
      "this month" → `month`
      "this year", "2025", "2026" → `year`
   c. Detect topic from query (if not set by flag):
      news keywords (breaking, headline, announced, report) → `--topic news`
      finance keywords (stock, price, market, earnings, revenue) → `--topic finance`
   d. If no signals detected → no extra flags
4. **Call the appropriate script**:

### search (default)

```bash
{SKILL_DIR}/scripts/search.sh [--topic news|finance] [--time-range day|week|month|year] [--deep] "<query>"
```

### code

Assess query complexity → set tokensNum:
- Simple lookup (e.g., "golang sort slice") → 3000
- Standard query (e.g., "React useEffect cleanup") → 5000
- Complex/a

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
2810 chars

Issues Found:

  • placeholder_text