ak-build

ak-build is a skill for Claude Code, Codex from yaalalabs/agent-kernel. It costs 66 tokens per session (5,544 once invoked), scanned A, original, Apache-2.0.

A guide for extending an existing Agent Kernel project with tools, agents, and handoffs. It first examines the project's framework, agents, entry point, configuration, and dependencies.

In plain words
What is it for?
Use it to add custom tool functions, new specialized agents, agent-to-agent handoffs, and the wiring that connects them.
Why use it?
It reduces the risk of adding code that conflicts with the project's current structure or framework. The existing setup provides the context for each change.

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 custom tool functions, new specialized agents, agent-to-agent handoffs, and the wiring that connects them.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-build"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,544 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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: 1 finding, up to medium

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 →

  • medium Data Exfiltration · line 437
    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.00066 $0.05544
Opus 5.5 $0.00026 $0.02218
Sonnet 5.5 $0.00013 $0.01109
Haiku 4.5 $0.00007 $0.00554

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

Security

Grade A, and why

ak-build 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 11d 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.

curl -X POST http://localhost:8000/run \
ak-py/src/agentkernel/skills/ak-build/SKILL.md · 579 lines

How it starts

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

Build: Add Tools & Agents

Use this skill to add new tools, agents, or handoffs to an existing Open Agent Kernel project.

Instructions for the Agent

Step 1: Read the Existing Project

Before generating any code, inspect the project to determine:

  1. Framework — Open the main agent file (e.g., app.py, demo.py, server.py, lambda.py) and look for:

    • from agentkernel.openai import OpenAIModule → OpenAI Agents SDK
    • from agentkernel.langgraph import LangGraphModule → LangGraph
    • from agentkernel.crewai import CrewAIModule → CrewAI
    • from agentkernel.adk import GoogleADKModule → Google ADK
    • from agentkernel.smolagents import SmolagentsModule → Smolagents
    • from agentkernel.pydanticai import PydanticAIModule → Pydantic AI
    • from agentkernel.maf import MAFModule → Microsoft Agent Framework
    • from agentkernel.claude import ClaudeModule → Claude Agent SDK
  2. Existing agents — List every agent already defined (names, roles, instructions).

  3. Existing tools — List every tool function and which agent uses it.

  4. Entry point — Is it CLI (demo.py), API (RESTAPI.run()), Lambda (Lambda.handler), or Azure Function?

  5. Config — Read config.yaml for session type, guardrails, tracing, integrations already enabled.

  6. Dependencies — Read pyproject.toml for the extras already installed (e.g., [openai,api,redis]).

Report back what you found before proceeding. Example:

Project summary:

  • Framework: OpenAI Agents SDK
  • Entry point: app.py (API mode via RESTAPI.run())
  • Agents: triage (routes to sub-agents), math (handles math), general (handles everything else)
  • Tools: calculator (bound to math), web_search (bound to general)
  • Session: Redis
  • Extras: [openai,api,redis]

Step 2: Ask What to Add

Ask the user what they want to add:

  1. A new tool — A Python function that an agent can call
  2. A new agent — A new specialist agent
  3. A handoff — Wire an existing agent to delegate to another
  4. All of the above — Add a new agent with its own tools and wire it into the existing handoff graph

Read the full file on GitHub · 579 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. 11d ago Changed 957f8259b939
  2. 12d ago Changed · +1 tokens per session 8c5ef390ad7b
  3. 15d ago Changed ad29151c5c23
  4. 18d ago Changed c48fb176767c
  5. 26d ago Changed · +59 lines 184f35586ba1
  6. 1mo ago Changed · +26 lines 4d39d7bc0891
  7. 1mo ago Changed 362f08490fc0
  8. 1mo ago Changed bbd5ad781a45
  9. 2mo ago Changed · +10 lines ce7284dfc627
  10. 2mo ago First seen · 484 lines · 65 tokens per session scan A b973e009c0a0

Subscribe to this mod's changes

ak-build is a skill published in the GitHub repository yaalalabs/agent-kernel (195 stars, last pushed today), licensed Apache-2.0. It adds 66 tokens to every session and 5,544 once invoked, about $0.0003 per session on Opus 5.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.

Related

ak-build compared with skills from other repositories

ak-build next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ak-buildyaalalabs/agent-kernelSkill195todayApache-2.0A66Claude 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
bitbucketArvo-AI/auroraSkill473todayApache-2.0A23Claude Code