terraphim/terraphim-ai/quickwit-search
Claude Code and agent skill by terraphim/terraphim-ai
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install terraphim/terraphim-ai/quickwit-searchSKILL.md
Quickwit Search Skill
Search log and observability data using Quickwit search engine integration for Terraphim AI.
When to Use
- Searching application logs for errors, warnings, or specific patterns
- Investigating production incidents and debugging issues
- Analyzing observability data across multiple indexes
- Correlating log entries with code changes or deployments
- Exploring log data without knowing exact index names
Features
- Hybrid Index Discovery - Explicit configuration or auto-discovery
- Dual Authentication - Bearer token and Basic Auth support
- Pattern Filtering - Glob patterns like
logs-*,*-workers - Multi-Index Search - Search across multiple log indexes simultaneously
- Time-Sorted Results - Most recent logs first by default
Quick Start
Basic Search (Explicit Index)
Auto-Discovery Mode
Filtered Discovery
Configuration Modes
Mode 1: Explicit Index (Fast - Recommended for Production)
Use When:
- You know the exact index name
- Performance is critical
- Production monitoring
Configuration:
Performance: ~100-200ms per search (1 API call)
Mode 2: Auto-Discovery (Convenient - Recommended for Exploration)
Use When:
- Exploring unfamiliar Quickwit instance
- Don't know available index names
- Want comprehensive search across all logs
Configuration:
Performance: ~300-500ms per search (N+1 API calls for N indexes)
Mode 3: Filtered Discovery (Balanced)
Use When:
- Want convenience of auto-discovery
- Need to limit scope to specific indexes
- Multi-tenant or multi-service environments
Configuration:
Glob Patterns:
workers-*- Matches: workers-logs, workers-metrics*-logs- Matches: api-logs, service-logs, workers-logs*logs*- Matches any index containing "logs"*- Matches all indexes (same as auto-discovery)
Performance: ~200-400ms per search (depends on matching indexes)
Authentication
Bearer Token
For API token-based authentication:
Security: Store token in environment variable:
Basic Authentication
<!-- For username/password authentication, set auth_username and auth_password in extra_parameters -->
Secure Password Management:
Query Syntax
Quickwit supports powerful query syntax:
Simple Text Search
Field-Specific Search
Boolean Operators
Range Queries
Complex Queries
Configuration Parameters
| Parameter | Required | Default | Description | |
|---|---|---|---|---|
location | Yes | - | Quickwit server URL (http://localhost:7280) | |
service | Yes | - | Must be "Quickwit" | |
default_index | No | Auto-discover | Specific index to search | |
index_filter | No | All | Glob pattern for filtering | |
auth_token | No | None | Bearer token (include "Bearer " prefix) | |
auth_username | No | None | Basic auth username | |
auth_password | No | None | Basic auth password | |
max_hits | No | 100 | Maximum results per index | |
timeout_seconds | No | 10 | HTTP request timeout | |
sort_by | No | -timestamp | Sort order (- for descending) |
Usage Examples
Example 1: Debug Production Error
Example 2: Incident Investigation
Example 3: Performance Analysis
Example 4: Multi-Service Correlation
Configure multiple Quickwit haystacks for different services:
Then search returns results from both indexes unified.
Troubleshooting
Connection Issues
Problem: "Failed to connect to Quickwit"
Solutions:
- Verify Quickwit is running:
``bash curl http://localhost:7280/health ``
- Check firewall/network connectivity
- Verify URL in configuration
Authentication Failures
Problem: Status 401 or 403
Solutions:
- Verify credentials are correct
- Check Bearer token includes "Bearer " prefix
- Test auth with curl:
``bash curl -H "Authorization: Bearer token" http://localhost:7280/api/v1/indexes ``
No Results
Problem: Search returns empty
Possible Causes:
- Index is empty - verify:
``bash curl "http://localhost:7280/api/v1/workers-logs/search?query=*&max_hits=10" ``
- Query doesn't match any logs - try broader query
- Auto-discovery found no indexes - check logs for warnings
Auto-Discovery Not Working
Problem: "No indexes discovered"
Solutions:
- Test endpoint directly:
``bash curl http://localhost:7280/api/v1/indexes ``
- Check authentication if required
- Use explicit
default_indexas workaround
Performance Tips
For Fast Searches
- Use explicit
default_index(avoids discovery overhead) - Reduce
max_hitsto minimum needed - Use specific field queries:
level:ERRORfaster than text search
For Comprehensive Searches
- Use auto-discovery or
index_filter: "*" - Increase
max_hitsif needed - Combine with time ranges to limit scope
Integration with Other Haystacks
Quickwit works alongside other Terraphim haystacks:
Search query returns unified results from both code/docs and logs.
Docker Setup for Testing
Start Quickwit:
Best Practices
- Production: Use explicit index configuration for predictable performance
- Development: Use auto-discovery for exploration and debugging
- Security: Store credentials in environment variables or 1Password
- Performance: Limit max_hits and use specific queries
- Monitoring: Watch terraphim-agent logs for Quickwit connectivity warnings
Related Documentation
- User Guide:
docs/quickwit-integration.md- Complete integration guide - Design Docs:
.docs/design-quickwit-haystack-integration.md- Technical specification - Examples:
terraphim_server/default/quickwit_*.json- Configuration templates
Supported Quickwit Versions
- Quickwit 0.7+
- REST API v1
- Compatible with both open-source and cloud deployments
Skill Metadata
Skill Type: Data Integration Complexity: Medium Dependencies: Running Quickwit instance Performance: 100-500ms per search (depending on mode) Status: Production Ready ✅
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/quickwit-search/skill.md
Popularity
- Repository stars
- 54
- Repository forks
- 4
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/terraphim/terraphim-ai/quickwit-search)