Field notes

An installed skill is a dependency. Open source pins it.

Kortix, the open-source CompanyOS, pins each installed agent skill in skills-lock.json with a source, ref and hash, then grants it to agents in kortix.yaml.

The Kortix Team
Kortix··6 min read

Your agent answers the same question differently this month and nobody edited a prompt. Somewhere in its skills folder is a SKILL.md copied from another repository, and nothing in your project records which revision of it the agent read this morning. That is a dependency without a version, and why a good week can turn into a bad one with no commit to blame. Kortix, the open-source CompanyOS, keeps all of it in one git repo: who each agent is, what it may load and call, what it remembers, all versioned beside the code.

A skill is a folder with a routing key in its frontmatter

A skill is a folder holding a SKILL.md plus whatever scripts and reference files it needs (Anthropic). The name field runs 1 to 64 characters, lowercase letters, digits and hyphens, and has to match the parent folder. description runs to 1,024 characters and should say both what the skill does and when to use it (specification).

That description is the routing key: all an agent reads before opening the rest. The Claude documentation says it plainly: "The description is what Claude matches your request against when determining whether to trigger the Skill, so it must say both what the Skill does and when to use it" (overview). Kortix's docs make the same point. An agent reads each skill's description and decides when to load it, so write the description to say when to use the skill, not only what it is (skills).

The name and description cost "~100 tokens per Skill" at startup. The body loads only when the skill triggers, at "Under 5k tokens", and bundled files cost nothing until an agent opens one (overview). A lockfile entry costs no context at all.

The same name, different bytes

Copying the folder in is the whole install step, which makes the change invisible. The file keeps its name and no version gets bumped, because the standard asks only for a name and a description, and no required field carries a version.

The marketplace is the exception. A skill installed from there starts a session that adds it to your project and proposes the result for review (docs). The copy you make by hand has no such step, which is the common case. A colleague drops a newer router into skills/, its description a little broader than the one it replaced. The agent now loads that router for messages it used to send straight to a person. Everyone reads it as the model getting worse. It was a file change nobody reviewed, in a folder nobody diffs.

What a lockfile records

In Kortix's own repository the borrowed skills are pinned in a skills-lock.json at the root, one entry each, and the folders it names sit under .agents/skills/ (lockfile). The lockfile has six entries; the other skills beside it were written here. One entry, verbatim:

    "ponytail": {
      "source": "DietrichGebert/ponytail",
      "ref": "v4.10.0",
      "sourceType": "github",
      "skillPath": "skills/ponytail/SKILL.md",
      "computedHash": "210fa0831f649ce9f8a305f7b7c8cf2a0dd09ac4dd53067109941b96e7811d4e"
    },

Four fields fix the text. source names the repository. sourceType says what kind of address that is, and skillPath names the file inside it. The 64-character computedHash fixes the bytes. A fifth, ref, pins a tag as well, so the entry records the release the team reviewed and the text it contained.

A hash that no longer matches means the file changed after the pin was written. That is what it buys: a statement of which text the agent loads, not which router. When the hash moves, the review looks like any dependency review. Read the new text, run the script once by hand, and write the new hash in the same commit that needed it.

Three shapes a reviewable skill takes

Three skills there show what a good one looks like: procedures, not topic notes.

A ladder that stops at the first rung. ponytail forces the smallest solution that works. Its method is an ordered list: "Stop at the first rung that holds". The first rung asks the question most agents skip, "Does this need to exist at all?", and answers it: "Speculative need = skip it, say so in one line. (YAGNI)". A ladder with an order is checkable, because a reviewer can point at the rung a session should have stopped on.

A stop condition written as a person's question. create-pr writes the title and body of a pull request for "a human who will not open the diff". Its done test is that person's one question, and it says what to do with every line that does not serve it: "Cut a line that does not, even when it is true and took effort to find". It closes the usual escape hatch too: "Delete a section that does not apply", never fill one with a placeholder. The output is short because done is defined from the reviewer's side.

A rule a script enforces. testing opens with a prohibition: "During development, never run a full suite or a whole package's tests." The command itself enforces it: on a Mac a whole-package run is refused unless you name files or a test, "(exit 2, scripts/test-guard.mjs)". A rule that resolves to an exit code can be checked by someone who did not write it.

That is the test for anything you install: can a reviewer tell what done means?

A pin is not a grant

A hash says which revision you reviewed. It does not say whether an agent may load the skill.

Kortix keeps that second decision in kortix.yaml, on the agent block. The file carries no version line: the manifest format has no version, and a kortix_version line left in an older project is dropped with a warning (schema). It holds the project, the default agent, the registered skills and one block per agent (reference). A support agent, only the grant lines:

project:
  name: support-desk

default_agent: support

skills:
  triage: skills/triage
  refund-policy: skills/refund-policy

agents:
  support:
    mode: primary
    permission: allow
    prompt_file: agents/support.md
    skills: [triage, refund-policy]

The top skills: map registers what the project has, one folder each. The skills: list on the agent is the grant: the registered and Kortix skills that agent may load, and an omitted list grants none. Two names open, the rest closed. The prompt_file names the Markdown prompt this agent runs on, and that file has no frontmatter, so its first line is already instruction.

A skill can sit in the repository, reviewed and unchanged, and that agent still cannot load it. The docs put it plainly: "One skill can serve many agents. You choose which agents may load it" (skills). The built-in kortix agent may load every skill; an agent you write loads what its grant names. A folder on disk is not access.

permission answers a different question: which tool calls run, ask a person, or never run. The manifest reference settles skills and subagents with their own grants, so a guard script run by path is a tool call and can run while the skill explaining it stays closed.

The two decisions fail differently, so both belong in one review. A stale hash is drift you can see. A missing grant is a door nobody notices until an agent answers as if it never had the skill.

When a skill belongs in your repo

Copy the folder in and edit it when your version differs from upstream on purpose, when its steps sit on your release path, or when it ships a script you run. Pin it and follow its releases when it comes from a project you do not change: the hash tells you when it moved, the diff what moved. Leave out the skill you can neither edit nor pin, however well its description reads.

In Kortix both decisions land in one diff. Skills sit beside the agents that load them, the grant is a line in kortix.yaml, and the lockfile records which revision each name means. Session work reaches main through a change request, and merge is default-deny for agents. The reviewer opening that request sees the text, the grant and the hash together. Which text the agent loaded this morning is recorded in a repository a colleague can read.

Next reads: Kortix vs Hermes makes the review-gate case for a personal agent that stages its own skill writes, and The repo that holds the whole company the case for one repository.

Start with one skill your team runs by hand. Copy the folder, add its name to the grant, pin it, and let the first change to it arrive as a diff. Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free. Try Kortix

Own your company’s AI.Start today, in our cloud or yours.

Start for free

Open source · SOC 2 Type I · SAML SSO and SCIM · Any model, your keys