0
Web Search Tavily
Verified@0xjordansg-yolo
npx machina-cli add skill @0xjordansg-yolo/ai-native-websearch-via-tavily-api-returns-concise-relevant-results-for-openclaw --openclawFiles (1)
SKILL.md
1.3 KB
AIsa Tavily Search
AI-optimized web search using Tavily API through AIsa's unified gateway. Designed for AI agents - returns clean, relevant content.
Search
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
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) ornews--days <n>: For news topic, limit to last n days
Extract content from URL
node {baseDir}/scripts/extract.mjs "https://example.com/article"
Notes:
- Needs
AISA_API_KEYfrom https://marketplace.aisa.one - Powered by AIsa's unified API gateway (https://aisa.one)
- Use
--deepfor complex research questions - Use
--topic newsfor current events
Source
git clone https://clawhub.ai/0xjordansg-yolo/ai-native-websearch-via-tavily-api-returns-concise-relevant-results-for-openclawView on GitHub Overview
Web search powered by Tavily API through AIsa's gateway. It returns concise, relevant results tailored for AI agents. Adjustable depth, topic, and result count help you target fast, usable sources.
How This Skill Works
Queries are sent to Tavily API via AIsa's unified gateway, returning concise results for AI agents. The CLI supports -n, --deep, --topic, and --days to shape results; an AISA_API_KEY is required for authentication. Outputs are designed to be clean and ready for downstream processing.
When to Use It
- When you need concise, relevant web results for an AI agent's task
- When researching current events with the topic set to news
- When you want deeper, more thorough results using --deep
- When you want a specific number of results using -n
- When building automation that requires results via AIsa's gateway with an API key
Quick Start
- Step 1: Ensure AISA_API_KEY is set in your environment
- Step 2: Run a basic search: node {baseDir}/scripts/search.mjs "query"
- Step 3: Customize with -n, --deep, --topic, or --days as needed
Best Practices
- Set and secure your AISA_API_KEY in the environment before running searches
- Use --topic news with --days to focus on recent events
- Use --deep for complex research questions, but be aware it may be slower
- Limit results with -n to keep responses lightweight and fast
- Cross-check critical sources by visiting URLs or corroborating with multiple results
Example Use Cases
- node {baseDir}/scripts/search.mjs "quantum computing" -n 5
- node {baseDir}/scripts/search.mjs "AI safety" --topic news --days 7
- node {baseDir}/scripts/search.mjs "blockchain scalability" --deep -n 10
- node {baseDir}/scripts/search.mjs "climate change mitigation" -n 8 --topic general
- node {baseDir}/scripts/search.mjs "neural networks" --deep --topic news --days 1
Frequently Asked Questions
Add this skill to your agents