Loading...
Loading...
Felo AI real-time web search for questions requiring current/live information. Triggers on current events, news, trends, real-time data, information queries, location queries, how-to guides, shopping, or when Claude's knowledge may be outdated.
npx skill4agent add felo-inc/felo-skills felo-search/felo-searchFELO_API_KEYexport FELO_API_KEY="your-api-key-here"$env:FELO_API_KEY="your-api-key-here"set FELO_API_KEY=your-api-key-hereif [ -z "$FELO_API_KEY" ]; then
echo "ERROR: FELO_API_KEY not set"
exit 1
fi
echo "API key configured"# Create query JSON (replace USER_QUERY with actual query)
cat > /tmp/felo_query.json << 'EOF'
{"query": "USER_QUERY_HERE"}
EOF
# Call Felo API
curl -s -X POST https://openapi.felo.ai/v2/chat \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d @/tmp/felo_query.json
# Clean up
rm -f /tmp/felo_query.jsonUSER_QUERY_HEREcat > file << 'EOF'-s{
"answer": "AI-generated answer text",
"query_analysis": ["optimized query 1", "optimized query 2"]
}## Answer
[Display the answer field]
## Query Analysis
Optimized search terms: [list query_analysis items]## Answer
Tokyo weather today: Sunny, 22°C (72°F). High of 25°C, low of 18°C.
Light winds from the east at 10 km/h. UV index: 6 (high).
Good day for outdoor activities!
## Query Analysis
Optimized search terms: Tokyo weather today, 東京 天気 今日cat > /tmp/felo_query.json << 'EOF'
{"query": "What's the weather in Tokyo today?"}
EOF
curl -s -X POST https://openapi.felo.ai/v2/chat \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d @/tmp/felo_query.json
rm -f /tmp/felo_query.json## Answer
Recent news in Hangzhou: Asian Games venue upgrades completed, West Lake night tours launched, new metro lines opened. Details...
## Query Analysis
Optimized search terms: Hangzhou recent news, Hangzhou events, 杭州 最近 新闻cat > /tmp/felo_query.json << 'EOF'
{"query": "What's new in Hangzhou recently"}
EOF
curl -s -X POST https://openapi.felo.ai/v2/chat \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d @/tmp/felo_query.json
rm -f /tmp/felo_query.jsoncat > /tmp/felo_query.json << 'EOF'
{"query": "What are the best things to do in Taipei"}
EOF
curl -s -X POST https://openapi.felo.ai/v2/chat \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d @/tmp/felo_query.json
rm -f /tmp/felo_query.jsoncat > /tmp/felo_query.json << 'EOF'
{"query": "Popular restaurants in Tokyo"}
EOF
curl -s -X POST https://openapi.felo.ai/v2/chat \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d @/tmp/felo_query.json
rm -f /tmp/felo_query.jsonINVALID_API_KEYMISSING_PARAMETERINVALID_PARAMETERCHAT_FAILEDFELO_API_KEY❌ Felo API Key not configured
To use this skill, you need to set up your Felo API Key:
1. Get your API key from https://felo.ai (Settings → API Keys)
2. Set the environment variable:
Linux/macOS:
export FELO_API_KEY="your-api-key-here"
Windows (PowerShell):
$env:FELO_API_KEY="your-api-key-here"
3. Restart Claude Code or reload the environmenthttps://openapi.felo.ai/v2/chatFELO_API_KEY{
"query": "user's search query"
}{
"answer": "AI-generated comprehensive answer",
"query_analysis": ["optimized query 1", "optimized query 2"]
}