sync

sync is a skill for Claude Code from masa-san-jp/Agent-Aiko. It costs 104 tokens per session (835 once invoked), scanned B, original, MIT.

A command for synchronizing a local agent-definition folder with GitHub. GitHub is a service for storing and sharing code and related files, while synchronization keeps local and remote copies aligned.

In plain words
What is it for?
Use it to pull remote changes, push local agent changes, check sync status, or run all three operations together.
Why use it?
It reduces manual pull, commit, and push work and avoids touching unrelated folders.

Skill for Claude Code

Written for Claude Code: SessionStart hook event.

Good fit Use it to pull remote changes, push local agent changes, check sync status, or run all three operations together.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/masa-san-jp/agent-aiko/sync
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.

Any agent
npx skills add masa-san-jp/Agent-Aiko --skill sync
Clone the repo
git clone --depth 1 https://github.com/masa-san-jp/Agent-Aiko

Made for: Claude Code.

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 sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/sync/github.svg)](https://agentmods.dev/skills/masa-san-jp/agent-aiko/sync)
Your own site
<a href="https://agentmods.dev/skills/masa-san-jp/agent-aiko/sync"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/sync/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 sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/masa-san-jp/agent-aiko/sync"><img src="https://agentmods.dev/badge/skills/masa-san-jp/agent-aiko/sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 835 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00104 $0.00835
Opus 5.5 $0.00042 $0.00334
Sonnet 5.5 $0.00021 $0.00167
Haiku 4.5 $0.00010 $0.00084

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

Security

Grade B, and why

sync scanned grade B with 1 finding 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 3mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- 自動同期 hook:`{{ORG_REPO_PATH}}/.claude/settings.json` の SessionStart(pull)/ SessionEnd(push)
reference/skills/sync/SKILL.md · 77 lines

What it actually says

/sync

エージェント定義ディレクトリ(例:{{ORG_REPO_PATH}}/Agent-team/agents/ 配下)を GitHub と同期する手動コマンドの参考実装。パス・名称は各組織の構成に合わせて調整して使う。SessionStart / SessionEnd で自動実行される同期スクリプト(agent-sync.sh 相当)と同じスクリプトを呼ぶ。任意のタイミングで一発同期したいときに使う。

引数

  • 引数なし(デフォルト):full sync(pull → push → status)
  • pull:GitHub の最新を取り込むだけ
  • push:同期対象配下の変更を自動 commit & push するだけ
  • status:同期状態だけを表示

引数なし(デフォルト:full sync)

pull → push → status を一気に実行する。「いつでも同期したい」ときの基本コマンド。

bash {{ORG_REPO_PATH}}/Agent-team/tools/agent-sync/agent-sync.sh

出力例:

[agent-sync] pull 完了:xxxxxxx ...
[agent-sync] push 完了:xxxxxxx chore(sync): auto-sync agents YYYY-MM-DD HH:MM
同期状態:
  リモートと一致
  agents/ 配下のローカル変更: 0 件

引数 pull

GitHub の最新を取り込むだけ(fast-forward 可能なときに限る)。

bash {{ORG_REPO_PATH}}/Agent-team/tools/agent-sync/agent-sync.sh pull

ローカル変更があればスキップして警告のみ表示する。

引数 push

同期対象ディレクトリ配下の変更を自動 commit & push するだけ。

bash {{ORG_REPO_PATH}}/Agent-team/tools/agent-sync/agent-sync.sh push
  • 変更がなければ何もしない
  • 他ディレクトリの変更には触れない
  • コミットメッセージは chore(sync): auto-sync agents YYYY-MM-DD HH:MM で固定(書式は任意に変更可)

引数 status

同期状態だけを表示する。

bash {{ORG_REPO_PATH}}/Agent-team/tools/agent-sync/agent-sync.sh status

それ以外の引数

pull / push / status 以外を指定された場合は、上記のいずれかを指定するよう案内する。

関連

  • /log-push — ログ書き込みと push を同時に行う複合コマンド

関連ファイル

  • スクリプト本体:{{ORG_REPO_PATH}}/Agent-team/tools/agent-sync/agent-sync.sh(agent-sync.sh 相当)
  • 同期対象ディレクトリ:{{ORG_REPO_PATH}}/Agent-team/agents/
  • 自動同期 hook:{{ORG_REPO_PATH}}/.claude/settings.json の SessionStart(pull)/ SessionEnd(push)
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. 3mo ago First seen · 77 lines · 104 tokens per session scan B bd5c3619187b

Subscribe to this mod's changes

sync is a skill published in the GitHub repository masa-san-jp/Agent-Aiko (3 stars, last pushed 25d ago), licensed MIT. It adds 104 tokens to every session and 835 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

sync compared with skills from other repositories

sync next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
syncmasa-san-jp/Agent-AikoSkill325d agoMITB104Claude Code
update-skillsmicrosoft/vscodeSkill196ktodayMITA51Claude Code, Codex
syncmicrosoft/vscodeSkill196ktodayMITA52Claude Code, Codex
mergemicrosoft/vscodeSkill196ktodayMITA31Claude Code, Codex
publish-npm-versionprisma/ormSkill48ktodayApache-2.0A206Claude Code, Codex
triage-contributor-prprisma/ormSkill48ktodayApache-2.0A131Claude Code
contrib-prprisma/ormSkill48ktodayApache-2.0A65Claude Code, Codex