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.
npx skills add LeeYudok/agents-scaffold --skill yd-git-syncgit clone --depth 1 https://github.com/LeeYudok/agents-scaffoldWrote 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.
[](https://agentmods.dev/skills/leeyudok/agents-scaffold/yd-git-sync)<a href="https://agentmods.dev/skills/leeyudok/agents-scaffold/yd-git-sync"><img src="https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/yd-git-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.
<a href="https://agentmods.dev/skills/leeyudok/agents-scaffold/yd-git-sync"><img src="https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/yd-git-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00151 | $0.01455 |
| Opus 5.5 | $0.00060 | $0.00582 |
| Sonnet 5.5 | $0.00030 | $0.00291 |
| Haiku 4.5 | $0.00015 | $0.00145 |
Grade A, and why
yd-git-sync 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 today.
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- yd-git-sync — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
yd-git-sync
역할
같은 저장소가 여러 호스트에 클론되어 있을 때 둘을 맞춘다.
- git 이 추적하는 것: origin 기준으로 맞추고 같은지 증명한다.
- git 이 추적하지 않는 것: 원본 자료처럼
.gitignore에 있는 폴더다. 호스트 사이에서 합집합으로 채운다.
커밋·푸시·MR 은 하지 않는다. 그것은 yd-git-ship 이 맡는다.
워크플로
호스트 이름 local 은 지금 셸이고, 나머지는 ssh 별칭이다. 저장소 경로는 호스트마다 $HOME 기준으로 같다고 본다. 기본값은 지금 저장소의 경로이고, 다르면 --repo-path 로 준다. 명령은 대상 저장소 안에서 돌린다.
1. git 상태 맞추기
python3 <skill>/scripts/repo_state.py local pig doksam --pull
- 고친 파일이 없는 클론만
git pull --ff-only로 당긴다. 고친 파일이 있는 클론은 건너뛰고 표에skip-dirty로 남긴다. 그 클론의 변경을 버리거나 stash 하지 않는다. 사용자에게 보고한다. - 판정은 셋이 같아야 "같음"이다. HEAD, 추적 파일 수, 목록 해시(
git ls-files -s | git hash-object --stdin)다. 목록 해시는 경로·모드·blob 해시를 다 담으므로 이름과 내용이 같다는 뜻이다. - 디스크 파일 수(
find -type f)로 비교하지 않는다. 추적 심링크는 빠지고, ignore 된node_modules·.venv는 들어가서 호스트마다 다르게 나온다. 표의links열이 추적 심링크 수다.
2. 미추적 폴더 합집합
python3 <skill>/scripts/union_sync.py local pig doksam --dir docs # 계획
python3 <skill>/scripts/union_sync.py local pig doksam --dir docs --apply # 복사 + 재검증
먼저 계획을 보여 주고, 사용자가 범위를 정했으면 --apply 한다. 규칙은 이렇다.
- 지우지 않고 덮어쓰지 않는다. 없는 파일만 채운다.
- 같은 경로·다른 내용은 충돌이다. 어느 쪽에도 복사하지 않고 해시와 함께 보고한다. 어느 판본을 남길지는 사용자가 정한다.
- 한글 파일명은 NFC 로 비교한다. 맥에서 만든 이름은 NFD 라, 리눅스에서는 같은 이름도 다른 파일이 된다. 원격에는 NFC 이름으로 쓴다. rsync 로 그냥 밀면 NFC·NFD 중복이 생긴다. 맥 기본 rsync 는 openrsync 라
--iconv도 없다. - 한 호스트에 NFC·NFD 이름이 둘 다 있으면
NFC/NFD 중복으로 보고만 한다. 지우는 것은 사용자 확인 뒤다. .DS_Store·__pycache__·*.pyc·.git은 기본으로 뺀다. 머신마다 내용이 달라 충돌로만 잡힌다. 더 뺄 것은--exclude <패턴>이다.- 복사는
local을 허브로 한다. 원격에만 있는 파일을 로컬로 받은 뒤 다른 원격으로 보낸다. 서버끼리 직접 ssh 가 안 되어도 동작한다.
3. 지우기 요청
"DRM 걸린 파일 지워" 같은 삭제는 이 스크립트가 하지 않는다. 대상을 헤더·이름으로 식별해 목록을 먼저 보여 주고, 사용자 지시 범위만 호스트마다 지운다. 식별할 때 내용을 열거나 복호화하지 않는다. 예를 들어 Fasoo DRM 은 파일 앞 8바이트가 \x9b DRMONE 이다. Office 비밀번호 암호화(EncryptionInfo·StrongEncryptionDataSpace 스트림)는 DRM 이 아니므로 따로 보고한다.
함정
union_sync.py원격 쪽은python3과 GNU tar(--skip-old-files)가 필요하다. 원격이 맥이면 tar 가 bsdtar 라 실패한다.- ssh
ControlPersist소켓이 살아 있으면 끊긴 별칭도 되는 것처럼 보인다. 실패하면 별칭부터 의심한다. - 맥에서 받은 파일은 맥 umask 를 따른다. 다른 계정이 읽어야 하면 그 자리에서 권한을 맞춘다.
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- today First seen · 67 lines · 151 tokens per session scan A 55fc3a9c9bca
yd-git-sync is a skill published in the GitHub repository LeeYudok/agents-scaffold (36 stars, last pushed today), licensed MIT. It adds 151 tokens to every session and 1,455 once invoked, about $0.0006 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-10-25.
Other skills, from other repositories
memstack-security-git-guard
Use when the user says 'git-guard', 'check git protection', 'is this repo protected', 'verify gitleaks', 'set up git hooks', 'install git-guard', or wants to confirm a repo blocks secrets and internal files before commit. This is an installer and verifier, NOT a scanner (gitleaks does the actual scanning). Do NOT use…
memstack-development-changelog-generator
Use when the user says 'generate changelog', 'update changelog', 'what changed', 'release notes', 'write changelog', or needs a formatted CHANGELOG.md from git commit history. Do NOT use for diary entries, git log viewing, or commit message writing.
bitbucket-workflow
Bitbucket best practices for pull requests, Pipelines CI/CD, Jira integration, and Atlassian ecosystem workflows.
git-workflow
Git conventions and workflow guidelines using Conventional Commits, branching strategies, and best practices for version control.
github-workflow
GitHub best practices for pull requests, code reviews, issues, Actions workflows, and repository management.
gitlab-workflow
GitLab best practices for merge requests, CI/CD pipelines, issue tracking, and DevOps workflows.