kagi-search
БесплатноЗапускает вложенные скриптыНе проверенWeb search using Kagi Search API. Use when you need to search the web for current information, facts, or references. Requires KAGI_API_KEY in the environment.
от sundial-org★ 676 звёзд на GitHubОб этом скилле
Note: The Kagi Search API is currently in beta. To request API access, email [email protected]. You must be a Kagi subscriber to use the API.
Kagi Search CLI
Web search using the Kagi Search API with a clean, readable output format.
Quick Start
export KAGI_API_KEY="your_api_key"
kagi-search "your search query"
# or run directly:
python3 scripts/kagi-search.py "your search query"
Features
- Clean output - Title, URL, snippet, and metadata for each result
- Pagination support - Control result count and offset
- JSON mode - Raw JSON output for scripting
- Related searches - Shows related queries (can be hidden)
- API balance - Displays remaining API quota
- Fast & lightweight - Pure Python, no dependencies
Options
| Flag | Description |
|---|---|
query |
Search terms (required) |
-n, --limit |
Number of results (default: 10) |
-s, --offset |
Offset for pagination (default: 0) |
--json |
Output raw JSON |
--no-related |
Hide related searches |
-h, --help |
Show help |
Examples
# Basic search
kagi-search "python async await tutorial"
# Limit results
kagi-search "AI news" --limit 5
# Pagination
kagi-search "recipes" --offset 10 --limit 5
# JSON for scripting
kagi-search "github stars" --json | jq '.data[].url'
# Hide related searches
kagi-search "rust programming" --no-related
Setup
Environment:
export KAGI_API_KEY="your_api_key"
# Add to ~/.bashrc or ~/.zshrc for persistence
PATH access:
# Make executable and add to PATH
chmod +x scripts/kagi-search.py
cp scripts/kagi-search.py ~/.local/bin/kagi-search
Requirements
- Python 3.7+
KAGI_API_KEYenvironment variable- Internet connection
Output Format
[Query: search terms]
[Results: 5]
[API Balance: $0.123]
[Time: 45ms]
----------------------------------------
=== Result Title ===
https://example.com
Snippet text here...
[2024-01-15]
---
Related: related query 1, related query 2
Установить kagi-search в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл kagi-search?
Web search using Kagi Search API. Use when you need to search the web for current information, facts, or references. Requires KAGI_API_KEY in the environment.
Как установить скилл kagi-search?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл kagi-search запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic