byted-infoquest-search
// AI-optimized web search and content extraction via BytePlus InfoQuest API. Returns concise, relevant results for AI agents with time filtering and site-specific search. Get API key from https://console.byteplus.com/infoquest/infoquests
$ git log --oneline --stat
stars:1,933
forks:367
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
namebyted-infoquest-search
descriptionAI-optimized web search, image search and content extraction via BytePlus InfoQuest API. Use this skill when you need to gather concise and up-to-date information from the web, find images, or extract clean content from specific URLs.
metadata[object Object]
Byted InfoQuest Search
AI-optimized web search, image search and content extraction using BytePlus InfoQuest API. Returns concise, relevant results with time filtering and site-specific search and image search capabilities.
Search
Web Search
node {baseDir}/search.mjs "query"
node {baseDir}/search.mjs "query" -d 7
node {baseDir}/search.mjs "query" -s github.com
Image Search
node {baseDir}/search.mjs "query" -i
node {baseDir}/search.mjs "query" -i -z l
node {baseDir}/search.mjs "query" -i -z i -s github.com
Options
-d, --days <number>: Search within last N days (default: all time)-s, --site <domain>: Search within specific site (e.g.,github.com)-i, --image: Perform image search instead of web search-z, --image-size <size>: Image size filter:l(large),m(medium),i(icon)
Extract content from URL
node {baseDir}/extract.mjs "https://example.com/article"
Examples
Recent News Search
# Search for AI news from last 3 days
node search.mjs "artificial intelligence news" -d 3
Site-Specific Research
# Search for Python projects on GitHub
node search.mjs "Python machine learning" -s github.com
Image Search
# Search for cat images
node search.mjs "cat" -i
# Search for large landscape images
node search.mjs "landscape" -i -z l
# Search for icons on GitHub
node search.mjs "logo" -i -z i -s github.com
Content Extraction
# Extract content from a single article
node extract.mjs "https://example.com/article"
Notes
API Access
- API Key: Get from https://console.byteplus.com/infoquest/infoquests
- Documentation: https://docs.byteplus.com/en/docs/InfoQuest/What_is_Info_Quest
- About: InfoQuest is AI-optimized intelligent search and crawling toolset independently developed by BytePlus
Search Features
- Time Filtering: Use
-dfor searches within last N days (e.g.,-d 7) - Site Filtering: Use
-sfor site-specific searches (e.g.,-s github.com) - Image Search: Use
-ifor image search instead of web search - Image Size Filter: Use
-zwithl(large),m(medium), ori(icon) for image size filtering
Quick Setup
-
Set API key:
export INFOQUEST_API_KEY="your-api-key-here" -
For Node.js < 18, install fetch support:
# Node.js 18+ includes fetch natively # For older versions, install node-fetch npm install node-fetch -
Test the setup:
node search.mjs "test search"
Error Handling
The API returns error messages starting with "Error:" for:
- Authentication failures
- Network timeouts
- Empty responses
- Invalid response formats