agent-kernel: Skill for Claude Code

.agents/skills/ak-dev-sync-skills-and-docs-from-commit/SKILL.md

ak-dev-sync-skills-and-docs-from-commit is a skill for Claude Code, Codex from yaalalabs/agent-kernel. It costs 61 tokens per session (2,476 once invoked), scanned A, original, Apache-2.0.

An automation guide for updating Agent Kernel's skills and documentation after a specific code commit is merged. A commit is a saved set of changes in a version-control system.

In plain words
What is it for?
Use it in automation to inspect a commit, update affected documentation and skills, and open a reviewable pull request with the generated changes.
Why use it?
It keeps developer guidance, user instructions, and documentation synchronized with changes that land on the main development branch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is yaalalabs/agent-kernel's own configuration. It tells Claude Code and Codex how to work on agent-kernel itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-kernel configures →

Reuse

Borrowing it

Nothing to install: this file belongs to yaalalabs/agent-kernel. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/yaalalabs/agent-kernel/develop/.agents/skills/ak-dev-sync-skills-and-docs-from-commit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/yaalalabs/agent-kernel

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ak-dev-sync-skills-and-docs-from-commit

README.md
[![agentmods](https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-sync-skills-and-docs-from-commit/github.svg)](https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-sync-skills-and-docs-from-commit)
Your own site
<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-sync-skills-and-docs-from-commit"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-sync-skills-and-docs-from-commit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ak-dev-sync-skills-and-docs-from-commit

Your own site · 80×15
<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-sync-skills-and-docs-from-commit"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-sync-skills-and-docs-from-commit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,476 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.02476
Opus 5.5 $0.00024 $0.00990
Sonnet 5.5 $0.00012 $0.00495
Haiku 4.5 $0.00006 $0.00248

Measured 1mo ago against content hash 9a47b1f16099, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ak-dev-sync-skills-and-docs-from-commit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/ak-dev-sync-skills-and-docs-from-commit/SKILL.md · 282 lines

How it starts

The opening of the file, as written. The whole thing — 282 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sync Skills and Docs From Commit Hash

Use this skill to process a specific commit hash and synchronize both skill trees and documentation based on what changed in that commit.

This skill combines the intent of:

  • ak-dev-sync-skills-from-branch
  • ak-dev-sync-docs-from-branch

but uses a commit hash as the primary unit of analysis.

Goal

Given a commit hash (typically on develop after PR merge), analyze the introduced code changes and update:

  • developer skills under .agents/skills/
  • user skills under ak-py/src/agentkernel/skills/
  • documentation surfaces including root docs, package docs, docs website, deployment READMEs, and example READMEs

Primary Automation Context

This skill is intended for GitHub Actions automation when a commit lands on develop from a merged PR.

Expected automation behavior:

  1. Trigger on push to develop.
  2. Ignore direct commits and ignore bot/app-driven commits.
  3. Resolve PR metadata associated with the pushed commit hash.
  4. Run this skill against that commit hash.
  5. Commit generated skill/docs updates to an automation branch.
  6. Open a PR for human review.
  7. Human approves and merges.
  8. Future runs ignore automation-generated sync PR commits to prevent circular updates.

Inputs

Required:

  • commit_sha: full SHA of the commit to analyze

Optional but recommended:

  • base_branch: default develop
  • repo_owner
  • repo_name
  • associated_pr_number

Step 1: Validate Commit Eligibility

Before analyzing, validate that this commit should be processed.

Skip processing when any of the following is true:

  1. Commit is not on develop.
  2. Commit is from a bot/app actor (for example github-actions[bot] or any *[bot]).
  3. Commit is not associated with a merged PR into develop (direct push or manual commit).
  4. Commit belongs to an automation-generated sync PR (loop prevention).
    • Example loop markers:
      • PR label: auto-skill-doc-sync
      • automation branch prefix: auto/skill-doc-sync/
      • title prefix: chore(auto): sync skills/docs

Read the full file on GitHub · 282 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines 9a47b1f16099
  2. 1mo ago Changed · +5 lines ae68a71c471e
  3. 2mo ago First seen · 276 lines · 61 tokens per session scan A ad499af83a05

Subscribe to this mod's changes

ak-dev-sync-skills-and-docs-from-commit is a skill published in the GitHub repository yaalalabs/agent-kernel (192 stars, last pushed yesterday), licensed Apache-2.0. It adds 61 tokens to every session and 2,476 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ak-dev-sync-skills-and-docs-from-commit compared with skills from other repositories

ak-dev-sync-skills-and-docs-from-commit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ak-dev-sync-skills-and-docs-from-commityaalalabs/agent-kernelSkill192yesterdayApache-2.0A61Claude Code, Codex
bitbucketArvo-AI/auroraSkill454yesterdayApache-2.0A23Claude Code
cloud-native-security-defensivej4flmao/agent-skillsSkill383d agoMITA127Claude Code, Codex
conventional-commitsstrands-compose/sdk-pythonSkill73d agoApache-2.0A43Claude Code, Codex
app-store-changelog-v2diegosouzapw/awesome-omni-skillsSkill1704mo agoMITA56Codex
git-workflowtimwukp/agent-skills-best-practiceSkill121mo agoMITA49Claude Code
git-conventionsmakigjuro/cloudstack-ai-pluginsSkill14d agoMITA42Claude Code