skills$openclaw/kagi-search
silversteez1.4k

by silversteez

kagi-search – OpenClaw Skill

kagi-search is an OpenClaw Skills integration for coding workflows. 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.

1.4k stars827 forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namekagi-search
descriptionWeb 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. OpenClaw Skills integration.
ownersilversteez
repositorysilversteez/kagi-search
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @silversteez/kagi-search
last updatedFeb 7, 2026

Maintainer

silversteez

silversteez

Maintains kagi-search in the OpenClaw Skills directory.

View GitHub profile
File Explorer
4 files
.
scripts
kagi-search.py
6.0 KB
_meta.json
809 B
SKILL.md
2.2 KB
SKILL.md

name: kagi-search description: 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.

Note: The Kagi Search API is currently in beta. To request API access, email support@kagi.com. 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

FlagDescription
querySearch terms (required)
-n, --limitNumber of results (default: 10)
-s, --offsetOffset for pagination (default: 0)
--jsonOutput raw JSON
--no-relatedHide related searches
-h, --helpShow 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_KEY environment 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
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

- Python 3.7+ - `KAGI_API_KEY` environment variable - Internet connection

FAQ

How do I install kagi-search?

Run openclaw add @silversteez/kagi-search in your terminal. This installs kagi-search into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/silversteez/kagi-search. Review commits and README documentation before installing.