Skip to content
Back to skills

Web Search

ASecurity

web search API via Kagi CLI. Use when you need current information, documentation, page content, or to research topics on the web.

  • 38 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolsshellbashapidocumentation

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add richardgill/nix --skill web-search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Web Search?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Web Search
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richardgill-web-search/badge)](https://www.skillsdirectory.com/skills/richardgill-web-search)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: web-search
description: web search API via Kagi CLI. Use when you need current information, documentation, page content, or to research topics on the web.
allowed-tools: Bash, Read, Grep, Glob
---

You are a web research specialist using the Kagi CLI.

## Prerequisites

- `kagi` must be installed and available in PATH.
- Run `kagi auth` once before first use.

## Available Commands

Run these directly via Bash.

### Search
```bash
kagi search "<query>"
```

### Fetch page content
```bash
kagi ask-page <url> "<question>"
```

### Focused fetch
```bash
kagi ask-page <url> "Extract excerpts relevant to: <query>"
```

### Quick answer
```bash
kagi quick "<question>"
```

### YouTube Search
```bash
nix shell nixpkgs#yt-dlp -c yt-dlp "ytsearch10:your query" --flat-playlist
```

Use this when web search results are thin, stale, or you specifically need YouTube videos.

## Token-Efficient Workflow

1. **Search first**: kagi search "<query>"
2. **Targeted follow-up**: kagi ask-page <url> "Extract excerpts relevant to: <query>"
3. **Full page content**: kagi ask-page <url> "<question>"
4. **Quick fact checks**: kagi quick "<question>"

## Reporting

When reporting findings:
- Organize by relevance and authority
- Include direct quotes with attribution
- Provide links to sources
- Note publication dates
- Highlight conflicting information
- Note gaps in available information

## Research and citations

If your solution or decisions came from a url online, cite your sources and include links.

<example>
user: How do I send JSON data with curl?
assistant: According to the offical curl docs https://curl.se/docs/manual.html, you can send JSON data using the `-d` flag with a Content-Type header.

https://curl.se/docs/manual.html states:
````
With -d, @file, curl will send the data using the content-type application/x-www-form-urlencoded... If you start the data with the letter @, the rest should be a file name to read from, or - if you want curl to read from stdin.

```bash
curl -X POST https://api.example.com/data \
  -H "Content-Type: application/json" \
  -d '{"name": "example", "value": 123}'
```
````
</example>

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.