Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add xg-gh-25/SwarmAI --skill s_tavily-searchgit clone --depth 1 https://github.com/xg-gh-25/SwarmAIWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/xg-gh-25/swarmai/s_tavily-search)<a href="https://agentmods.dev/skills/xg-gh-25/swarmai/s_tavily-search"><img src="https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_tavily-search/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/xg-gh-25/swarmai/s_tavily-search"><img src="https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_tavily-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 15 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 31 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 306 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- medium Data Exfiltration · line 43 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 46 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 94 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 97 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 153 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 199 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 214 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 231 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 255 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 261 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 46 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 97 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
- medium Data Exfiltration · line 153 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00060 | $0.03094 |
| Opus 5.5 | $0.00024 | $0.01238 |
| Sonnet 5.5 | $0.00012 | $0.00619 |
| Haiku 4.5 | $0.00006 | $0.00309 |
Grade B, and why
tavily-search scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
The key lives in `~/.swarm-ai/SwarmWS/.claude/settings.local.json` → `env.TAVILY_API_KEY`. Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s https://api.tavily.com/usage -H "Authorization: Bearer $TAVILY_API_KEY" How it starts
The opening of the file, as written. The whole thing — 355 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tavily Search
Why? WebFetch can only grab a single known URL. Tavily searches the entire web, returns ranked results with relevance scores, and can generate AI-powered answers -- all in one API call. Essential for answering "what's the latest on X?" or powering research workflows.
Quick Start
"Search the web for latest AI agent frameworks"
"What's the latest news about OpenAI?"
"Extract the main content from these 5 URLs"
Setup — resolving the key (robust in ANY session)
The key lives in ~/.swarm-ai/SwarmWS/.claude/settings.local.json → env.TAVILY_API_KEY.
The harness injects it as $TAVILY_API_KEY only on sessions spawned AFTER the key was
saved — an older tab's process env is empty, so echo $TAVILY_API_KEY can be blank even
though the key is configured. Never conclude "key not set" from an empty env var alone.
Always resolve the key env-first, settings-file-fallback — this one line works in every session, old or new. Put it at the top of any Tavily call:
TAVILY_API_KEY="${TAVILY_API_KEY:-$("$SWARM_BACKEND_BIN" py -c "import json,os;print(json.load(open(os.path.expanduser('~/.swarm-ai/SwarmWS/.claude/settings.local.json')))['env']['TAVILY_API_KEY'])" 2>/dev/null)}"
(settings.local.json is gitignored → the key never leaves the machine.)
💰 Free-tier only — do NOT incur paid usage
This account is on the free Researcher plan (1,000 credits/month). Keep it free:
- NEVER upgrade the plan or enable pay-as-you-go (paygo) to work around a credit limit.
- On a
432 Credit limiterror → STOP and tell the user; wait for the monthly reset. Do not auto-fall-back to any paid tier. - Default to
search_depth: "basic"(1 credit) — reserveadvanced(2 credits) for when the user explicitly needs depth. - Check remaining credits any time (read-only, costs nothing):
curl -s https://api.tavily.com/usage -H "Authorization: Bearer $TAVILY_API_KEY"account.plan_usage/plan_limit= free-tier counter;paygo_usagemust stay0.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · -4 lines · -6 tokens per session 26d8ea432b2c
- 1mo ago Changed · +21 lines scan A → B a559d4ea9e34
- 2mo ago First seen · 338 lines · 66 tokens per session scan A e231e833313f
tavily-search is a skill published in the GitHub repository xg-gh-25/SwarmAI (66 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 3,094 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
tavily-search compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tavily-searchxg-gh-25/SwarmAI | Skill | 66 | today | MIT | B | 60 | Claude Code, Codex |
| hindsight-architectvectorize-io/hindsight | Skill | 64k | yesterday | MIT | A | 35 | Claude Code, Codex |
| hindsight-localvectorize-io/hindsight | Skill | 64k | yesterday | MIT | A | 32 | Claude Code, Codex |
| hindsight-coding-agentvectorize-io/hindsight | Skill | 64k | yesterday | MIT | A | 74 | Claude Code, Codex |
| bot-handoffvectorize-io/hindsight | Skill | 64k | yesterday | MIT | A | 57 | Cursor |
| memory-contextvectorize-io/hindsight | Skill | 64k | yesterday | MIT | A | 47 | Cursor |
| routine-memoryvectorize-io/hindsight | Skill | 64k | yesterday | MIT | A | 54 | Cursor |