Agent skill

Kagi Monitoring

by Microck in Microck/kagi-cli

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

MITAuto-check passedBackend & APIs

Install Kagi Monitoring

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

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

GitHub CLI
$ gh skill install Microck/kagi-cli kagi-monitoring --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-monitoring .claude/skills/kagi-monitoring && 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-monitoring
GitHub stars
180
Token cost
~690 tokens
SKILL.md length
322 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

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

  • The user needs bulk processing
  • SKILL.md covers Choose the workflow, Batch search, Watch search results and Notifications, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Scheduled discovery

What it does

Kagi Monitoring is an agent skill from Microck/kagi-cli. Automate repeated Kagi queries with batch search, watches, notifications, history, caching, and MCP. Use when the user needs bulk processing, scheduled discovery, change detection, or a stable integration surface.

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

It sits in Backend & APIs, covering Caching and Anomaly detection. It works with Model Context Protocol. 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

  • The user needs bulk processing
  • Scheduled discovery
  • Change detection
  • A stable integration surface

Example prompts

  • “/kagi-monitoring”

Requirements

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

What it can do on your machine

Read from SKILL.md and the folder at commit cb64cf5. 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:*)

    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 Monitoring loads about 690 tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 322 words of instructions outside code blocks.

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

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 cb64cf5, republished under its MIT licence (© Microck). 322 words, ~690 tokens.

Download SKILL.mdSave it as .claude/skills/kagi-monitoring/SKILL.md (or your agent's skills folder).
name
kagi-monitoring
description
Automate repeated Kagi queries with batch search, watches, notifications, history, caching, and MCP. Use when the user needs bulk processing, scheduled discovery, change detection, or a stable integration surface.
allowed-tools
Bash(kagi:*)

Kagi Monitoring and Automation

Build repeatable workflows from structured Kagi output. Keep stdout machine-readable and send progress or diagnostics to stderr.

Choose the workflow

NeedCommand
Run independent queries togetherkagi batch
Detect changes in resultskagi watch
Deliver a result or alertkagi notify
Inspect prior local activitykagi history
Expose Kagi tools to an agentkagi mcp

Run kagi auth status before automating authenticated commands.

bash
kagi batch "rust" "zig" "go" --format toon --limit 3
printf 'rust\nzig\ngo\n' | kagi batch --format compact

Use argument queries for short fixed sets and stdin for generated lists. Keep the query list as the recoverable input so a failed run can be repeated.

Watch search results

bash
kagi watch "site:example.com release notes" --interval 300

Define what counts as a meaningful change before starting a long-running watch. Use a descriptive query and an interval that matches how often the source updates.

Notifications

Use kagi notify --help to select the configured delivery target, then connect it to a watch or batch result. Never put secrets in notification text or command history.

History and caching

Use kagi history to inspect local command records before duplicating work. Use --local-cache only for calls where stale data is acceptable. Never cache research that must reflect a current price, release, outage, or policy.

MCP

Use the stdio server when another agent host needs Kagi tools:

bash
kagi mcp

Keep MCP stdout reserved for protocol messages. Treat a log written to stdout as a protocol-breaking bug.

Automation rules

  • Prefer json, compact, or toon over pretty.
  • Preserve nonzero exit codes instead of turning failure into empty output.
  • Keep credentials in Kagi auth storage or environment variables, never scripts.
  • Limit concurrency to what the endpoint and account can sustain.
  • Record enough input to reproduce a failed item.
  • Use a process supervisor or scheduler for long-running watches.

Completion criteria

Automation is complete when:

  • inputs and outputs have stable machine-readable shapes;
  • failures remain observable and retryable;
  • credential values never appear in scripts or logs;
  • cache and polling choices match the freshness requirement; and
  • long-running processes have a clear owner and stop condition.

© 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-monitoring of Microck/kagi-cli.

Open the folder on GitHubat commit cb64cf5

Compare with similar skills

Kagi Monitoring 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 Monitoring compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kagi Monitoring this skillMicrock/kagi-cli180—~690Automated safety check: PassMIT
FoundatioFoundatioFx/Foundatio2.1k—~3.9kAutomated safety check: PassApache-2.0
Kingdee MCP DevWaHaiLong/KingdeeMCP105—~853Automated safety check: PassMIT
Dotnet Backend Patternswshobson/agents40k8 repos~6.6kAutomated safety check: PassMIT
Frontmcp Configagentfront/frontmcp146—~7kAutomated safety check: PassApache-2.0
Workosusenotra/notra260—~6.2kAutomated safety check: PassAGPL-3.0

Similar skills

  • Foundatio

    FoundatioFx/Foundatio

    A skill your agent uses when working with Foundatio infrastructure abstractions for .NET -- caching, queuing, messaging, file storage, distributed locking, or background jobs.

    2.1k GitHub stars~3.9k tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Kingdee MCP Dev

    WaHaiLong/KingdeeMCP

    Knowledge base for the Kingdee MCP Dev Squad. An agent skill from WaHaiLong/KingdeeMCP.

    105 GitHub stars~853 tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed
  • Master C/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications.

    40k GitHub starsUsed in 8 repos~6.6k tokens
    Backend & APIsAuto-check passed
  • Frontmcp Config

    agentfront/frontmcp

    A skill your agent uses when configuring a FrontMCP server through frontmcp.config or the @FrontMcp options.

    146 GitHub stars~7k tokensUpdated today
    Backend & APIsAuto-check passed
  • Workos

    usenotra/notra

    A skill your agent uses when the user asks for a WorkOS docs URL, term, or dashboard field (Sign-in endpoint, initiateloginuri, Redirect URI, WORKOS env vars), or is implementing, debugging, or…

    260 GitHub stars~6.2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Azure Aigateway

    microsoft/GitHub-Copilot-for-Azure

    Official

    Configure Azure API Management as an AI Gateway for AI models, MCP tools, and agents.

    255 GitHub starsUsed in 1 repo~1.3k tokens
    Backend & APIsAuto-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.

    180 GitHub stars~695 tokensUpdated yesterday
    Auto-check passed
  • Kagi AI

    Microck/kagi-cli

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

    180 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Kagi Assistant

    Microck/kagi-cli

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

    180 GitHub stars~655 tokensUpdated yesterday
    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.

    180 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed

Questions about Kagi Monitoring

What does Kagi Monitoring do?

Automate repeated Kagi queries with batch search, watches, notifications, history, caching, and MCP. Kagi Monitoring is an agent skill from Microck/kagi-cli. Automate repeated Kagi queries with batch search, watches, notifications, history, caching, and MCP.

When should I use Kagi Monitoring?

Kagi Monitoring fits situations like: the user needs bulk processing; scheduled discovery; change detection; A stable integration surface.

How do I install Kagi Monitoring in Claude Code?

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

How do I install Kagi Monitoring in Codex?

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

Can I use Kagi Monitoring 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-monitoring -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-monitoring, .gemini/skills/kagi-monitoring, .github/skills/kagi-monitoring and .opencode/skills/kagi-monitoring in your project.

What does Kagi Monitoring need to run?

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

Does Kagi Monitoring 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 Monitoring 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 Monitoring use?

Kagi Monitoring 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 Monitoring use?

About 690 tokens (SKILL.md is roughly 2.8k 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 Monitoring?

Skills that share tags, products or a category with Kagi Monitoring: Foundatio (FoundatioFx/Foundatio, 2.1k stars), Kingdee MCP Dev (WaHaiLong/KingdeeMCP, 105 stars), Dotnet Backend Patterns (wshobson/agents, 40k stars) and Frontmcp Config (agentfront/frontmcp, 146 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kagi Monitoring?

Microck (a GitHub user) maintains it in Microck/kagi-cli, which has 180 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 9, 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.