git-manager

git-manager is a skill for Claude Code, Codex from joonlab/joonlab-claudecode-setting-for-share. It costs 161 tokens per session (3,133 once invoked), scanned A, original, MIT.

A version-control workflow that stores text files in Git and synchronizes non-text files through Hugging Face Hub, an online service for storing files and datasets. It also defines rules for initializing repositories and making commits.

In plain words
What is it for?
Use it when setting up Git, committing changes, reviewing history, rolling back versions, or managing projects that contain non-text files.
Why use it?
It keeps large or binary files such as images, videos, and PDFs out of Git while preserving a record of project changes. It also prevents commits that skip the required file-handling setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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/joonlab/joonlab-claudecode-setting-for-share/git-manager
Any agent
npx skills add joonlab/joonlab-claudecode-setting-for-share --skill git-manager
Clone the repo
git clone --depth 1 https://github.com/joonlab/joonlab-claudecode-setting-for-share

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 git-manager

README.md
[![agentmods](https://agentmods.dev/badge/skills/joonlab/joonlab-claudecode-setting-for-share/git-manager.svg)](https://agentmods.dev/skills/joonlab/joonlab-claudecode-setting-for-share/git-manager)
Your own site
<a href="https://agentmods.dev/skills/joonlab/joonlab-claudecode-setting-for-share/git-manager"><img src="https://agentmods.dev/badge/skills/joonlab/joonlab-claudecode-setting-for-share/git-manager.svg" alt="Measured on agentmods" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,133 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.1 $0.00161 $0.03133
Opus 5 $0.00081 $0.01566
Sonnet 5 $0.00032 $0.00627
Haiku 4.5 $0.00016 $0.00313

Measured 6d ago against content hash ac78b2003bc8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

git-manager scanned grade A 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 6d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run(["git", "add", "."])
claude/skills/git-manager/SKILL.md · 386 lines

How it starts

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

Git + Hugging Face 동기화 버전 관리

⚠️ 필수 행동 규칙 (반드시 따를 것)

Git 초기화/설정 요청 시

  1. 반드시 아래 .gitignore 템플릿 사용 (비텍스트 파일 전체 제외)
  2. 반드시 .hf-sync.json 파일 생성
  3. 기존 비텍스트 파일이 있으면 먼저 HF에 업로드 후 Git 커밋

커밋 요청 시 ("커밋해", "커밋해줘" 등)

  1. 먼저 비텍스트 파일 존재 여부 확인:
    find . -type f \( -name "*.jpg" -o -name "*.JPG" -o -name "*.jpeg" -o -name "*.png" -o -name "*.gif" -o -name "*.pdf" -o -name "*.docx" -o -name "*.xlsx" -o -name "*.pptx" -o -name "*.csv" -o -name "*.pkl" -o -name "*.mp4" -o -name "*.mp3" -o -name "*.zip" \) 2>/dev/null
    
  2. 비텍스트 파일이 있으면:
    • 절대 바로 git commit 하지 말 것
    • HuggingFace에 먼저 업로드
    • .hf-sync.json 업데이트
    • 그 후 Git 커밋 (텍스트 파일만)
  3. .gitignore에 해당 확장자가 없으면 먼저 추가

금지 사항

  • ❌ 비텍스트 파일을 Git에 직접 커밋
  • ❌ .gitignore 없이 또는 불완전한 .gitignore로 커밋
  • ❌ .hf-sync.json 없이 비텍스트 파일 관리

핵심 원칙

텍스트 파일만 Git에서 관리, 나머지는 모두 Hugging Face에서 동기화 관리

Git (로컬)                      Hugging Face
├── 텍스트 파일 ─────────────── 버전 관리 ✅
│   ├── *.txt, *.md
│   ├── *.py, *.js, *.ts
│   ├── *.json, *.yaml
│   ├── *.html, *.css
│   └── 기타 코드/설정 파일
│
└── 비텍스트 파일 ─────────────→ HF 동기화 버전 관리 ✅
    ├── 이미지 (*.jpg, *.png, *.gif, *.webp, *.svg, *.ico)
    ├── 문서 (*.pdf, *.docx, *.pptx, *.xlsx, *.hwp)
    ├── 데이터 (*.csv, *.pkl, *.h5, *.parquet)
    ├── 모델 (*.pt, *.pth, *.onnx, *.safetensors)
    ├── 미디어 (*.mp4, *.mp3, *.wav, *.mov)
    └── 압축 (*.zip, *.tar.gz, *.rar)

.hf-sync.json 파일로 Git 커밋과 HF 커밋을 매핑하여 완전한 버전 동기화.

Hugging Face 저장소 정보

초기 설정 워크플로우

1단계: Git 초기화

# .git 존재 여부 확인
ls -la | grep .git

# 없으면 초기화
git init

2단계: .gitignore 생성 (비텍스트 파일 모두 제외)

# macOS
.DS_Store
._*

# ========================================
# 비텍스트 파일 - Hugging Face에서 관리
# ========================================

# 이미지
*.jpg
*.jpeg
*.JPG
*.JPEG
*.png
*.PNG
*.gif
*.GIF
*.webp
*.svg
*.ico
*.bmp
*.tiff
*.heic
*.heif

# 문서
*.pdf
*.PDF
*.docx
*.doc
*.pptx
*.ppt
*.xlsx
*.xls
*.hwp

# 데이터
*.csv
*.pkl
*.pickle
*.h5
*.hdf5
*.parquet
*.feather
*.arrow
*.npy
*.npz

# ML 모델
*.pt
*.pth
*.onnx
*.safetensors
*.bin
*.model
*.weights

# 미디어
*.mp4
*.mp3
*.wav
*.mov
*.avi
*.mkv
*.flac
*.m4a

# 압축
*.zip
*.tar
*.tar.gz
*.tgz
*.rar
*.7z

# 환경/캐시
.env
__pycache__/
*.pyc
node_modules/
.venv/

Read the full file on GitHub · 386 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. 6d ago First seen · 386 lines · 161 tokens per session scan A ac78b2003bc8

Subscribe to this mod's changes

git-manager is a skill published in the GitHub repository joonlab/joonlab-claudecode-setting-for-share (10 stars, last pushed 27d ago), licensed MIT. It adds 161 tokens to every session and 3,133 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens