Skip to main content
Version: Next

Agent Skills

Agent Kernel ships with Agent Skills — structured guides that coding agents (GitHub Copilot, Claude Code, Codex, etc.) can follow to help you build, extend, and deploy AI agents. Skills use the Agent Skills Open Standard (SKILL.md format) for cross-agent compatibility.

What Are Agent Skills?

Agent Skills are machine-readable guides that coding agents discover and follow automatically. Instead of reading documentation yourself and translating it into code, you describe what you want in natural language and the coding agent reads the relevant skill to generate correct, idiomatic code for Agent Kernel.

Each skill is a SKILL.md file with:

  • YAML frontmatter — name, description, metadata for discovery (~100 tokens)
  • Markdown body — step-by-step instructions, code templates, checklists (under 5000 tokens)

Installing Skills

The ak CLI (installed with agentkernel) can copy bundled skills into your project:

# List available skills
ak skill list

# List supported coding assistants and their skill directories
ak skill assistants

# Install all skills (default: GitHub Copilot → .agents/skills/)
ak skill install

# Install for a specific coding assistant
ak skill install --assistant claude # → .claude/commands/
ak skill install --assistant cursor # → .cursor/rules/
ak skill install --assistant windsurf # → .windsurf/rules/
ak skill install --assistant codex # → .codex/skills/
ak skill install --assistant aider # → .aider/skills/

# Install a single skill
ak skill install ak-init --assistant claude

# Update previously installed skills to latest version
ak skill update
ak skill update --assistant claude

Supported Assistants

AssistantDirectoryDescription
copilot.agents/skillsGitHub Copilot (VS Code / JetBrains)
claude.claude/commandsClaude Code (Anthropic)
cursor.cursor/rulesCursor IDE
windsurf.windsurf/rulesWindsurf (Codeium)
codex.codex/skillsCodex CLI (OpenAI)
aider.aider/skillsAider

Once installed, skills are automatically discovered by the corresponding coding agent.

Available User Skills

These skills are bundled with the agentkernel PyPI package and help you build agent projects:

ak-init

Interactively scaffold a new Agent Kernel project. Covers all four supported frameworks (OpenAI Agents SDK, CrewAI, LangGraph, Google ADK) and all deployment modes (CLI, REST API, AWS Lambda, Azure Functions, containerized).

Example prompts:

  • "Create a new agent project using CrewAI for AWS Lambda"
  • "Scaffold a LangGraph project with REST API"

ak-build

Add tools, agents, and handoffs to an existing project. The workhorse skill for iterative development — reads your project's framework, existing agents, and config, then generates context-aware code for new tools, agents, and routing.

Example prompts:

  • "Add a weather lookup tool to my agent"
  • "Add a support agent and wire it into the triage handoffs"
  • "Add a new tool that accesses session state"

ak-add-integration

Add messaging platform integrations to an existing project. Covers Slack, WhatsApp, Messenger, Instagram, Telegram, and Gmail with complete configuration and setup instructions.

Example prompts:

  • "Add Slack integration to my agent"
  • "Set up WhatsApp and Telegram for my project"

ak-cloud-deploy

Deploy your agent to AWS or Azure. Generates complete Terraform configurations for four deployment modes: AWS Serverless (Lambda), AWS Containerized (ECS Fargate), Azure Serverless (Functions), and Azure Containerized (Container Apps).

Example prompts:

  • "Deploy my agent to AWS Lambda"
  • "Set up Azure Container Apps deployment"

ak-add-capabilities

Add advanced capabilities: guardrails (OpenAI Moderation, AWS Bedrock), tracing (Langfuse, OpenLLMetry), session persistence (Redis, DynamoDB, Cosmos DB), MCP server, A2A server, custom hooks, and multimodal support.

Example prompts:

  • "Add OpenAI guardrails to my agent"
  • "Set up Redis session persistence"
  • "Enable Langfuse tracing"

ak-test

Set up testing and debug common issues. Covers test modes (fuzzy, judge, fallback), CLI and API test patterns, and 8 common debugging scenarios with solutions.

Example prompts:

  • "Set up automated testing for my agent"
  • "My agent session isn't persisting across requests"

Developer Skills — Accelerating Contributions with AI

Agent Kernel doesn't just expose its capabilities as skills for users — it also exposes its internals as skills for contributors. The .agents/skills/ folder at the repository root contains seven developer skills that teach coding assistants how to work on the Agent Kernel codebase itself.

When a contributor opens the repository in a coding assistant (Copilot, Claude Code, Cursor, etc.), these skills are automatically discovered. The assistant immediately understands the architecture, adapter patterns, testing conventions, and code quality standards — eliminating the onboarding curve for new contributors.

SkillWhat It Teaches Your Coding Assistant
ak-dev-architectureCore abstractions (Session, Agent, Runner, Module, Runtime), design principles, adapter pattern, execution flow — everything needed to understand the codebase
ak-dev-new-framework-integrationStep-by-step guide to add a new agent framework adapter (beyond OpenAI, CrewAI, LangGraph, Google ADK) — subclass creation, dependency wiring, exports, tests
ak-dev-new-messaging-integrationHow to add a new messaging platform integration (beyond Slack, WhatsApp, Messenger, Instagram, Telegram, Gmail) — handler class, webhook routes, message parsing, config
ak-dev-new-guardrail-providerHow to add a new content safety provider (beyond OpenAI, Bedrock, Walled AI) — input/output guardrails, factory registration, configuration
ak-dev-new-tracing-providerHow to add a new observability backend (beyond Langfuse, OpenLLMetry) — BaseTrace interface, traced runners, factory wiring
ak-dev-testing-conventionsPytest patterns, async testing, mocking external services, CI/CD test workflows
ak-dev-code-qualityFormatting with black/isort, commit conventions, PR checklist, review workflow

How Contributors Benefit

A first-time contributor doesn't need to spend hours reading source code to understand how Agent Kernel is structured. They simply ask their coding assistant:

  • "Add support for a new agent framework called X" → The assistant reads ak-dev-new-framework-integration and generates the complete adapter module with correct subclasses, exports, and tests.
  • "Add a new tracing provider for Datadog" → The assistant reads ak-dev-new-tracing-provider and implements the BaseTrace interface, creates traced runners, and wires the factory.
  • "Add Microsoft Teams integration" → The assistant reads ak-dev-new-messaging-integration and scaffolds the handler, webhook routes, config, and example.

The skills carry the same architectural knowledge the core team has — patterns, conventions, where things go, how components interact. Contributors ship features faster because their coding assistant already understands the codebase.

Example Workflow

  1. Install skills into your project:

    ak skill install
  2. Open your project in VS Code (with Copilot), Claude Code, or Codex

  3. Ask in natural language, for example:

    • "Scaffold a new agent project using CrewAI for AWS Lambda"
    • "Add Slack and WhatsApp integrations"
    • "Deploy to Azure Container Apps"
    • "Add Langfuse tracing and Redis session store"
  4. The coding agent reads the relevant skill and generates all the code, configuration, and infrastructure files for you.

Compatibility

Agent Skills work with any coding agent that supports the Agent Skills Open Standard, including:

  • GitHub Copilot (VS Code, JetBrains)
  • Claude Code
  • OpenAI Codex
  • Cursor
  • Windsurf

Skills are discovered automatically when placed in .agents/skills/ in your project root.