ak-add-capabilities

ak-add-capabilities is a skill for Claude Code, Codex from yaalalabs/agent-kernel. It costs 139 tokens per session (9,933 once invoked), scanned A, original, Apache-2.0.

A guided workflow for adding new capabilities to an existing Agent Kernel project. Agent Kernel is a framework for building software agents, and the listed additions include safety checks, monitoring, saved conversations, knowledge bases, servers, hooks, file support, and scheduled tasks.

In plain words
What is it for?
Use it to add guardrails, tracing, session persistence, knowledge bases, MCP or A2A servers, hooks, multimodal input, conversation threads, or isolated code execution.
Why use it?
It helps developers decide which capability to add and identify the existing project files that need changing. This reduces the need to work out the integration process from scratch.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/yaalalabs/agent-kernel/ak-add-capabilities
Any agent
npx skills add yaalalabs/agent-kernel --skill ak-add-capabilities
Clone the repo
git clone --depth 1 https://github.com/yaalalabs/agent-kernel

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 ak-add-capabilities

README.md
[![agentmods](https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-add-capabilities.svg)](https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-add-capabilities)
Your own site
<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-add-capabilities"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-add-capabilities.svg" alt="Measured on agentmods" height="20"></a>
Per session 139 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,933 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
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 $0.00139 $0.09933
Opus 5 $0.00069 $0.04967
Sonnet 5 $0.00028 $0.01987
Haiku 4.5 $0.00014 $0.00993

Measured yesterday against content hash 3206f7139c2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ak-add-capabilities 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 yesterday.

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.

curl -X POST http://localhost:8000/run \
ak-py/src/agentkernel/skills/ak-add-capabilities/SKILL.md · 1,200 lines

How it starts

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

Add Capabilities

Use this skill to enhance your Agent Kernel project with additional capabilities.

Instructions for the Agent

When the user wants to add a capability, follow this workflow:

Step 1: Identify the Project

Check for an existing Agent Kernel project with pyproject.toml and agent definition file.

Step 2: Ask Which Capability

Which capability would you like to add?

  1. Guardrails — Content safety filters for input and/or output
  2. Tracing — Observability and monitoring (Langfuse, OpenLLMetry, or Pydantic Logfire)
  3. Session Persistence — Durable conversation state (Redis, DynamoDB, Cosmos DB, Firestore)
  4. Knowledge Base — Durable cross-session knowledge tools (ChromaDB, Neo4j, Starburst, or custom backend)
  5. MCP Server — Expose agents as Model Context Protocol tools
  6. A2A Server — Agent-to-Agent communication protocol
  7. Hooks — Custom pre/post processing (RAG, logging, prompt modification)
  8. Multimodal — Image and file attachment support
  9. Conversation Threads — Persistent, named conversation history keyed by session_id
  10. Sandbox — Isolated code/command execution with pluggable providers, workload profiles, policy, and per-user identity
  11. AG-UI Server — Stream any agent to an AG-UI-compliant frontend (text, tool calls, reasoning, shared state)
  12. Scheduled Tasks — Deferred and recurring chat execution (a schedule block on a chat request, management routes, agent tools)

Step 3: Generate Changes


Guardrails

Ask: Input guardrails, output guardrails, or both? Which provider — OpenAI, AWS Bedrock, or Walled AI?

For OpenAI Guardrails:

  1. Update pyproject.toml:
dependencies = [
    "agentkernel[openai,api]>=0.9.0",
    # OpenAI guardrails use the openai extra — already included if using OpenAI framework
]
  1. Create guardrails_input.json:
[
  {
    "type": "moderation",
    "moderation_config": {
      "content_type": ["violence", "sexual", "harassment", "self-harm"],
      "threshold": 0.5
    }
  },
  {
    "type": "jailbreak",
    "jailbreak_config": {}
  }
]

Read the full file on GitHub · 1,200 lines

Files

What ships with it

1 file 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. yesterday Changed · +4 lines 3206f7139c2f
  2. 5d ago First seen · 1,196 lines · 139 tokens per session scan A 1d1a6099c265

Subscribe to this mod's changes

ak-add-capabilities is a skill published in the GitHub repository yaalalabs/agent-kernel (166 stars, last pushed today), licensed Apache-2.0. It adds 139 tokens to every session and 9,933 once invoked, about $0.0007 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.