tavily
Installation
SKILL.md
Tavily
Host skill. Not the skills.sh tvly CLI pack. REST only.
Session agent: tavily (cc tavily). Copy-lead writes under .agents/copy/research/inbox/.
Key, in this order: $TAVILY_API_KEY if it is set (BB sessions get it from the Env Catalog); else the Env Catalog entry TAVILY_API_KEY (env_get); else, only in a terminal session outside BB, the file:
if [ -z "${TAVILY_API_KEY:-}" ] && [ -f ~/secrets/tavily.env ]; then set -a; source ~/secrets/tavily.env; set +a; fi
test -n "${TAVILY_API_KEY:-}" || { echo "MISSING TAVILY_API_KEY (env, Env Catalog or ~/secrets/tavily.env)"; exit 1; }
Inside a BB / Lane Pilot session do not read ~/secrets/tavily.env: the key is already in the session or in the Env Catalog. No key anywhere → stop and report. Do not print the key. Do not npx skills add.
Query = search string, < 400 chars, not an essay. Split fat questions into 2–4 calls.
One note per query. Never append to a single web.md.