Nimble Web Search
Real-time web intelligence using Nimble Search API with specialized focus modes and AI-powered result synthesis.
Prerequisites
Nimble API Key Required - Get your key at https://www.nimbleway.com/
Configuration
Set the NIMBLE_API_KEY environment variable using your platform's method:
Claude Code:
CODEBLOCK0
VS Code/GitHub Copilot:
- - Add to
.github/skills/ directory in your repository - Or use GitHub Actions secrets for the copilot environment
Shell/Terminal:
CODEBLOCK1
Any Platform:
The skill checks for the NIMBLE_API_KEY environment variable regardless of how you set it.
API Key Validation
IMPORTANT: Before making any search request, verify the API key is configured:
CODEBLOCK2
Overview
Nimble Search provides real-time web intelligence with 8 specialized focus modes optimized for different types of queries. Get instant access to current web data with AI-powered answer generation, deep content extraction, URL discovery, and smart filtering by domain and date.
IMPORTANT: Always Specify These Parameters
When using this skill, always explicitly set the following parameters in your requests:
- -
deep_search: Default to false for 5-10x faster responses
-
Use false (FAST MODE - 1-3 seconds): For 95% of use cases - URL discovery, research, comparisons, answer generation
-
Use true (DEEP MODE - 5-15 seconds): Only when you specifically need full page content extracted for archiving or detailed analysis
- -
focus: Default to "general" for broad searches
- Change to specific mode (
coding,
news,
academic,
shopping,
social,
geo,
location) for targeted results
- -
max_results: Default to 10 - Balanced speed and coverage
Performance Awareness: By explicitly setting deep_search: false, you're choosing fast mode and should expect results in 1-3 seconds. If you set deep_search: true, expect 5-15 seconds response time.
Quick Start
Use the wrapper script for the simplest experience:
CODEBLOCK3
The script automatically handles authentication, tracking headers, and output formatting.
When to Use Each Mode
Use deep_search: false (FAST MODE - 1-3 seconds) - Default for 95% of cases:
- - ✅ Finding URLs and discovering resources
- ✅ Research and topic exploration
- ✅ Answer generation and summaries
- ✅ Product comparisons
- ✅ News monitoring
- ✅ Any time you DON'T need full article text
Use deep_search: true (DEEP MODE - 5-15 seconds) - Only when specifically needed:
- - 📄 Archiving full article content
- 📄 Extracting complete documentation
- 📄 Building text datasets
- 📄 Processing full page content for analysis
Decision Rule: If you're not sure, use deep_search: false. You can always re-run with true if needed.
Core Capabilities
Focus Modes
Choose the appropriate focus mode based on your query type:
- 1. general - Default mode for broad web searches
- coding - Real-time access to technical documentation, code examples, programming resources
- news - Real-time news articles, current events, breaking stories
- academic - Research papers, scholarly articles, academic resources
- shopping - Real-time product searches, e-commerce results, price comparisons
- social - Real-time social media posts, discussions, trending community content
- geo - Location-based searches, geographic information
- location - Local business searches, place-specific queries
Search Features
LLM Answer Generation
- - Request AI-generated answers synthesized from search results
- Powered by Claude for high-quality summaries
- Include citations to source URLs
- Best for: Research questions, topic overviews, comparative analysis
URL Discovery
- - Extract 1-20 most relevant URLs for a query
- Useful for building reading lists and reference collections
- Returns URLs with titles and descriptions
- Best for: Resource gathering, link building, research preparation
Deep Content Extraction
- - Default (Recommended):
deep_search=false - Fastest response, returns titles, descriptions, and URLs - Optional:
deep_search=true - Slower, extracts full page content - Important: Most use cases work perfectly with
deep_search=false (the default) - Available formats when deepsearch=true: markdown, plaintext, simplified_html
- Only enable deep search for: Detailed content analysis, archiving, or comprehensive text extraction needs
Domain Filtering
- - Include specific domains (e.g., github.com, stackoverflow.com)
- Exclude domains to remove unwanted sources
- Combine multiple domains for focused searches
- Best for: Targeted research, brand monitoring, competitive analysis
Time Filtering
- - Recommended: Use
time_range for real-time recency filtering (hour, day, week, month, year) - Alternative: Use
start_date/end_date for precise date ranges (YYYY-MM-DD) - Note:
time_range and date filters are mutually exclusive - Best for: Real-time news monitoring, recent developments, temporal analysis
Usage Patterns
All examples below use the ./scripts/search.sh wrapper for simplicity. For raw API usage, see the API Integration section.
Basic Search
Quick search in fast mode (ALWAYS specify deep_search explicitly):
CODEBLOCK4
For technical content, specify coding focus (still fast mode):
CODEBLOCK5
Research with AI Summary
Get synthesized insights from multiple sources (fast mode works great with answer generation):
CODEBLOCK6
Domain-Specific Search
Target specific authoritative sources (fast mode):
CODEBLOCK7
Real-Time News Monitoring
Track current events and breaking news as they happen (fast mode):
CODEBLOCK8
Academic Research - Fast Mode (Recommended)
Find and synthesize scholarly content using fast mode:
CODEBLOCK9
When to use deep mode: Only use "deep_search": true if you need full paper content extracted for archiving:
CODEBLOCK10
Note: Deep mode is 5-15x slower. Use only when specifically needed.
Real-Time Shopping Research
Compare products and current prices (fast mode):
CODEBLOCK11
Parallel Search Strategies
When to Use Parallel Searches
Run multiple real-time searches in parallel when:
- - Comparing perspectives: Search the same topic across different focus modes
- Multi-faceted research: Investigate different aspects of a topic simultaneously
- Competitive analysis: Search multiple domains or competitors at once
- Real-time monitoring: Track multiple topics or keywords concurrently
- Cross-validation: Verify information across different source types in real-time
Implementation Methods
Method 1: Background Processes (Recommended)
Run multiple searches concurrently using the wrapper script:
CODEBLOCK12
Method 2: Loop with xargs (Controlled Parallelism)
Process multiple queries with rate limiting:
CODEBLOCK13
Method 3: Focus Mode Comparison
Search the same query across different focus modes:
CODEBLOCK14
Best Practices for Parallel Execution
- 1. Rate Limiting: Limit parallel requests to 3-5 to avoid overwhelming the API
- Use
xargs -P3 to set maximum concurrent requests
- Check your API tier limits before increasing parallelism
- 2. Error Handling: Capture and handle failures gracefully
CODEBLOCK15
- 3. Result Aggregation: Combine results after all searches complete
CODEBLOCK16
- 4. Progress Tracking: Monitor completion status
CODEBLOCK17
Example: Multi-Perspective Research
CODEBLOCK18
Performance Considerations
- - Optimal Parallelism: 3-5 concurrent requests balances speed and API limits
- Memory Usage: Each parallel request consumes memory; monitor for large result sets
- Network Bandwidth: Parallel requests can saturate bandwidth on slow connections
- API Costs: More parallel requests = faster API quota consumption
When NOT to Use Parallel Searches
- - Single, focused query with one clear answer
- Sequential research where each search informs the next
- API quota is limited or expensive
- Results need to be processed before next search
- Simple URL collection that doesn't require multiple perspectives
API Integration
Note: For most use cases, use the ./scripts/search.sh wrapper script shown in Usage Patterns. The raw API examples below are for advanced users who need direct API access or custom integration.
Required Configuration
Before making any API request, always validate the API key is configured:
CODEBLOCK19
The skill requires the NIMBLE_API_KEY environment variable. See Prerequisites for platform-specific setup instructions.
Get your API key at: https://www.nimbleway.com/
API Endpoint
CODEBLOCK20
Request Format
CODEBLOCK21
Key Defaults:
- -
focus: "general" - Change to specific mode for targeted results - INLINECODE38 :
false - Keep false unless you need full page content - INLINECODE40 :
10 - Balanced speed and coverage
Response Format
CODEBLOCK22
Best Practices
Focus Mode Selection
Use coding for:
- - Programming questions
- Technical documentation
- Code examples and tutorials
- API references
- Framework guides
Use news for:
- - Real-time current events
- Breaking stories as they happen
- Recent announcements
- Trending topics
- Time-sensitive information
Use academic for:
- - Research papers
- Scholarly articles
- Scientific studies
- Academic journals
- Citations and references
Use shopping for:
- - Product searches
- Price comparisons
- E-commerce research
- Product reviews
- Buying guides
Use social for:
- - Real-time social media monitoring
- Live community discussions
- Current user-generated content
- Trending hashtags and topics
- Real-time public sentiment
Use geo for:
- - Geographic information
- Regional data
- Maps and locations
- Area-specific queries
Use location for:
- - Local business searches
- Place-specific information
- Nearby services
- Regional recommendations
Result Limits
- - Quick searches: 5-10 results for fast overview
- Comprehensive research: 15-20 results for depth
- Answer generation: 10-15 results for balanced synthesis
- URL collection: 20 results for comprehensive resource list
When to Use LLM Answers
✅ Use LLM answers when:
- - You need a synthesized overview of a topic
- Comparing multiple sources or approaches
- Summarizing recent developments
- Answering specific questions
- Creating research summaries
❌ Skip LLM answers when:
- - You just need a list of URLs
- Building a reference collection
- Speed is critical
- You want to analyze sources manually
- Original source text is needed
Content Extraction
Default (Recommended): deep_search=false
The default setting works for 95% of use cases:
- - ✅ Fastest response times
- ✅ Returns titles, descriptions, URLs
- ✅ Works perfectly with INLINECODE50
- ✅ Sufficient for research, comparisons, and URL discovery
Only use deep_search=true when you specifically need:
- - Full page content extraction
- Archiving complete articles
- Processing full text for analysis
- Building comprehensive datasets
Performance impact:
- -
deep_search=false: ~1-3 seconds - INLINECODE53 : ~5-15 seconds (significantly slower)
Error Handling
Common Issues
Authentication Failed
- - Verify NIMBLEAPIKEY is set correctly
- Check API key is active at nimbleway.com
- Ensure key has search API access
Rate Limiting
- - Reduce max_results
- Add delays between requests
- Check your plan limits
- Consider upgrading API tier
No Results
- - Try different focus mode
- Broaden search query
- Remove domain filters
- Adjust date filters
Timeout Errors
- - Reduce max_results
- Disable deep content extraction
- Simplify query
- Try again after brief delay
Performance Tips
- 1. Use Defaults: Keep
deep_search=false (default) for 5-10x faster responses - Start Simple: Begin with just
{"query": "..."} - defaults work great - Choose Right Focus: Proper focus mode dramatically improves relevance (default: "general")
- Optimize Result Count: Default of 10 results balances speed and coverage
- Domain Filtering: Pre-filter sources for faster, more relevant results
- Avoid Deep Search: Only enable
deep_search=true when you truly need full content - Batch Queries: Group related searches to minimize API calls
- Cache Results: Store results locally when appropriate
Integration Examples
See the examples/ directory for detailed integration patterns:
- -
basic-search.md - Simple search implementation - INLINECODE59 - Multi-step research workflow
- INLINECODE60 - Domain-specific research pattern
See references/ directory for detailed documentation:
- -
focus-modes.md - Complete focus mode guide - INLINECODE63 - Advanced search patterns
- INLINECODE64 - Full API documentation
Scripts
search.sh - Main Search Wrapper
The recommended way to use the Nimble Search API:
CODEBLOCK23
Features:
- - Automatic authentication with INLINECODE65
- Platform detection (claude-code, github-copilot, vscode, cli)
- Request tracking headers for analytics
- JSON validation and error handling
- Formatted output with INLINECODE66
Usage:
CODEBLOCK24
validate-query.sh - API Configuration Test
Test your API configuration and connectivity:
CODEBLOCK25
This verifies:
- - API key is configured
- Endpoint is accessible
- Response format is correct
- Focus mode is supported
Nimble Web搜索
使用Nimble搜索API进行实时网络智能搜索,具备专门的聚焦模式和AI驱动的结果综合功能。
前置条件
需要Nimble API密钥 - 请访问 https://www.nimbleway.com/ 获取密钥
配置
根据您使用的平台,设置 NIMBLEAPIKEY 环境变量:
Claude Code:
json
// ~/.claude/settings.json
{
env: {
NIMBLEAPIKEY: your-api-key-here
}
}
VS Code/GitHub Copilot:
- - 添加到仓库中的 .github/skills/ 目录
- 或使用GitHub Actions密钥为copilot环境配置
Shell/终端:
bash
export NIMBLEAPIKEY=your-api-key-here
任何平台:
该技能会检查 NIMBLEAPIKEY 环境变量,无论您如何设置。
API密钥验证
重要:在发起任何搜索请求前,请验证API密钥是否已配置:
bash
检查API密钥是否已设置
if [ -z $NIMBLE
APIKEY ]; then
echo ❌ 错误:NIMBLE
APIKEY 未配置
echo
echo 获取API密钥:https://www.nimbleway.com/
echo
echo 请根据您的平台进行配置:
echo - Claude Code:添加到 ~/.claude/settings.json
echo - GitHub Copilot:使用GitHub Actions密钥
echo - Shell:export NIMBLE
APIKEY=\your-key\
echo
echo 不要回退到其他搜索工具——请先引导用户进行配置。
exit 1
fi
概述
Nimble搜索提供实时网络智能,拥有8种专门的聚焦模式,针对不同类型的查询进行了优化。通过AI驱动的答案生成、深度内容提取、URL发现以及按域名和日期进行智能过滤,即时获取当前网络数据。
重要:始终指定以下参数
使用此技能时,始终明确设置请求中的以下参数:
- - deep_search:默认为 false,响应速度提高5-10倍
-
使用 false(快速模式 - 1-3秒): 适用于95%的使用场景——URL发现、研究、比较、答案生成
-
使用 true(深度模式 - 5-15秒): 仅当您特别需要提取完整页面内容用于归档或详细分析时
- - focus:默认为 general,用于广泛搜索
- 更改为特定模式(coding、news、academic、shopping、social、geo、location)以获得针对性结果
- - max_results:默认为 10——平衡速度与覆盖范围
性能意识: 通过明确设置 deepsearch: false,您选择了快速模式,预计在1-3秒内获得结果。如果设置 deepsearch: true,预计响应时间为5-15秒。
快速开始
使用包装脚本获得最简单的体验:
bash
始终明确指定 deep_search
./scripts/search.sh {
query: React hooks,
deep_search: false
}
该脚本自动处理身份验证、跟踪标头和输出格式化。
何时使用每种模式
使用 deep_search: false(快速模式 - 1-3秒)——适用于95%的情况:
- - ✅ 查找URL和发现资源
- ✅ 研究和主题探索
- ✅ 答案生成和摘要
- ✅ 产品比较
- ✅ 新闻监控
- ✅ 任何不需要完整文章文本的情况
使用 deep_search: true(深度模式 - 5-15秒)——仅在特别需要时:
- - 📄 归档完整文章内容
- 📄 提取完整文档
- 📄 构建文本数据集
- 📄 处理完整页面内容进行分析
决策规则: 如果不确定,请使用 deep_search: false。如果需要,可以随时使用 true 重新运行。
核心功能
聚焦模式
根据查询类型选择合适的聚焦模式:
- 1. general - 默认模式,用于广泛的网络搜索
- coding - 实时访问技术文档、代码示例、编程资源
- news - 实时新闻文章、当前事件、突发新闻
- academic - 研究论文、学术文章、学术资源
- shopping - 实时产品搜索、电商结果、价格比较
- social - 实时社交媒体帖子、讨论、热门社区内容
- geo - 基于位置的搜索、地理信息
- location - 本地商家搜索、特定地点查询
搜索功能
LLM答案生成
- - 请求从搜索结果中综合生成的AI答案
- 由Claude驱动,提供高质量摘要
- 包含来源URL引用
- 最佳用途:研究问题、主题概述、比较分析
URL发现
- - 提取1-20个与查询最相关的URL
- 有助于构建阅读列表和参考集合
- 返回带有标题和描述的URL
- 最佳用途:资源收集、链接构建、研究准备
深度内容提取
- - 默认(推荐): deepsearch=false - 最快响应,返回标题、描述和URL
- 可选: deepsearch=true - 较慢,提取完整页面内容
- 重要: 大多数使用场景在 deepsearch=false(默认)下完美运行
- 当deepsearch=true时可用的格式:markdown、plaintext、simplifiedhtml
- 仅在以下情况下启用深度搜索:需要详细内容分析、归档或全面的文本提取
域名过滤
- - 包含特定域名(例如:github.com、stackoverflow.com)
- 排除域名以移除不需要的来源
- 组合多个域名进行聚焦搜索
- 最佳用途:针对性研究、品牌监控、竞争分析
时间过滤
- - 推荐: 使用 timerange 进行实时时效性过滤(小时、天、周、月、年)
- 替代方案: 使用 startdate/enddate 进行精确日期范围(YYYY-MM-DD)
- 注意:timerange 和日期过滤器互斥
- 最佳用途:实时新闻监控、最新发展、时间分析
使用模式
以下所有示例均使用 ./scripts/search.sh 包装脚本以简化操作。如需原始API使用,请参阅 API集成 部分。
基本搜索
快速模式下的快速搜索(始终明确指定deep_search):
bash
./scripts/search.sh {
query: React Server Components tutorial,
deep_search: false
}
对于技术内容,指定编码聚焦(仍为快速模式):
bash
./scripts/search.sh {
query: React Server Components tutorial,
focus: coding,
deep_search: false
}
带AI摘要的研究
从多个来源获取综合见解(快速模式与答案生成配合良好):
bash
./scripts/search.sh {
query: impact of AI on software development 2026,
deep_search: false,
include_answer: true
}
特定域名搜索
针对特定权威来源(快速模式):
bash
./scripts/search.sh {
query: async await patterns,
focus: coding,
deep_search: false,
include_domains: [github.com, stackoverflow.com, dev.to],
max_results: 8
}
实时新闻监控
实时跟踪当前事件和突发新闻(快速模式):
bash
./scripts/search.sh {
query: latest developments in quantum computing,
focus: news,
deep_search: false,
time_range: week,
max_results: 15,
include_answer: true
}
学术研究 - 快速模式(推荐)
使用快速模式查找和综合学术内容:
bash
./scripts/search.sh {
query: machine learning interpretability methods,
focus: academic,
deep_search: false,
max_results: 20,
include_answer: true
}
何时使用深度模式: 仅当您需要提取完整论文内容用于归档时,才使用 deep_search: true:
bash
./scripts/search.sh {
query: machine learning interpretability methods,
focus: academic,
deep_search: true,
max_results: 5,
output_format: markdown
}
注意: 深度模式慢5-15倍。仅在特别需要时使用。
实时购物研究
比较产品和当前价格(快速模式):
bash
./scripts/search.sh {
query: best mechanical keyboards for programming,
focus: shopping,
deep_search: false,
max_results: 10,