Logo di Add Tavily Tool

Add Tavily Tool

OrganizzazionePopolare
nanocoai
add-tavily-tool

Aggiungi Tavily Search e Extract come strumenti MCP remoti senza chiave per i gruppi di agenti NanoClaw selezionati. Usalo per installare la ricerca web o l'estrazione di URL di Tavily senza una chiave API.

Add to TypingMind

Panoramica

Pubblicato dananocoai
Repositorynanoclaw
Nome della skilladd-tavily-tool
Stelle
30.9K
Fork
12.8K
File inclusi
3
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 3

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da nanocoai su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Add Tavily Tool in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/nanocoai/nanoclaw/tree/main/.claude/skills/add-tavily-tool
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nanocoai/nanoclaw.git /tmp/nanoclaw
mkdir -p .claude/skills
cp -r /tmp/nanoclaw/.claude/skills/add-tavily-tool .claude/skills/add-tavily-tool
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Add Tavily Tool in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Add Tavily Tool non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Add Tavily Tool non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Add Tavily Tool

Install the pinned mcp-remote bridge in the agent image and register Tavily's remote MCP server for each selected agent group. The MCP server supplies its tool descriptions and input schemas at runtime.

The registered server exposes:

  • mcp__tavily__tavily_search
  • mcp__tavily__tavily_extract

The registration is provider-agnostic: any provider with MCP support picks it up (Claude, OpenCode, and Codex all do). Groups on the Claude provider already have the built-in WebSearch and WebFetch tools (container/agent-runner/src/providers/claude.ts), so the skill adds the most for groups on other providers, and for Tavily's structured extraction anywhere.

Phase 1: Pre-flight

Check whether the bridge is already in the image manifest, then list the groups:

bash
grep -n '"mcp-remote"' container/cli-tools.json || true
ncl groups list

Ask which agent groups should receive Tavily. If mcp-remote is already present at a pinned version, reuse the existing entry instead of adding a second one.

Phase 2: Install the MCP bridge

Add this object to the top-level array in container/cli-tools.json when an entry named mcp-remote is not already present:

json
{
  "name": "mcp-remote",
  "version": "0.1.38"
}

Keep the JSON valid and limit the entry to the two fields shown; this package does not require a native build-script opt-in.

Copy the dependency guard into the host test tree:

bash
cp .claude/skills/add-tavily-tool/tavily-manifest.test.ts src/tavily-manifest.test.ts

Build the image and run the guard:

bash
./container/build.sh
pnpm exec vitest run src/tavily-manifest.test.ts

The manifest is the only source-backed integration point. Per-group MCP registration is runtime state stored through ncl, so it has no in-tree line for a registration test to guard.

Phase 3: Register Tavily

config add-mcp-server and groups restart are approval-gated. Run from inside a container they return approval-pending immediately; that is not an error. Wait for the admin's approval and the follow-up system message before moving on to Phase 4.

For each selected <group-id>, register one server named tavily:

bash
ncl groups config add-mcp-server \
  --id <group-id> \
  --name tavily \
  --command mcp-remote \
  --args '["https://mcp.tavily.com/mcp/","--transport","http-only","--enable-proxy","--header","X-Tavily-Access-Mode:keyless","--header","X-Client-Name:nanoclaw","--ignore-tool","tavily_crawl","--ignore-tool","tavily_map","--ignore-tool","tavily_research"]' \
  --env '{}'

The keyless header enables Tavily's IP-based allowance. The client-name header attributes calls to NanoClaw. The tool filters leave only Search and Extract available.

Restart each selected group:

bash
ncl groups restart \
  --id <group-id> \
  --message "Tavily Search and Extract are installed. Run one Tavily search with max_results 1 and report whether it succeeds."

Phase 4: Verify

Confirm the stored configuration contains one tavily server with both headers:

bash
ncl groups config get --id <group-id>

Then check the selected agent's test response. The call must use mcp__tavily__tavily_search. Tavily Crawl, Map, and Research must not appear in the Tavily namespace.

Phase 5: Install the upgrade path

The keyless allowance is shared by every group on the host, so it can run out. Install standing instructions so the agent offers the paid-key upgrade at that moment instead of dead-ending. For each selected group:

  1. Resolve the OneCLI dashboard URL the user's browser can reach:

    bash
    docker inspect onecli --format '{{range .Config.Env}}{{println .}}{{end}}' | grep '^APP_URL='

    If the value is a loopback or container-bridge address (127.0.0.1, 172.17.0.1, host.docker.internal), ask the operator which URL they open the OneCLI dashboard at, suggesting http://127.0.0.1:10254 as the default. A public or tailnet APP_URL needs no question.

  2. Gate the deeplink: curl -fs <dashboard-url>/connections/custom must return HTTP 200. If it does not (older OneCLI without the prefill route), replace step 2 of the template with: "Ask an operator to run, on the host: onecli secrets create --name tavily --type generic --host-pattern mcp.tavily.com --header-name Authorization --value-format 'Bearer {value}' --file <key-file>".

  3. Substitute {{ONECLI_DASHBOARD_URL}} in upgrade-instructions.md with the resolved URL and write the block into groups/<group-folder>/instructions.prepend.md: replace an existing <!-- tavily-upgrade:start --> to <!-- tavily-upgrade:end --> block in place, append otherwise. Do not write into groups/<group-folder>/CLAUDE.md; it is regenerated at spawn and appended blocks are lost.

  4. Have the operator open the composed deeplink once and confirm the create dialog loads with host mcp.tavily.com prefilled. If they supplied a public URL while APP_URL was a loopback address, suggest setting the public URL in the OneCLI dashboard (Settings, Instance) so future links stay stable.

  5. Restart each selected group: ncl groups restart --id <group-id>.

Keyless limit

If Tavily returns HTTP 429 or monthly_cap_reached_bonus_eligible, the keyless allowance is exhausted. With Phase 5 installed the agent offers the upgrade on its own: the user creates a free API key and stores it through the prefilled dashboard link; the key lands in the OneCLI vault and the gateway injects it into the bridge's requests. The agent then re-registers the server without the X-Tavily-Access-Mode:keyless header and restarts the group. The agent never sees the key.

Troubleshooting

  • command not found: mcp-remote: rebuild the image, then restart the group.
  • Tavily tools are absent: verify the group has a tavily MCP entry, then restart it.
  • Crawl, Map, or Research appears: restore all three --ignore-tool pairs.
  • 429 or monthly_cap_reached_bonus_eligible: the keyless allowance is exhausted; see Keyless limit for the OneCLI upgrade path.
  • The agent reports exhaustion but never offers the upgrade: check that groups/<group-folder>/instructions.prepend.md contains the tavily-upgrade block (Phase 5) and restart the group. A session that already discussed the limit keeps reasoning from that history; /clear starts a clean one.

Removal

See REMOVE.md for the idempotent removal procedure.

References

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Add Tavily Tool?

Aggiungi Tavily Search e Extract come strumenti MCP remoti senza chiave per i gruppi di agenti NanoClaw selezionati. Usalo per installare la ricerca web o l'estrazione di URL di Tavily senza una chiave API.

Perché usare Add Tavily Tool su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Add Tavily Tool è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Add Tavily Tool in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/nanocoai/nanoclaw/tree/main/.claude/skills/add-tavily-tool. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Add Tavily Tool?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Add Tavily Tool?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Add Tavily Tool: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Add Tavily Tool è gratuita?

Sì. È pubblicata su GitHub da nanocoai con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇