ak-dev-sync-docs-from-branch

ak-dev-sync-docs-from-branch is a skill for Claude Code, Codex from yaalalabs/agent-kernel. It costs 77 tokens per session (1,788 once invoked), scanned A, original, Apache-2.0.

A documentation synchronization guide for Agent Kernel, a software project with Python libraries, deployment tools, examples, and a documentation website. It updates documentation based on changes already made in a feature or bugfix branch.

In plain words
What is it for?
Reviewing branch changes and updating the main README, developer guide, Python documentation, deployment guides, example guides, and documentation site.
Why use it?
It prevents user and contributor documentation from falling behind the implementation before changes are merged.

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-docs-from-branch
Any agent
npx skills add yaalalabs/agent-kernel --skill ak-dev-sync-docs-from-branch
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-docs-from-branch

README.md
[![agentmods](https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-sync-docs-from-branch.svg)](https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-sync-docs-from-branch)
Your own site
<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-sync-docs-from-branch"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-sync-docs-from-branch.svg" alt="Measured on agentmods" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,788 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.00077 $0.01788
Opus 5 $0.00039 $0.00894
Sonnet 5 $0.00015 $0.00358
Haiku 4.5 $0.00008 $0.00179

Measured 5d ago against content hash 0fe6e8036265, 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-docs-from-branch 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 5d 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-docs-from-branch/SKILL.md · 237 lines

How it starts

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

Sync Documentation From Branch Changes

Use this skill when a feature branch or bugfix branch is functionally ready and you need to align Agent Kernel documentation with what actually changed.

This skill is for documentation maintenance driven by code diff, not for implementing the feature itself.

Goal

Read the branch delta, infer what user-facing and contributor-facing documentation changed, then update the relevant docs across the repository.

Required documentation surfaces covered by this skill:

  1. ak-py/README.md
  2. docs website content under docs/ — update existing pages, add pages, remove obsolete pages, and adjust intro/getting-started/reference sections as needed
  3. README files under ak-deployment/
  4. example README files when an example was added or changed, plus docs-site references to those examples
  5. root README.md
  6. root DEVELOPER_GUIDE.md

When to Use This Skill

Use this skill when all of the following are true:

  1. The developer is on a feature or bugfix branch.
  2. The implementation is already done or nearly done.
  3. There are new commits on the branch and/or uncommitted local changes.
  4. The branch changes behavior, setup, APIs, integrations, deployment flows, examples, capabilities, or contributor workflows in ways documentation should reflect.

Do not use this skill as the first step of a feature. Use it near the end, before merge or PR finalization.

Step 1: Determine the Comparison Base

Find the correct baseline branch first.

Preferred order:

  1. The PR target branch if it is known.
  2. The upstream tracking branch for the current branch.
  3. origin/develop.
  4. develop.

For this repository, prefer origin/develop or develop as the default base branch unless the PR target or upstream tracking branch says otherwise.

Use Git to identify the merge base between the current branch and that baseline.

Minimum evidence to gather:

  • current branch name
  • merge base commit
  • commits since merge base
  • staged changes
  • unstaged changes

Read the full file on GitHub · 237 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. 5d ago First seen · 237 lines · 77 tokens per session scan A 0fe6e8036265

Subscribe to this mod's changes

ak-dev-sync-docs-from-branch is a skill published in the GitHub repository yaalalabs/agent-kernel (166 stars, last pushed yesterday), licensed Apache-2.0. It adds 77 tokens to every session and 1,788 once invoked, about $0.0004 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.