Skip to main content
The Komodor Agentic Operation Platform (KAOP) versions every skill it holds, so you can script publishing, rolling back and pinning instead of clicking through the console. With a management cluster, you can also keep each skill as a SKILL.md folder in your own Git repository, review changes in pull requests, and let KAOP follow what is merged.

What can be managed this way

The calls and resources below apply to skills created in KAOP: from the console, the API, chat, or a Skill resource. A skill that ships inside an agent’s container image is reported by the agent when it starts and changes only when you rebuild the image. To manage one in KAOP, claim it first; see Claim a skill from an agent image.

Versions

Every change to a skill’s content publishes a new version, numbered 1, 2, 3 and so on.
  • A version holds the whole skill: the SKILL.md body and every supporting file.
  • A version is never changed or deleted. To change a skill, publish a new version.
  • Changing a skill’s name, description, tags or labels does not create a version.
  • Each publish is recorded in the audit log as skill.publish, with the version number and the person or API key that made it.
In the console, the save button on a skill whose content you changed reads Publish as vN, and Version history lists every version. To publish a new version with two supporting files:
Leave out content or resources and the new version keeps that part from the latest one. Send "resources": [] to remove every supporting file.

Roll back

A rollback publishes a new version with the content and files of an older one. No version is deleted or changed: with v7 as the latest, rolling back to v5 publishes v8 with the content of v5.
  • In the console, open the version in Version history, review its diff against the current version, and choose Roll back to vN.
  • From the API, call POST /api/v1/skills/{id}/versions/{version}/rollback.
A rollback is recorded as skill.publish, with the version it was taken from.

Pin an agent to a version

Each attachment of a skill to an agent either tracks the latest version or is pinned to one version.
  • Latest: the agent gets each version you publish, rollbacks included.
  • Pinned: the agent stays on that version until you change the pin.
Pin an agent to try a new version on one agent before the rest get it, or to hold a critical agent on a known version. A change reaches the agent before its next run, with no redeploy or restart, and a run already in progress keeps the version it started with. In the console, choose Latest or a version on the agent’s Skills and tools card, or manage every agent from the skill’s Currently attached list, where a change applies at once. From the agent’s side: From the skill’s side, set every attachment in one call. The list is the full set: an agent left out is detached, and an empty list detaches every agent. agent takes the Agent ID or the agt_… id.
Attaching, detaching and changing a pin are recorded as agent.skill_attach, agent.skill_detach and agent.skill_repin.

Keep skills in Git

You can keep skills in your own Git repository and have KAOP follow it, through a management cluster:
  1. koperator runs its config module on a cluster you own, bound to your account. See Management cluster config.
  2. A GitOps tool such as Argo CD or Flux applies Skill resources from your repository into the namespace the config module watches.
  3. The config module creates or updates each skill in KAOP. A change to content or resources publishes a new version, and an unchanged resource publishes nothing.
  4. On every resync, five minutes by default, it puts back any change made outside Git.
How declarations map to KAOP, status conditions and deletion are covered in Declaring resources.

The Skill resource

A field you leave out stays as it is in KAOP. The result is on the resource’s Synced condition, with KAOP’s own message when it refuses a change:
All content is inline, so one Kubernetes object holds the whole skill, within Kubernetes’ limit of about 1.5 MB per object.

Keep SKILL.md folders instead of YAML

To keep each skill as a folder with a real SKILL.md, a small Helm chart can read the folders and build the Skill resources. Argo CD and Flux both render Helm charts from Git.
values.yaml:
templates/skills.yaml:
The template marks every file under scripts/ as executable. Run helm template kaop-skills ./kaop-skills to see the resources before you commit. Point your GitOps tool at the chart, in the config module’s namespace. With Argo CD:
With Flux, use a GitRepository for the repository and a HelmRelease whose chart points at ./kaop-skills in it, with targetNamespace set to the config module’s namespace.

A change, end to end

  1. A change to skills/splunk-search/SKILL.md is reviewed in a pull request and merged.
  2. Argo CD or Flux applies the changed Skill resource.
  3. The config module publishes a new version in KAOP, for example v8.
  4. Agents that track latest use v8 from their next run. Agents pinned to an older version stay on it.
To roll back from Git, revert the commit: the config module publishes the old content as a new version, such as v9. To hold one agent back while you investigate, set its pinVersion in values.yaml.

Editing a Git-managed skill in the console

A skill declared this way carries the Managed by cluster badge. Make changes in Git. Whether a console or API edit is refused, or saved and later put back, depends on your account’s ownership enforcement; see the Managed by cluster badge. Attachments and pins changed in the console or with the agent calls above are saved either way, and the config module puts back what Git says at the next change to agentBindings in Git.

Claim a skill from an agent image

A skill that ships in an agent’s container image is reported by the agent when it starts. To version and edit it in KAOP, claim it. Claiming makes a copy at version 1 that you can edit, version, pin and keep in Git like any other skill.
  • In the console, open Skills, choose the skill, and choose Claim as authored.
  • From the API:
    GET /api/v1/skills?kind=discovered&agent_id=<agent id> lists the skills an agent reports.
The copy is not attached to any agent until you attach it. Skills of Komodor catalog agents cannot be claimed. A claim is recorded as skill.claim.

Permissions

Next steps

Skills

What a skill is, how it is approved, and how an agent finds it.

Declaring resources

Every kind a management cluster can declare, and how status and deletion work.