---
id: sm-web-search
name: "web-search"
url: https://skills.yangsir.net/skill/sm-web-search
author: inferen-sh
domain: data-analysis
tags: ["web-search", "information-retrieval", "search-engines", "data-collection", "osint"]
install_count: 28900
rating: 4.60 (668 reviews)
github: https://github.com/inferen-sh/skills
---

# web-search

> 专注于数据分析领域的网络搜索，通过调用API，为Agent提供强大的网页信息获取能力，辅助数据洞察。

**Stats**: 28,900 installs · 4.6/5 (668 reviews)

## Before / After 对比

### 信息获取效率对比

| Metric | Before | After | Change |
|---|---|---|---|
| - | - | - | - |
| - | - | - | - |

## Readme

# web-search

# Web Search & Extraction

Search the web and extract content via [inference.sh](https://inference.sh) CLI.

## Quick Start

Requires inference.sh CLI (`infsh`). [Install instructions](https://raw.githubusercontent.com/inference-sh/skills/refs/heads/main/cli-install.md)

```
infsh login

# Search the web
infsh app run tavily/search-assistant --input '{"query": "latest AI developments 2024"}'

```

## Available Apps

### Tavily

App
App ID
Description

Search Assistant
`tavily/search-assistant`
AI-powered search with answers

Extract
`tavily/extract`
Extract content from URLs

### Exa

App
App ID
Description

Search
`exa/search`
Smart web search with AI

Answer
`exa/answer`
Direct factual answers

Extract
`exa/extract`
Extract and analyze web content

## Examples

### Tavily Search

```
infsh app run tavily/search-assistant --input '{
  "query": "What are the best practices for building AI agents?"
}'

```

Returns AI-generated answers with sources and images.

### Tavily Extract

```
infsh app run tavily/extract --input '{
  "urls": ["https://example.com/article1", "https://example.com/article2"]
}'

```

Extracts clean text and images from multiple URLs.

### Exa Search

```
infsh app run exa/search --input '{
  "query": "machine learning frameworks comparison"
}'

```

Returns highly relevant links with context.

### Exa Answer

```
infsh app run exa/answer --input '{
  "question": "What is the population of Tokyo?"
}'

```

Returns direct factual answers.

### Exa Extract

```
infsh app run exa/extract --input '{
  "url": "https://example.com/research-paper"
}'

```

Extracts and analyzes web page content.

## Workflow: Research + LLM

```
# 1. Search for information
infsh app run tavily/search-assistant --input '{
  "query": "latest developments in quantum computing"
}' > search_results.json

# 2. Analyze with Claude
infsh app run openrouter/claude-sonnet-45 --input '{
  "prompt": "Based on this research, summarize the key trends: <search-results>"
}'

```

## Workflow: Extract + Summarize

```
# 1. Extract content from URL
infsh app run tavily/extract --input '{
  "urls": ["https://example.com/long-article"]
}' > content.json

# 2. Summarize with LLM
infsh app run openrouter/claude-haiku-45 --input '{
  "prompt": "Summarize this article in 3 bullet points: <content>"
}'

```

## Use Cases

- **Research**: Gather information on any topic

- **RAG**: Retrieval-augmented generation

- **Fact-checking**: Verify claims with sources

- **Content aggregation**: Collect data from multiple sources

- **Agents**: Build research-capable AI agents

## Related Skills

```
# Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@infsh-cli

# LLM models (combine with search for RAG)
npx skills add inference-sh/skills@llm-models

# Image generation
npx skills add inference-sh/skills@ai-image-generation

```

Browse all apps: `infsh app list`

## Documentation

- [Adding Tools to Agents](https://inference.sh/docs/agents/adding-tools) - Equip agents with search

- [Building a Research Agent](https://inference.sh/blog/guides/research-agent) - LLM + search integration guide

- [Tool Integration Tax](https://inference.sh/blog/tools/integration-tax) - Why pre-built tools matter

Weekly Installs9.4KRepository[inferen-sh/skills](https://github.com/inferen-sh/skills)GitHub Stars159First Seen6 days agoSecurity Audits[Gen Agent Trust HubPass](/inferen-sh/skills/web-search/security/agent-trust-hub)[SocketWarn](/inferen-sh/skills/web-search/security/socket)[SnykWarn](/inferen-sh/skills/web-search/security/snyk)Installed onclaude-code7.1Kgemini-cli6.8Kcodex6.8Kamp6.8Kopencode6.8Kgithub-copilot6.8K

---
*Source: https://skills.yangsir.net/skill/sm-web-search*
*Markdown mirror: https://skills.yangsir.net/api/skill/sm-web-search/markdown*