Skills system
Reusable instructions for how an agent performs a task, distinct from its role or workflow.
What a skill contains
A skill describes a repeatable methodology: instructions, trigger conditions, required tools, model affinity, context budget, and quality checks. The agent defines who acts; the Task or Process defines what work is performed. A skill supplies how to perform it.
Context and quality
The context manager treats the system instructions, current task state, and optional skill body as core context. Recalled and archival material is fitted into a finite budget. Required tools and quality gates should be validated as application policy, not trusted to prompt wording alone.
How to author a useful methodology
- State the goal, inputs, and expected output explicitly rather than relying on a vague role description.
- Describe the sequence of checks the Agent should follow and how to report uncertainty.
- Keep required tool names consistent with the actual discovered MCP tool contracts.
- Budget the skill body together with system instructions, current task state, and memory. If it does not fit, split the work or reduce recalled material.
- Make quality criteria observable through automated tests or human review; a written quality gate is not automatically enforced.
Engine schema example
This example illustrates the Rust engine SkillSpec fields. It is not an apply-ready manifest for the current operator chart because that chart does not install a Skill CRD.
apiVersion: core.kaigents.io/v1alpha1
kind: Skill
metadata:
name: concise-research
spec:
description: Summarize sourced material with uncertainty
body: |
Extract the claims and their sources.
Label claims without supporting evidence.
Produce a concise summary and list open questions.
triggers:
- summarize sources
requiredTools:
- search-docs
contextBudget: 2000Availability
The engine defines SkillSpec with body, triggers, modelClass, requiredTools, contextBudget, qualityGates, and references. Skill is not included in the current operator chart CRDs; check your installation before trying Kubernetes Skill manifests. The chart Task CRD does not expose skillRef, even though the operator source types and separate source-side manifests include Skill integration; use the installed schema rather than assuming that a source feature is chart-installable.
Evaluate a skill
Keep a fixed set of representative inputs with expected citations, schema validity, and safe tool choices. Compare candidate changes against that set and include counterexamples such as missing sources or untrusted retrieved instructions. Record model version, configured tools, and the results so improvements are reproducible rather than anecdotal.