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.
npx skills add joelazar/kagi-skills --skill kagi-fastgptgit clone --depth 1 https://github.com/joelazar/kagi-skillsWrote 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.
[](https://agentmods.dev/skills/joelazar/kagi-skills/kagi-fastgpt)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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) 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.
- Create an account at https://kagi.com/signup
- Navigate to Settings → Advanced → API portal: https://kagi.com/settings/api
- Generate an API Token
- Add funds at: https://kagi.com/settings/billing_api
- Add to your shell profile (
~/.profileor~/.zprofile):export KAGI_API_KEY="your-api-key-here" - 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) |
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.
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.
- 12d ago First seen · 129 lines · 52 tokens per session scan A 75ea74ea34de
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.
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.
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…
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…
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…
supericons-icon-search
Use Supericons MCP when the user needs to find, preview, compare, retrieve, or recommend SVG icons for software UI.
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.