kagent

kagent is a skill for Claude Code from akillness/jeo-skills. It costs 106 tokens per session (1,648 once invoked), scanned A, original, MIT.

A guide to kagent, a Kubernetes-native framework for building and operating AI agents. Kubernetes is software for managing applications across containers, and this guide covers agents, conversations, sessions, and sandboxes managed through it.

In plain words
What is it for?
Use it to discover and manage agent definitions, operate conversations through Sessions, stream tasks over A2A, and execute commands or transfer files in kagent sandboxes.
Why use it?
It gives an agent the commands and checks needed to configure, test, and troubleshoot kagent resources without guessing how its Kubernetes objects or communication methods work.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is kagent sandbox exec <sandbox-id> -- python3 /data/workspace/input.py.

Good fit Use it to discover and manage agent definitions, operate conversations through Sessions, stream tasks over A2A, and execute commands or transfer files in kagent sandboxes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/akillness/jeo-skills
agentmods
npx agentmods add skills/akillness/jeo-skills/kagent

Made for: Claude Code.

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 kagent

README.md
[![agentmods](https://agentmods.dev/badge/skills/akillness/jeo-skills/kagent/github.svg)](https://agentmods.dev/skills/akillness/jeo-skills/kagent)
Your own site
<a href="https://agentmods.dev/skills/akillness/jeo-skills/kagent"><img src="https://agentmods.dev/badge/skills/akillness/jeo-skills/kagent/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 kagent

Your own site · 80×15
<a href="https://agentmods.dev/skills/akillness/jeo-skills/kagent"><img src="https://agentmods.dev/badge/skills/akillness/jeo-skills/kagent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,648 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00106 $0.01648
Opus 5.5 $0.00042 $0.00659
Sonnet 5.5 $0.00021 $0.00330
Haiku 4.5 $0.00011 $0.00165

Measured 15d ago against content hash 42de1e8523da, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kagent scanned grade A with 0 findings 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 15d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/preflight.py), 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agent-skills/kagent/SKILL.md · 156 lines

How it starts

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

kagent

When to use this skill

Use when configuring, invoking, testing, or troubleshooting kagent agents, custom resources, conversations, or sandboxes. kagent is a Kubernetes-native framework for building, deploying, and operating AI agents.

Route-outs

  • For validating Agent Skills specification format, frontmatter, or directory structure, use skill-standardization.
  • For raw horizontal Agent-to-Agent communication protocols without the kagent Kubernetes runtime, use a2a-protocol.
  • For provisioning base Kubernetes clusters or managing cloud provider infrastructure, use deployment-automation or environment-setup.
  • For evaluation benchmarks across LLMs or agents, use agent-benchmarking or nvidia-skill-evaluator.

Instructions

1. Offline environment preflight

Before proposing any live cluster or API operations, run the local offline preflight helper:

python3 "$SKILL_DIR/scripts/preflight.py" --json

This discovers local kagent, kubectl, helm, and docker binaries without network calls or process execution.

2. Work with agents and templates

Discover and manage agent definitions in Kubernetes:

# Discover agent definitions and reusable templates
kagent agent list
kagent agent get <name>
kagent agent template list
kagent agent template get <template-name>
  • Agent (api.kagent.dev/v1alpha3) pairs inline or referenced template behavior with a referenced Harness adapter.
  • AgentTemplate (api.kagent.dev/v1alpha3) describes prompts, tools, subagents, and LLM configuration.
  • Catalog commands use the current Kubernetes client context and selected namespace.
  • Apply declarative configurations with kagent apply -f <manifest.yaml> or kubectl apply -f <manifest.yaml>.

3. Manage Sessions and invoke tasks via A2A

Conversations and runtime lifecycles are managed through Sessions (backed by PostgreSQL and gRPC, not Kubernetes CRDs):

# Create a conversation session (always provide a unique request-id for idempotent retries)
kagent agent session create --agent <name> --request-id <unique-request-id>

# List and inspect sessions
kagent agent session list
kagent agent session get <session-id>

# Invoke an agent conversation through A2A
kagent agent invoke --session <session-id> --task "Analyze recent pod failures in the prod namespace"
# Stream response tokens:
kagent agent invoke --session <session-id> --task "Generate migration YAML" --stream

# Delete a session (cleans up runtime resources while preserving the agent CRD)
kagent agent session delete <session-id>

Read the full file on GitHub · 156 lines

Files

What ships with it

6 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. 15d ago Changed 42de1e8523da
  2. 17d ago First seen · 156 lines · 106 tokens per session scan A 6054c58997c9

Subscribe to this mod's changes

kagent is a skill published in the GitHub repository akillness/jeo-skills (63 stars, last pushed today), licensed MIT. It adds 106 tokens to every session and 1,648 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.

Related

kagent compared with skills from other repositories

kagent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kagentakillness/jeo-skillsSkill63todayMITA106Claude Code
deploy-docker-composeomnigent-ai/omnigentSkill12ktodayApache-2.0A84Claude Code, Codex
bdd-container-updateNVIDIA-AI-Blueprints/video-search-and-summarizationSkill2.0ktodayApache-2.0A117Cursor
securing-kubernetes-on-cloudxalgorix/xalgorixSkill1.6ktodayApache-2.0A80Claude Code, Codex
detecting-privilege-escalation-in-kubernetes-podsxalgorix/xalgorixSkill1.6ktodayApache-2.0A40Claude Code, Codex
docker-socket-mountPurpleAILAB/DecepticonSkill6.9k13d agoApache-2.0B67Claude Code
managing-astro-local-envastronomer/agentsSkill465todayApache-2.0A63Claude Code