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"
更多技能請訪問小蔥技能站7w4.net。
# 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"
-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,對新手有一定門檻;沒有圖形介面,只能通過命令列使用。總體推薦,適合有技術基礎的使用者日常使用。