Agent skill

Sync To Kag

by minorun365 in minorun365/marp-agent

一般公開版(marp-agent)の変更を、KAG社内版(marp-agent-kag)へマージで取り込む。公開版を本番へデプロイしたら必ず実行する。「kagにも反映して」「kag環境にも適用して」「同期して」で起動。

MITAuto-check: notesDocuments & Office

Install Sync To Kag

skills CLI
$ npx skills add minorun365/marp-agent --skill sync-to-kag -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install minorun365/marp-agent sync-to-kag --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/minorun365/marp-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/sync-to-kag .claude/skills/sync-to-kag && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sync-to-kag
GitHub stars
124
Token cost
~779 tokens
SKILL.md length
120 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

一般公開版(marp-agent)の変更を、KAG社内版(marp-agent-kag)へマージで取り込む。公開版を本番へデプロイしたら必ず実行する。「kagにも反映して」「kag環境にも適用して」「同期して」で起動。

  • Works in 6 steps: 公開版がpush済みか確かめる → KAG版の作業ツリーが空いているか確かめる → 取り込む → …
  • Tasks that involve Slides and decks
  • SKILL.md covers いつ実行するか, ⚠️ チェリーピックは使わない, 手順 and KAG版で得た知見を公開版へ戻したいとき
  • Calls git, npm and uv

What it does

Sync To Kag is an agent skill from minorun365/marp-agent. 一般公開版(marp-agent)の変更を、KAG社内版(marp-agent-kag)へマージで取り込む。公開版を本番へデプロイしたら必ず実行する。「kagにも反映して」「kag環境にも適用して」「同期して」で起動。

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Slides and decks. It works with Git. The licence is MIT.

When your agent uses it

  • Tasks that involve Slides and decks

Example prompts

  • “/sync-to-kag”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Bash

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. 公開版がpush済みか確かめる
  2. KAG版の作業ツリーが空いているか確かめる
  3. 取り込む
  4. コンフリクトしたら
  5. テストを通してからpush
  6. 本番へ反映するかは別の判断

What it can do on your machine

Read from SKILL.md and the folder at commit ada8f9c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • npm
    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, npm and uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sync To Kag loads about 779 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 120 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~779

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from minorun365/marp-agent at commit ada8f9c, republished under its MIT licence (© minorun365). 120 words, ~779 tokens.

Download SKILL.mdSave it as .claude/skills/sync-to-kag/SKILL.md (or your agent's skills folder).
name
sync-to-kag
description
一般公開版(marp-agent)の変更を、KAG社内版(marp-agent-kag)へマージで取り込む。公開版を本番へデプロイしたら必ず実行する。「kagにも反映して」「kag環境にも適用して」「同期して」で起動。
allowed-tools
Bash

KAG社内版へ取り込む(マージ方式)

公開版 marp-agent の変更を、KAG社内版 marp-agent-kag(ローカル ../marp-agent-kag)へ git merge で流す。方向は公開版 → KAG版の一方向だけ。

いつ実行するか

公開版を本番へデプロイしたら、その場で実行する。 deploy-prod の完了条件に入っている。 みのるんは「本番側を触らせたときに自動で発動すればいい」と明示しているので、 聞かずに実行する。「KAGにも反映しますか?」と確認しない。

デプロイを伴わないコード変更でも、公開版の main へ push したなら実行してよい。

⚠️ チェリーピックは使わない

KAG版は公開版から280コミット以上先行している(版設定の抽象化、GHE対応、社内テーマ)。 必要なものを1つずつ拾う方式は破綻するので、git merge だけを使う。 両リポジトリの .githooks/prepare-commit-msg がチェリーピックを機械的に拒否する。

2026-08-20 に「ディレクトリ構成が食い違うので同期そのものを停止」していたが、 2026-08-22 のリアーキテクチャで構成が揃い、停止は解除された。 実測では agent/ 配下は自動マージで通り、コンフリクトしたのは 両側で別々に育てたドキュメント1件だけだった。

手順

1. 公開版がpush済みか確かめる
bash
git -C ~/git/minorun365/marp-agent status --short
git -C ~/git/minorun365/marp-agent log --oneline @{u}..HEAD

未pushのコミットがあれば先にpushする(マージはリモートの upstream/main を見るため)。

2. KAG版の作業ツリーが空いているか確かめる
bash
git -C ~/git/minorun365/marp-agent-kag status --short
git -C ~/git/minorun365/marp-agent-kag branch --show-current

未コミットの変更があったら、そこで止めてみのるんへ報告する。 みのるんは20本以上の並行セッションを回しており、別のセッションがKAG版で作業中の可能性がある。 勝手に stash したりコミットしたりしない。ブランチが main でない場合も同じく止める。

3. 取り込む
bash
git -C ~/git/minorun365/marp-agent-kag fetch upstream
git -C ~/git/minorun365/marp-agent-kag log --oneline main..upstream/main

差分が無ければ「取り込むものはありません」と報告して終わる。あれば:

bash
git -C ~/git/minorun365/marp-agent-kag merge upstream/main
4. コンフリクトしたら

自分の判断で解決してよいのは、次の場合だけ。

状況解決
KAG版固有の設定(ドメイン・モデル・テーマ・デプロイ手順)KAG版側を採る
公開版で直したロジック・バグ修正公開版側を採る
両側で別々に書き足したドキュメント両方を残す(並べて統合する)

判断がつかないものが1つでもあれば、git merge --abort してみのるんへ聞く。 中途半端に解決してpushしない。

.gitattributes で merge=ours を指定しているファイル(cdk.json AGENTS.md CLAUDE.md README.md LICENSE)は、そもそもコンフリクトせずKAG版の内容が残る。 新しくそういうファイルが増えたら .gitattributes へ足す。

5. テストを通してからpush
bash
cd ~/git/minorun365/marp-agent-kag/agent && uv run --with pytest python -m pytest ../tests/ -q
cd ~/git/minorun365/marp-agent-kag && npm run lint && npm run test

落ちたら push しない。 マージで壊れたということなので、原因を直すか git merge --abort する。

通ったら push する。KAG版は github(GitHub.com・プライベート)と origin(GHE)の 2つのリモートを持つので、現在のブランチが追跡している側へ push する(git push だけでよい)。

6. 本番へ反映するかは別の判断

マージしただけではKAG版の本番は変わらない。 取り込んだ内容がエージェントの挙動や 画面に影響するなら、KAG版のデプロイが要る:

bash
cd ~/git/minorun365/marp-agent-kag && npm run infra:diff   # 削除差分が無いことを先に確認
cd ~/git/minorun365/marp-agent-kag && npm run infra:deploy
cd ~/git/minorun365/marp-agent-kag && npm run prod:verify
cd ~/git/minorun365/marp-agent-kag && npm run prod:smoke

ドキュメントだけの取り込みならデプロイは不要。判断して、やるなら実行し、報告に書く。

KAG版で得た知見を公開版へ戻したいとき

この経路では戻さない。 KAG版には社内固有のテーマ・ドメイン・移行元リソースIDが入っており、 逆方向のマージは公開リポジトリへ社内情報が流れる経路になる。 公開版にも当てはまる知見は、公開版側で書き直してコミットする。

そのため、共通のドキュメント(docs/knowledge/ など)は公開版で書き、マージで流すのが正しい向き。 KAG固有の記述はKAG版の docs/knowledge/kag-specific.md と docs/kag-migration.md にだけ置く。

© minorun365, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/sync-to-kag of minorun365/marp-agent.

Open the folder on GitHubat commit ada8f9c

Compare with similar skills

Sync To Kag next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sync To Kag compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sync To Kag this skillminorun365/marp-agent124—~779Automated safety check: NotesMIT
Coauthor Briefpedrohcgs/claude-code-my-workflow1.7k—~2.9kAutomated safety check: NotesMIT
Image To Editable Pptningzimu/image-to-editable-ppt-skill2.9k—~4.3kAutomated safety check: PassMIT
Slidesfcakyon/claude-codex-settings1.2k1 repos~1.1kAutomated safety check: PassMIT
Ppt Image FirstNyxTides/ppt-image-first1.2k—~1.6kAutomated safety check: PassApache-2.0
Vibe to Agentic Engineering Frameworkshanraisshan/claude-code-best-practice67k—~3.3kAutomated safety check: PassMIT

Similar skills

  • Coauthor Brief

    pedrohcgs/claude-code-my-workflow

    Generate a co-author / collaborator handoff brief for a multi-author, multi-machine project — summarizing what changed since the last brief (git delta), the current state of each artifact…

    1.7k GitHub stars~2.9k tokensUpdated 13 days ago
    Documents & OfficeAuto-check: notes
  • Image To Editable Ppt

    ningzimu/image-to-editable-ppt-skill

    Rebuild slide images, scanned or image-based PPT/PPTX files, and PDF decks into object-level editable PowerPoint (.pptx), preserving speaker notes when supplied.

    2.9k GitHub stars~4.3k tokensUpdated 25 days ago
    Documents & OfficeAuto-check passed
  • Slides

    fcakyon/claude-codex-settings

    Create and edit presentation slide decks (.pptx) with PptxGenJS, bundled layout helpers, and render/validation utilities.

    1.2k GitHub starsUsed in 1 repo~1.1k tokens
    Documents & OfficeAuto-check passed
  • Ppt Image First

    NyxTides/ppt-image-first

    Build presentation plans for PPT / slides / decks through a conversation-first workflow, then propose multiple visual directions with preview images before writing deck specs.

    1.2k GitHub stars~1.6k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check passed
  • Vibe to Agentic Engineering Framework

    shanraisshan/claude-code-best-practice

    Explains the conceptual model behind a presentation on moving from unstructured vibe coding to fully configured agentic engineering, including its 4-level scoring system and slide conventions.

    67k GitHub stars~3.3k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Gpt Image2 Ppt

    JuneYaooo/gpt-image2-ppt-skills

    Generate visually striking PPT slides via OpenAI's gpt-image-2 -- use any style in styles/<collection/STYLEID.md or mimic a user-supplied .pptx template; outputs high-res slide PNGs and a 16:9 .pptx.

    1.3k GitHub stars~8.9k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check: notes

More from minorun365/marp-agent

  • Sync Issues

    minorun365/marp-agent

    GitHubのissueとdocs/todo.mdを双方向同期する。新規issueをTODOに追加し、完了したTODOのissueをクローズする。

    124 GitHub stars~443 tokensUpdated 10 days ago
    Auto-check passed
  • Commit Docs

    minorun365/marp-agent

    デプロイ不要な変更をコミット([skip-cd]付きでAmplifyデプロイをスキップ). An agent skill from minorun365/marp-agent.

    124 GitHub stars~360 tokensUpdated 10 days ago
    Auto-check passed

Works with

Questions about Sync To Kag

What does Sync To Kag do?

一般公開版(marp-agent)の変更を、KAG社内版(marp-agent-kag)へマージで取り込む。公開版を本番へデプロイしたら必ず実行する。「kagにも反映して」「kag環境にも適用して」「同期して」で起動。. Sync To Kag is an agent skill from minorun365/marp-agent.

When should I use Sync To Kag?

Sync To Kag fits situations like: tasks that involve Slides and decks.

How do I install Sync To Kag in Claude Code?

Run `npx skills add minorun365/marp-agent --skill sync-to-kag -a claude-code`. Or copy the skill folder (.agents/skills/sync-to-kag in minorun365/marp-agent) into .claude/skills/sync-to-kag in your project. Claude Code loads it when a task matches its description.

How do I install Sync To Kag in Codex?

Run `npx skills add minorun365/marp-agent --skill sync-to-kag -a codex`. Or copy the skill folder (.agents/skills/sync-to-kag in minorun365/marp-agent) into .agents/skills/sync-to-kag in your project. Codex loads it when a task matches its description.

Can I use Sync To Kag in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add minorun365/marp-agent --skill sync-to-kag -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sync-to-kag, .gemini/skills/sync-to-kag, .github/skills/sync-to-kag and .opencode/skills/sync-to-kag in your project.

What does Sync To Kag need to run?

Going by SKILL.md and its folder, Sync To Kag needs the command-line tools its instructions call (git, npm and uv). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash.

Does Sync To Kag access the network?

SKILL.md contains no URLs. Its commands use git, npm and uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Sync To Kag safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Sync To Kag use?

Sync To Kag is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Sync To Kag use?

About 779 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Sync To Kag?

Skills that share tags, products or a category with Sync To Kag: Coauthor Brief (pedrohcgs/claude-code-my-workflow, 1.7k stars), Image To Editable Ppt (ningzimu/image-to-editable-ppt-skill, 2.9k stars), Slides (fcakyon/claude-codex-settings, 1.2k stars) and Ppt Image First (NyxTides/ppt-image-first, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sync To Kag?

minorun365 (a GitHub user) maintains it in minorun365/marp-agent, which has 124 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 1, 2026.

Source: minorun365/marp-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.