Agent skill

Kagi AI

by Microck in Microck/kagi-cli

Use Kagi's paid AI allowance for reasoning, coding, research, file analysis, structured generation, or model comparison.

MITAuto-check passed

Install Kagi AI

skills CLI
$ npx skills add Microck/kagi-cli --skill kagi-ai -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Microck/kagi-cli kagi-ai --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Microck/kagi-cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/kagi-ai .claude/skills/kagi-ai && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
kagi-ai
GitHub stars
178
Token cost
~1k tokens
SKILL.md length
454 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Use Kagi's paid AI allowance for reasoning, coding, research, file analysis, structured generation, or model comparison.

  • Works in 6 steps: Use subscriber Summarizer or Translate… → Use the account default or a lower-cost… → Disable web access for closed-context… → …
  • A task should spend Assistant value instead of only searching the web
  • SKILL.md covers Choose the lane, Start with live account state, Use Assistant deliberately and Analyze files, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Kagi AI is an agent skill from Microck/kagi-cli. Use Kagi's paid AI allowance for reasoning, coding, research, file analysis, structured generation, or model comparison. Use when a task should spend Assistant value instead of only searching the web or transforming one known page.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: terminal CLI for Kagi that gives you command-line access to search, lenses, assistant, summarization, feeds, and paid API commands. The licence is MIT.

When your agent uses it

  • A task should spend Assistant value instead of only searching the web
  • Transforming one known page

Example prompts

  • “/kagi-ai”

Requirements

  • Pre-approved tools (allowed-tools): Bash(kagi:*), Skill(kagi:*)

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Use subscriber Summarizer or Translate for direct transformations when the
  2. Use the account default or a lower-cost model for simple work.
  3. Disable web access for closed-context work.
  4. Keep prompts specific and attach only relevant files.
  5. Start a new thread for an unrelated task.
  6. Reserve Research assistants and premium models for work that needs their

What it can do on your machine

Read from SKILL.md and the folder at commit 99ce2be. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(kagi:*)
    • Skill(kagi:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Kagi AI loads about 1k tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 454 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Microck/kagi-cli at commit 99ce2be, republished under its MIT licence (© Microck). 454 words, ~1,044 tokens.

Download SKILL.mdSave it as .claude/skills/kagi-ai/SKILL.md (or your agent's skills folder).
name
kagi-ai
description
Use Kagi's paid AI allowance for reasoning, coding, research, file analysis, structured generation, or model comparison. Use when a task should spend Assistant value instead of only searching the web or transforming one known page.
allowed-tools
Bash(kagi:*), Skill(kagi:*)

Kagi AI

Spend the Assistant allowance on reasoning and synthesis. When the active plan includes unlimited Summarizer or Translate usage, use those tools for direct transformations and reserve the allowance for harder work.

Choose the lane

NeedLane
Find or verify sourcesLoad kagi-usage and search
Summarize one URL or textkagi summarize --subscriber
Translate supplied textkagi translate
Get a fast cited answerkagi quick
Reason, code, synthesize, or analyze fileskagi assistant
Run multi-step research or tool useAn account-visible Research assistant
Manage threads or custom assistantsLoad kagi-assistant

The Assistant allowance is separate from API credit. A plan's monthly value sets its token allowance across Assistant models. Premium models, web access, large files, and long thread histories consume more of that allowance.

Start with live account state

bash
kagi auth status
kagi assistant models
kagi assistant custom list

Use only model slugs and assistant names returned by the account. When the model catalog is empty, use the account default instead of guessing a slug. Kagi Quick and Kagi Research are usable through --assistant only when they appear in the assistant listing.

Use Assistant deliberately

Use a closed model call for reasoning that needs no current information:

bash
kagi assistant \
  "find the weakest assumption in this design and propose a simpler one" \
  --no-web-access \
  --format markdown

Enable web access when the answer needs current sources:

bash
kagi assistant \
  "compare these database options for this workload and cite current limits" \
  --web-access \
  --format markdown

Choose a live model explicitly only when its cost, speed, or capability matters:

bash
kagi assistant \
  "review this migration plan for data-loss risks" \
  --model MODEL_SLUG \
  --no-web-access \
  --format markdown

For a model comparison, send the same bounded prompt to each model in a fresh thread. Compare correctness, latency, and usefulness, not prose style alone.

Analyze files

Attach only the files needed for the answer. Assistant accepts documents, spreadsheets, images, and audio; one upload can be at most 30 MB.

bash
kagi assistant \
  --attach ./report.pdf \
  "extract the decision, evidence, risks, and unresolved questions" \
  --no-web-access \
  --format markdown

Uploaded content remains in the thread context. Start a new thread when the next task should not inherit it.

Show full SKILL.md (175 more words)Show less

Require structured output

Use a built-in contract for reusable decisions, plans, and checklists:

bash
kagi assistant \
  "decide whether this service is ready to launch" \
  --contract decision \
  --format json

Use --contract-file PATH when the consumer needs a different small JSON shape. Contract mode validates the response and makes one repair attempt.

Budget discipline

  1. Use subscriber Summarizer or Translate for direct transformations when the active plan includes them.
  2. Use the account default or a lower-cost model for simple work.
  3. Disable web access for closed-context work.
  4. Keep prompts specific and attach only relevant files.
  5. Start a new thread for an unrelated task.
  6. Reserve Research assistants and premium models for work that needs their extra tools or reasoning depth.

Completion criteria

AI work is complete when:

  • the selected lane matches the task;
  • every explicit model or assistant came from live account discovery;
  • web access and attachments are limited to what the answer needs;
  • structured output passes its contract when a machine will consume it;
  • the response answers the task instead of spending allowance on avoidable transformations; and
  • you changed or deleted account state only when the user asked.

© Microck, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/kagi-ai of Microck/kagi-cli.

Open the folder on GitHubat commit 99ce2be

Compare with similar skills

Kagi AI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Kagi AI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kagi AI this skillMicrock/kagi-cli178—~1kAutomated safety check: PassMIT
Deepseek Reasonruvnet/ruflo74k—~626Automated safety check: NotesMIT
Aria Allowed Attrthedaviddias/Front-End-Checklist74k—~450Automated safety check: PassMIT
Paid Adsnowork-studio/notfair-plugin3.9k—~247Automated safety check: PassMIT
Ejentum Reasoning Harnesssickn33/agentic-awesome-skills47k1 repos~1.9kAutomated safety check: PassMIT
Paid Creative AItech-leads-club/agent-skills7k—~6.4kAutomated safety check: PassCustom licence

Similar skills

  • Deepseek Reason

    ruvnet/ruflo

    Reasoning-mode completion against DeepSeek's deepseek-reasoner model (R1) via /v1/chat/completions.

    74k GitHub stars~626 tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • Aria Allowed Attr

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Use only allowed ARIA attributes for each role.

    74k GitHub stars~450 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Paid Ads

    nowork-studio/notfair-plugin

    Coordinate safe, evidence-based paid-media work across Google Ads, Meta Ads, X Ads, LinkedIn Ads, Reddit Ads, TikTok Ads, Amazon, and ChatGPT Ads.

    3.9k GitHub stars~247 tokensUpdated 7 days ago
    Marketing & SEOAuto-check passed
  • Ejentum Reasoning Harness

    sickn33/agentic-awesome-skills

    MCP server exposing four cognitive harness modes (reasoning, code, anti-deception, memory).

    47k GitHub starsUsed in 1 repo~1.9k tokens
    DevelopmentAuto-check passed
  • Paid Creative AI

    tech-leads-club/agent-skills

    When the user wants to create AI-generated ad creative, test performance creative, manage creative fatigue, or optimize paid media with AI tools.

    7k GitHub stars~6.4k tokensUpdated 18 days ago
    Marketing & SEOAuto-check passed
  • Nowait Reasoning Optimizer

    davila7/claude-code-templates

    Implements the NOWAIT technique for efficient reasoning in R1-style LLMs.

    32k GitHub starsUsed in 3 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed

More from Microck/kagi-cli

  • Kagi Account Config

    Microck/kagi-cli

    Configure Kagi CLI credentials, profiles, lenses, custom bangs, redirects, site preferences, and account-backed assistants.

    178 GitHub stars~695 tokensUpdated 2 days ago
    Auto-check passed
  • Kagi Assistant

    Microck/kagi-cli

    Use Kagi Assistant for conversational answers, thread continuity, attachments, streaming, model selection, or custom assistants.

    178 GitHub stars~655 tokensUpdated 2 days ago
    Auto-check passed
  • Kagi Monitoring

    Microck/kagi-cli

    Automate repeated Kagi queries with batch search, watches, notifications, history, caching, and MCP.

    178 GitHub stars~690 tokensUpdated 2 days ago
    Auto-check passed
  • Kagi Usage

    Microck/kagi-cli

    Search the web, extract or summarize a page, translate it, or check the news with the kagi CLI instead of WebSearch or WebFetch.

    178 GitHub stars~1.9k tokensUpdated 2 days ago
    Auto-check passed

Questions about Kagi AI

What does Kagi AI do?

Use Kagi's paid AI allowance for reasoning, coding, research, file analysis, structured generation, or model comparison. Kagi AI is an agent skill from Microck/kagi-cli. Use Kagi's paid AI allowance for reasoning, coding, research, file analysis, structured generation, or model comparison.

When should I use Kagi AI?

Kagi AI fits situations like: A task should spend Assistant value instead of only searching the web; transforming one known page.

How do I install Kagi AI in Claude Code?

Run `npx skills add Microck/kagi-cli --skill kagi-ai -a claude-code`. Or copy the skill folder (skills/kagi-ai in Microck/kagi-cli) into .claude/skills/kagi-ai in your project. Claude Code loads it when a task matches its description.

How do I install Kagi AI in Codex?

Run `npx skills add Microck/kagi-cli --skill kagi-ai -a codex`. Or copy the skill folder (skills/kagi-ai in Microck/kagi-cli) into .agents/skills/kagi-ai in your project. Codex loads it when a task matches its description.

Can I use Kagi AI in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Microck/kagi-cli --skill kagi-ai -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kagi-ai, .gemini/skills/kagi-ai, .github/skills/kagi-ai and .opencode/skills/kagi-ai in your project.

What does Kagi AI need to run?

SKILL.md names no scripts, command-line tools or credentials: Kagi AI is instructions for the agent only. Its frontmatter pre-approves these tools: Bash(kagi:*), Skill(kagi:*).

Does Kagi AI access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Kagi AI safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Kagi AI use?

Kagi AI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Kagi AI use?

About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Kagi AI?

Skills that share tags, products or a category with Kagi AI: Deepseek Reason (ruvnet/ruflo, 74k stars), Aria Allowed Attr (thedaviddias/Front-End-Checklist, 74k stars), Paid Ads (nowork-studio/notfair-plugin, 3.9k stars) and Ejentum Reasoning Harness (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kagi AI?

Microck (a GitHub user) maintains it in Microck/kagi-cli, which has 178 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 6, 2026.

Source: Microck/kagi-cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.