kagi-fastgpt

kagi-fastgpt is a skill for Claude Code, Codex from joelazar/kagi-skills. It costs 52 tokens per session (1,273 once invoked), scanned A, original, MIT.

A question-answering tool that searches the live web through Kagi's FastGPT service and returns a short answer with cited sources.

In plain words
What is it for?
Use it for current facts, web research, and API questions where references should accompany the answer.
Why use it?
It reduces the work of opening and comparing search results when you need a direct, sourced answer. It requires a Kagi account with API access and an API key.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for current facts, web research, and API questions where references should accompany the answer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joelazar/kagi-skills/kagi-fastgpt
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add joelazar/kagi-skills --skill kagi-fastgpt
Clone the repo
git clone --depth 1 https://github.com/joelazar/kagi-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for kagi-fastgpt

README.md
[![agentmods](https://agentmods.dev/badge/skills/joelazar/kagi-skills/kagi-fastgpt/github.svg)](https://agentmods.dev/skills/joelazar/kagi-skills/kagi-fastgpt)
Your own site
<a href="https://agentmods.dev/skills/joelazar/kagi-skills/kagi-fastgpt"><img src="https://agentmods.dev/badge/skills/joelazar/kagi-skills/kagi-fastgpt/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kagi-fastgpt

Your own site · 80×15
<a href="https://agentmods.dev/skills/joelazar/kagi-skills/kagi-fastgpt"><img src="https://agentmods.dev/badge/skills/joelazar/kagi-skills/kagi-fastgpt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,273 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.01273
Opus 5 $0.00026 $0.00636
Sonnet 5 $0.00010 $0.00255
Haiku 4.5 $0.00005 $0.00127

Measured 12d ago against content hash 75ea74ea34de, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

kagi-fastgpt scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (kagi-fastgpt.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

TAG=$(curl -fsSL "https://api.github.com/repos/joelazar/kagi-skills/releases/latest" | grep '"tag_name"' | cut -d'"' -f4)
kagi-fastgpt/SKILL.md · 129 lines

How it starts

The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Kagi FastGPT

Get AI-generated answers with cited web sources using Kagi's FastGPT API. FastGPT runs a full web search under the hood and synthesizes results into a concise answer — ideal for factual questions, API lookups, and current-events queries.

This skill uses a Go binary for fast startup and no runtime dependencies. The binary can be downloaded pre-built or compiled from source.

Setup

Requires a Kagi account with API access enabled. Uses the same KAGI_API_KEY as the kagi-search skill.

  1. Create an account at https://kagi.com/signup
  2. Navigate to Settings → Advanced → API portal: https://kagi.com/settings/api
  3. Generate an API Token
  4. Add funds at: https://kagi.com/settings/billing_api
  5. Add to your shell profile (~/.profile or ~/.zprofile):
    export KAGI_API_KEY="your-api-key-here"
    
  6. Install the binary — see Installation below

Pricing

1.5¢ per query ($15 USD per 1000 queries). Cached responses are free.

Usage

{baseDir}/kagi-fastgpt.sh "query"                        # Ask a question (default)
{baseDir}/kagi-fastgpt.sh "query" --json                 # JSON output
{baseDir}/kagi-fastgpt.sh "query" --no-refs              # Answer only, no references
{baseDir}/kagi-fastgpt.sh "query" --no-cache             # Bypass response cache
{baseDir}/kagi-fastgpt.sh "query" --show-balance         # Show API balance for this call
{baseDir}/kagi-fastgpt.sh balance                          # Show last cached API balance
{baseDir}/kagi-fastgpt.sh "query" --timeout 60           # Custom timeout (default: 30s)

Options

Flag Description
--json Emit JSON output (see below)
--no-refs Suppress references in text output
--no-cache Bypass cached responses (use for time-sensitive queries)
--show-balance Print API balance to stderr for this call
--timeout <sec> HTTP timeout in seconds (default: 30)

Read the full file on GitHub · 129 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 129 lines · 52 tokens per session scan A 75ea74ea34de

Subscribe to this mod's changes

kagi-fastgpt is a skill published in the GitHub repository joelazar/kagi-skills (18 stars, last pushed 5mo ago), licensed MIT. It adds 52 tokens to every session and 1,273 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

osloer-industries/vakt · 63 tokens

credential-best-practices

Interactive wizard for setting up secure local credential management. Use this skill when the user needs to: Learn how to store credentials securely on their machine Set up macOS Keychain, pass, or environment variable credential stores Establish credential rotation policies and naming conventions Understand how to…

osloer-industries/vakt · 132 tokens

audit-credentials

Audits local credential setup for security compliance and produces a report. Use this skill when the user needs to: Check whether their credentials are properly stored and not leaking Validate credential rotation age against their policy Scan shell history, dotfiles, and git repos for exposed credentials Check file…

osloer-industries/vakt · 142 tokens

export-credentials

Securely export credentials from local credential stores without exposing them to the AI. Use this skill when the user needs to: Add credentials to GitHub Secrets or other repository secrets Deploy credentials to cloud development environments Manage credentials across multiple repositories or services Create secure…

osloer-industries/vakt · 130 tokens

supericons-icon-search

Use Supericons MCP when the user needs to find, preview, compare, retrieve, or recommend SVG icons for software UI.

curlymolelabs/supericons · 30 tokens

find-skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

osloer-industries/vakt · 67 tokens