搜索

PythonReactSEOPDF
GitHub Skill

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.

aos☆ 6 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

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

  1. Run kagi-search --json "query"
  2. Parse JSON response
  3. Check quick_answer first - often has the direct answer with citations
  4. Use results array for detailed sources and additional context

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!