ak-add-capabilities

ak-add-capabilities is a skill for Claude Code, Codex from yaalalabs/agent-kernel. It costs 246 tokens per session (22,133 once invoked), scanned B, 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

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Claude Code.

Good fit Use it to add guardrails, tracing, session persistence, knowledge bases, MCP or A2A servers, hooks, multimodal input, conversation threads, or isolated code execution.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yaalalabs/agent-kernel/ak-add-capabilities
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 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/github.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/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 ak-add-capabilities

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 246 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 22,133 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 6 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 1008
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium Agent Snooping · line 419
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 1199
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Data Exfiltration · line 755
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 934
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 1023
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00246 $0.22133
Opus 5.5 $0.00098 $0.08853
Sonnet 5.5 $0.00049 $0.04427
Haiku 4.5 $0.00025 $0.02213

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

Security

Grade B, and why

ak-add-capabilities scanned grade B with 2 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 4d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

curl -X POST http://localhost:8000/api/v1/chat -H "Content-Type: application/json" -d '{

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,977 lines

How it starts

The opening of the file, as written. The whole thing — 1,977 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 Open 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 OAK 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, Pydantic Logfire, or AWS CloudWatch)
  3. Session Persistence — Durable conversation state (Redis, DynamoDB, Cosmos DB, Firestore)
  4. Knowledge Base — Durable cross-session knowledge tools (ChromaDB, Neo4j, Starburst, Open Knowledge Format markdown bundle, 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)
  13. Secret Resolution — Read API keys through SecretManager (environment first, then AWS SSM Parameter Store, Kubernetes Secrets mounted into the pod, or a custom provider)
  14. Human in the Loop — Pause a run for a person's approval or answer and resume from their decision (a gated tool or an interrupt, a resume block on the next request)
  15. A2UI — Let an agent answer with an interface instead of prose: its JSON reply is labelled so the client receives a document, not a string
  16. Identity - Authenticate callers through a configured identity provider (static credentials, any OIDC issuer such as Auth0, Keycloak or Okta, Amazon Cognito, Microsoft Entra ID, Firebase, or your own) and read the caller as a Principal in tools and hooks; an optional authorization block then grants principals a level on agents, so each caller runs and is listed only the agents it may
  17. Agent Registry - Describe each agent for the catalog (GET /api/v1/agents), A2A cards and MCP tools, choose the surfaces it is served on, and share the registry between processes (Redis, Valkey or DynamoDB)

Read the full file on GitHub · 1,977 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. 4d ago Changed · +7 lines 65ed9029d4da
  2. 5d ago Changed · +20 lines 3e9c05003c0d
  3. 6d ago Changed · +54 lines 97035ea37577
  4. 8d ago Changed 507d6aa59385
  5. 11d ago Changed · +2 lines 2c0f93c96828
  6. 12d ago Changed · +95 lines · +36 tokens per session c425225d53f3
  7. 13d ago Changed · +8 lines c6840b7b9951
  8. 15d ago Changed 398bd57c8368
  9. 18d ago Changed be718053d724
  10. 19d ago First seen · 1,791 lines · 210 tokens per session scan B be6477ab3c84

Subscribe to this mod's changes

ak-add-capabilities is a skill published in the GitHub repository yaalalabs/agent-kernel (195 stars, last pushed today), licensed Apache-2.0. It adds 246 tokens to every session and 22,133 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ak-add-capabilities compared with skills from other repositories

ak-add-capabilities next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ak-add-capabilitiesyaalalabs/agent-kernelSkill195todayApache-2.0B246Claude Code, Codex
cloud-native-security-defensivej4flmao/agent-skillsSkill4715d agoMITA91Claude Code, Codex
notionArvo-AI/auroraSkill473todayApache-2.0A23Claude Code
datadogArvo-AI/auroraSkill473todayApache-2.0A28Claude Code
scalewayArvo-AI/auroraSkill473todayApache-2.0A29Claude Code
agent-framework-azure-ai-py-v2diegosouzapw/awesome-omni-skillsSkill181todayMITA61Claude Code, Codex
cloudbeesArvo-AI/auroraSkill473todayApache-2.0A23Claude Code