SKILL.md becomes a skill, and a push that changes one publishes a new version within about 60
seconds. The sync runs one way — the repository is the source of truth, and a synced skill stays
read-only in KAOP.
Skill sources are turned on per account. If the Skills page has no Synced repositories button,
ask your account team to turn them on.
Before you connect
Make sure you have the following before you add a source:
Sources read from repositories on github.com.
Connect a repository
1
Open Synced repositories
On the Skills page, choose Synced repositories. A side drawer opens with the account’s
sources, each with its state, its last synced commit and when KAOP last checked it. Add a
repository from there.

2
Describe the source

3
Add
Choose Add. Before it saves anything, KAOP checks that the connection is a GitHub App installation, that
the installation holds both permissions on the repository, and that the repository and branch
exist. A refusal names the connection type or the permission that is missing. Once the source
is saved, KAOP adds the push webhook to the repository and runs the first sync.
How the repository is read
Each skill is a folder containing aSKILL.md file. KAOP finds them by a fixed rule, with no
configuration and no model reading your files:
- Every folder that holds a
SKILL.mdis one skill. Every other file in that folder and its subfolders, such asreferences/andscripts/, belongs to the skill and syncs with it. - A file Git marks executable stays executable when the skill reaches an agent’s worker.
- Files and folders whose names start with a dot are ignored, such as
.gitkeepor.github/. - A
SKILL.mdinside another skill’s folder is a file of the outer skill, not a skill of its own. - A file in no skill folder is ignored.
- A skill’s name is the
namein itsSKILL.mdfrontmatter, or the folder’s name when the frontmatter has none. ASKILL.mddirectly in the source’s folder takes that folder’s name, or the repository’s name when the source is the repository root. Without aname, renaming a skill’s folder renames the skill, so setnamein everySKILL.mdwhose folder may move.
SKILL.md, the number
and size of supporting files, and text files only. See the limits in
Skills as code. A skill
over a limit is skipped, as When a skill is skipped describes.
Keep each skill’s files inside its folder
A file outside a skill’s folder is not part of the skill, and a link to it fromSKILL.md does
not resolve on the worker. A link to another skill’s SKILL.md, such as ../open-pr/SKILL.md,
resolves only when that skill is also attached to the agent and its folder in the repository is
named after the skill, because the worker writes each attached skill as a sibling folder named
after it. KAOP does not detect or warn about either case.
Name the other skill instead of linking to its files — “open the pull request with the open-pr
skill” — and attach both skills to the agents that need them.
When a push shows up
GitHub calls the source’s push webhook on every push, and the pushed change is a new version within about 60 seconds. KAOP also checks each source’s branch every minute, so a push whose webhook call was lost is still picked up.- Sync now syncs a source at once and compares every skill folder, even when the branch has not moved. Use it after fixing what made a skill skip outside the repository, or to check a source without waiting.
- A missing webhook — the installation lost Webhooks: Read and write, someone deleted the webhook, or the repository already has the 20 push webhooks GitHub allows — does not stop the source. Syncs continue through the check every minute and may take up to two minutes, the source shows a warning, and KAOP tries to add the webhook again every hour.
- An installation of KAOP that GitHub cannot reach adds no webhooks, and checks every source every 30 seconds instead.
- A force-push is read like any other push: skills whose content differs get a new version, and no existing version changes.
What a synced skill looks like
A synced skill carries a Synced badge, in the skills list and on its page. Its page shows where it comes from in three tiles:
View in GitHub opens the skill’s folder at that commit. It is the skill’s one link to GitHub.

Read-only in KAOP
A synced skill is still yours to use: attaching it to an agent, pinning a version and detaching it all work as for any skill. Changing it, though, happens in the repository. KAOP refuses each of these, from the console, the API, the MCP server or aSkill resource on a management cluster, and
creates no version:
- Editing its content, name, description or labels.
- Publishing a version, or rolling back to an older one.
- Deleting it, unless it is marked Removed from source.
- Trying or promoting a suggested improvement to it.
skill.edit_refused.
Labels
A synced skill’s labels are the source’s labels. Changing the source’s labels changes them on every skill of the source at once, so label-scoped grants on a source’s labels cover its skills.Versions
- Only a skill that changed gets a new version. A push that leaves a skill’s folder unchanged publishes nothing for it.
- A synced version needs no approval in KAOP. It is published as soon as it is synced, and review happens in the repository, before the change is merged. See Secure the source branch.
- Each version records the commit SHA, its author, whether GitHub verified it, and who pushed
it. The publish is recorded in the audit log as
skill.publish, with the source as the actor. - A folder moved or renamed with the same skill name is the same skill. Its versions, pins and attachments are kept, and a version is published only when the content changed too.
- Changing a skill’s name in the repository makes it a new skill and marks the old one Removed from source.
- Pinned agents stay put. An agent that tracks latest gets the new version on its next run; an agent pinned to a version stays on it. See Attaching a skill.
- A sync only adds versions. It never changes or removes one, so a bad commit cannot take away a skill’s last good version.

- Changes in this version shows what the version changed against the one before it, in every
file of the skill, not only
SKILL.md, and names the files it left unchanged. - Compare with current shows how the version differs from the current one.
- Full content shows the version whole.

When a skill is skipped
A skill folder that cannot be synced is skipped whole: KAOP never syncs a skill without one of its files. The skill stays on its last good version, and every other skill in the push syncs.
A skipped skill shows in two places:
- On the source, which is Partially synced and lists each skipped folder with the file and the reason.
- On the skill, as a warning with the file, the reason and the version it stays on. A new skill that was skipped on its first sync exists only in the source’s list.


Source states
A source shows its last synced commit and time, and when KAOP last checked GitHub for a change, so
a quiet repository can be told apart from a stuck sync.
You do not need to open the drawer to see that a source needs attention. When a source is in
Error, the Synced repositories button shows how many are. Otherwise, it shows how many
sources need attention: those that are Partially synced, have a skipped skill, or are missing
their push webhook.
A source moves to Error when the connection is revoked, the installation is removed or
suspended, the installation loses Contents: Read-only, the repository, branch or folder is
gone, or GitHub cannot be reached, which KAOP keeps retrying. In every case the skills stay on
their last version, usable and read-only, and the next successful sync picks up from there.
When a skill leaves the repository
A skill whose folder is no longer in the source is marked Removed from source:- Agents it is attached to keep running their current version.
- It cannot be attached to new agents.
- The source lists it with the agents still using it.
- It can be deleted — the one delete allowed on a synced skill — once no agent has it attached. Deleting it frees its name.
Delete a source
Deleting a source stops syncing it and hands its skills over: each becomes an ordinary skill you can edit in KAOP, with its versions, labels and attachments unchanged, and agents keep running it. A skill that was Removed from source can be attached again. KAOP removes the source’s push webhook from the repository and stops accepting calls to it. If GitHub refuses the removal, for example because the installation lost Webhooks: Read and write, KAOP shows the webhook’s address and a link to the repository’s webhook settings: remove it there. If GitHub could not be reached, KAOP finishes the removal within the hour. Moving a source to another repository or connection moves its webhook the same way. Connecting the same folder again does not undo a delete. The handed-over skills keep their names, so every folder of the new source is skipped as a name clash until its handed-over skill is renamed or deleted.Secure the source branch
- Protect the branch with required pull request reviews, so no change lands unreviewed.
- Require code owners on the source’s folder, so the people who own the skills review every change to them.
- Pin critical agents to a version, and move the pin when you have checked a new one.
- Keep secrets out of the repository. Synced content is stored like any skill’s content and is not scanned for secrets. Give agents secrets as credentials.
Permissions
A source has no permissions of its own. It uses the skill permissions.
A grant scoped by label covers the sources whose labels match. A grant that names a skill or a name
pattern never matches a source, which has no name.
The audit log records
skill_source.create,
skill_source.update, skill_source.delete and skill_source.sync for a person’s actions, and
skill.create and skill.publish, with the source as the actor, for what a sync publishes.
From the API
managed_by field names its source and folder, and carries sync_warning when it
was skipped. Each version of it carries commit, with the SHA, author, verified flag and pusher.
The MCP server takes the same fields. An agent in chat does not
connect, edit, delete or sync a source: it explains what a source does and points you to the Skills
page.
What a source does not do
- It does not write back. Nothing in KAOP changes the repository.
- It does not attach skills. Attaching skills to agents and pinning versions stay in KAOP.
- It reads from github.com only. GitHub Enterprise Server, GitLab and Azure DevOps are not sources.
- It is not declared on a management cluster. A source is managed from the Skills page, the API
or the MCP server. To keep skills as
Skillresources instead, see Skills as code.
Next steps
Skills
What a skill is, how versions and pins work, and how an agent finds the right one.
Skills as code
Versions, rollback and pins from the API, and
Skill resources on a management cluster.Built-in integrations
Install the GitHub App and manage the connection.
Roles & permissions
Label-scoped grants that cover a source’s skills.