ak-dev-sync-skills-and-docs-from-commit

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,134 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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/yaalalabs/agent-kernel/ak-dev-sync-skills-and-docs-from-commit
Any agent
npx skills add yaalalabs/agent-kernel --skill ak-dev-sync-skills-and-docs-from-commit
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.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.svg" alt="Measured on agentmods" 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,134 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00061 $0.02134
Opus 5 $0.00030 $0.01067
Sonnet 5 $0.00012 $0.00427
Haiku 4.5 $0.00006 $0.00213

Measured 4d ago against content hash ad499af83a05, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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 · 276 lines

How it starts

The opening of the file, as written. The whole thing — 276 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 · 276 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. 4d 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 (166 stars, last pushed today), licensed Apache-2.0. It adds 61 tokens to every session and 2,134 once invoked, about $0.0003 per session on Opus 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.