agentleFS
KCNyuKCNyu/clawock/skills/tavily-search/SKILL.md

tavily

Skill17 starsChanged 3 months agoMITView on GitHub

AI-optimized web search via Tavily API. Returns concise, relevant results for AI agents.

  • Reads credentials

8 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use --deep for complex research questions

    line 44
  2. Very specific:

    Use --topic news for current events

    line 45

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Tavily Search

AI-optimized web search using Tavily API. Designed for AI agents - returns clean, relevant content.

Search

node {baseDir}/scripts/search.mjs "query" --bucket research
node {baseDir}/scripts/search.mjs "query" -n 10 --bucket research
node {baseDir}/scripts/search.mjs "query" --deep --bucket research
node {baseDir}/scripts/search.mjs "query" --topic news --bucket research

Options

  • -n <count>: Number of results (default: 5, max: 20)
  • --deep: Use advanced search for deeper research (slower, more comprehensive)
  • --topic <topic>: Search topic - general (default) or news
  • --days <n>: For news topic, limit to last n days
  • --bucket <name>: Which monthly budget bucket to charge — brief / report / intraday / research / extract / default. Ad-hoc/manual research uses --bucket research. Omitting it charges the small default bucket (60/mo), which is exhausted quickly on purpose.

Budget (免费档 1000 credits/月, 全局共享)

basic 搜索 1 credit,--deep 2,extract 1/5 URL。硬护栏在 lib/ledger.mjs(本地月度账本,reservation 式扣费,超限 exit 0 优雅降级返回 "unavailable" — 别当报错,退回内置搜索)。账本在仓库外 /root/.openclaw/tavily-credit-ledger.json;查真实账单:curl -H "Authorization: Bearer $TAVILY_API_KEY" https://api.tavily.com/usage(注意有延迟,不能当实时闸)。

Extract content from URL

node {baseDir}/scripts/extract.mjs "https://example.com/article" --bucket extract

--bucket works the same as for search (charges that monthly bucket; omit → default). extract costs 1 credit per 5 URLs.

Notes:

  • Needs TAVILY_API_KEY from https://tavily.com
  • Tavily is optimized for AI - returns clean, relevant snippets
  • Use --deep for complex research questions
  • Use --topic news for current events

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.