kagi-search

Search Kagi from the CLI with JSON output and Quick Answers.

2|1|Updated Oct 21, 2025
One-click install
npx skills add https://github.com/aldoborrero/agent-kit --skill kagi-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kagi-search
Source: https://github.com/aldoborrero/agent-kit/tree/main/skills/kagi-search
Command: npx skills add https://github.com/aldoborrero/agent-kit --skill kagi-search

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Privacy-conscious researchers need a privacy-respecting way to perform web searches from a command line without exposing queries to advertisers. The kagi-search tool provides access to Kagi's search engine via the CLI, returning both traditional results and Quick Answer responses for fast factual queries.

Core Features & Use Cases

  • Privacy-focused CLI web search with ad-free results
  • Quick Answer support for immediate factual responses
  • JSON output mode for programmatic processing and integration with other tools

Quick Start

Run kagi-search with your query to retrieve privacy-focused results quickly and without tracking.

Frequently Asked Questions about kagi-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform a private web search from the command line?

To perform a private web search from the command line, you can use a CLI tool that queries the Kagi search engine, returning ad-free results without tracking. It operates directly in your terminal.

Can I get JSON output from a CLI search for programmatic processing?

Yes, you can get JSON output from a CLI search to enable programmatic processing and integration with other tools. This mode formats search results for automated workflows.

How do I retrieve quick factual answers without loading a full search results page?

You can retrieve quick factual answers by using the Quick Answer feature, which provides immediate responses for fast factual queries directly in your terminal output.

Do I need a configuration file to use a privacy-focused CLI search tool?

You need a configuration file stored at ~/.config/kagi/config.json to set up the privacy-focused CLI search tool. This file manages your configurable setup for accessing Kagi's engine.

What is the best way to combine ad-free search results with general web search coverage?

The best way to combine ad-free search with general coverage is pairing Kagi results with general web_search for comprehensive output. This satisfies privacy-conscious research while ensuring broad data retrieval.