name: byted-infoquest-search description: AI-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: {"clawdbot":{"emoji":"🔍","requires":{"bins":["node"],"env":["INFOQUEST_API_KEY"]},"primaryEnv":"INFOQUEST_API_KEY"}}
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.
node {baseDir}/search.mjs "query"
node {baseDir}/search.mjs "query" -d 7
node {baseDir}/search.mjs "query" -s github.com
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
-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)node {baseDir}/extract.mjs "https://example.com/article"
# Search for AI news from last 3 days
node search.mjs "artificial intelligence news" -d 3
# Search for Python projects on GitHub
node search.mjs "Python machine learning" -s github.com
# 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
# Extract content from a single article
node extract.mjs "https://example.com/article"
小葱技能站7w4.net每天更新,海量AI技能等你发现。
-d for searches within last N days (e.g., -d 7)-s for site-specific searches (e.g., -s github.com)-i for image search instead of web search-z with l (large), m (medium), or i (icon) for image size filteringSet API key:
bash
export INFOQUEST_API_KEY="your-api-key-here"
For Node.js < 18, install fetch support:
bash
# Node.js 18+ includes fetch natively
# For older versions, install node-fetch
npm install node-fetch
Test the setup:
bash
node search.mjs "test search"
The API returns error messages starting with "Error:" for:
- Authentication failures
- Network timeouts
- Empty responses
- Invalid response formats
这是一个质量不错的搜索工具,提供网页搜索、图片搜索和内容提取功能。文档清晰易读,上手快,运行稳定可靠。搜索功能支持按时间和网站筛选,使用灵活。稍有不足的是需要配置 API key,对新手有一定门槛;没有图形界面,只能通过命令行使用。总体推荐,适合有技术基础的用户日常使用。