AgentSkillsCN

web-search

通过inference.sh CLI,结合Tavily与Exa进行网络搜索与内容提取。支持的应用包括:Tavily Search、Tavily Extract、Exa Search、Exa Answer、Exa Extract。具备AI驱动搜索、内容提取、直接答疑与深度研究等功能。适用于科研、RAG流程、事实核查、内容聚合以及各类智能体应用。触发条件包括:网络搜索、Tavily、Exa、搜索API、内容提取、科学研究、互联网搜索、AI搜索、搜索助手、网络爬虫、RAG、Perplexity替代方案。

SKILL.md
--- frontmatter
name: web-search
description: "Web search and content extraction with Tavily and Exa via inference.sh CLI. Apps: Tavily Search, Tavily Extract, Exa Search, Exa Answer, Exa Extract. Capabilities: AI-powered search, content extraction, direct answers, research. Use for: research, RAG pipelines, fact-checking, content aggregation, agents. Triggers: web search, tavily, exa, search api, content extraction, research, internet search, ai search, search assistant, web scraping, rag, perplexity alternative"
allowed-tools: Bash(infsh *)

Web Search & Extraction

Search the web and extract content via inference.sh CLI.

Web Search & Extraction

Quick Start

bash
curl -fsSL https://cli.inference.sh | sh && infsh login

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

Available Apps

Tavily

AppApp IDDescription
Search Assistanttavily/search-assistantAI-powered search with answers
Extracttavily/extractExtract content from URLs

Exa

AppApp IDDescription
Searchexa/searchSmart web search with AI
Answerexa/answerDirect factual answers
Extractexa/extractExtract and analyze web content

Examples

Tavily Search

bash
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

bash
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

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

Returns highly relevant links with context.

Exa Answer

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

Returns direct factual answers.

Exa Extract

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

Extracts and analyzes web page content.

Workflow: Research + LLM

bash
# 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

bash
# 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

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

# 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