返回顶部
c

chen-tavily-search

Web search using Tavily's LLM-optimized API. Returns relevant results with content snippets, scores, and metadata.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
113
下载量
0
收藏
概述
安装方式
版本历史

chen-tavily-search

# Tavily Search Search the web and get relevant results optimized for LLM consumption. ## Authentication Get your API key at https://tavily.com and add to your OpenClaw config: ```json { "skills": { "entries": { "tavily-search": { "enabled": true, "apiKey": "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" } } } } ``` Or set the environment variable: ```bash export TAVILY_API_KEY="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" ``` ## Quick Start ### Using the Script ```bash node {baseDir}/scripts/search.mjs "query" node {baseDir}/scripts/search.mjs "query" -n 10 node {baseDir}/scripts/search.mjs "query" --deep node {baseDir}/scripts/search.mjs "query" --topic news ``` ### Examples ```bash # Basic search node {baseDir}/scripts/search.mjs "python async patterns" # With more results node {baseDir}/scripts/search.mjs "React hooks tutorial" -n 10 # Advanced search node {baseDir}/scripts/search.mjs "machine learning" --deep # News search node {baseDir}/scripts/search.mjs "AI news" --topic news # Domain-filtered search node {baseDir}/scripts/search.mjs "Python docs" --include-domains docs.python.org ``` ## Options | Option | Description | Default | |--------|-------------|---------| | `-n <count>` | Number of results (1-20) | 10 | | `--depth <mode>` | Search depth: `ultra-fast`, `fast`, `basic`, `advanced` | `basic` | | `--topic <topic>` | Topic: `general` or `news` | `general` | | `--time-range <range>` | Time range: `day`, `week`, `month`, `year` | - | | `--include-domains <domains>` | Comma-separated domains to include | - | | `--exclude-domains <domains>` | Comma-separated domains to exclude | - | | `--raw-content` | Include full page content | false | | `--json` | Output raw JSON | false | ## Search Depth | Depth | Latency | Relevance | Use Case | |-------|---------|-----------|----------| | `ultra-fast` | Lowest | Lower | Real-time chat, autocomplete | | `fast` | Low | Good | Need chunks but latency matters | | `basic` | Medium | High | General-purpose, balanced | | `advanced` | Higher | Highest | Precision matters, research | ## Tips - **Keep queries under 400 characters** - Think search query, not prompt - **Break complex queries into sub-queries** - Better results than one massive query - **Use `--include-domains`** to focus on trusted sources - **Use `--time-range`** for recent information - **Filter by `score`** (0-1) to get highest relevance results

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 chen-tavily-search-1776084124 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 chen-tavily-search-1776084124 技能

通过命令行安装

skillhub install chen-tavily-search-1776084124

下载 Zip 包

⬇ 下载 chen-tavily-search v1.0.0

文件大小: 3.51 KB | 发布时间: 2026-4-14 14:39

v1.0.0 最新 2026-4-14 14:39
Initial release of chen-tavily-search: web search via Tavily API optimized for LLMs.

- Performs web search with configurable depth, topics, time range, and domain filters.
- Returns relevant results with content snippets, scores, and metadata.
- Supports multiple output modes including raw JSON and full content.
- Easy setup via API key in config or environment variable.
- Includes detailed usage examples and best practices.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部