kagi-search
Web search via Kagi. Use when specifically asked to search Kagi, or when needing to find current information, documentation, facts, or web content. Returns search results and Quick Answers.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Kagi Search
Search the web using Kagi. Returns search results with titles, URLs, snippets, and optionally a Quick Answer summary with references.
Setup
Requires kagi-search CLI in PATH
Usage
# Human-readable output (colored, hyperlinked)
kagi-search "query"
# JSON output (for programmatic use)
kagi-search --json "query"
# Limit results (default: 10)
kagi-search -n 5 "query"
# Read query from stdin
echo "query" | kagi-search
# Debug mode (logs to stderr)
kagi-search -d "query"
JSON Output Format
{
"results": [
{
"title": "Page Title",
"url": "https://example.com",
"snippet": "Description text..."
}
],
"quick_answer": {
"markdown": "Formatted answer...",
"raw_text": "Plain text answer...",
"references": [
{ "title": "Source", "url": "https://..." }
]
}
}
Workflow
- Run
kagi-search --json "query" - Parse JSON response
- Check
quick_answerfirst - often has the direct answer with citations - Use
resultsarray for detailed sources and additional context
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!