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 agentmods add skills/minorun365/my-claude-code-settings/commit-pushnpx skills add minorun365/my-claude-code-settings --skill commit-pushgit clone --depth 1 https://github.com/minorun365/my-claude-code-settingsWhat 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 | $0.00038 | $0.01301 |
| Opus 5 | $0.00019 | $0.00651 |
| Sonnet 5 | $0.00008 | $0.00260 |
| Haiku 4.5 | $0.00004 | $0.00130 |
Grade A, and why
commit-push 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
未プッシュ変更の一括コミット&プッシュ
カレントディレクトリのGitリポジトリにある未プッシュの変更(unstaged、staged、untracked)をすべて確認し、論理的に適切な単位でコミットを分割してからプッシュします。
前提条件
- カレントディレクトリがGitリポジトリであること
- リモート(origin)が設定されていること
実行手順
Step 1: リポジトリの状態を確認
git status
git log --oneline origin/$(git branch --show-current)..HEAD 2>/dev/null
以下の3種類の変更を把握する:
- 未コミットの変更: unstaged(変更済み)、staged(ステージ済み)、untracked(新規ファイル)
- 未プッシュのコミット: ローカルにあってリモートにまだプッシュされていないコミット
未コミットの変更がない場合は Step 2・3 をスキップして Step 4 へ進む。 未コミットの変更も未プッシュのコミットもない場合は「プッシュする変更はありません」と伝えて終了する。
Step 2: 変更内容を分析してコミット分割案を作成
まず変更規模だけを確認する(生 diff を親コンテキストに取り込まない):
git diff --stat
git diff --cached --stat
git ls-files --others --exclude-standard
規模で処理を分岐する(重要:Prompt is too long 対策)
git diff --stat の合計行数 / ファイル数で処理方針を変える:
- 小規模: 合計 500行未満 かつ ファイル数 20未満 → 親エージェントで処理。必要なら個別に
git diff -- <path>で本文確認 - 大規模: 上記を超える場合 → Agent ツール(subagent_type=general-purpose)に分割判定を委譲
大規模時のサブエージェント委譲プロンプトは自己完結で書く(親コンテキストを参照させない):
- リポジトリの絶対パス
- 「
git statusとgit diff/git diff --cachedを自分で実行して読み、下記の基準で論理単位のコミットに分割する計画を立ててほしい」 - 下記の分割基準を再掲
- 戻り値フォーマット:
[{"message": "1行日本語メッセージ", "files": ["path1", "path2"]}, ...]の JSON のみ(diff本文は返さない)
親はサブエージェントが返した JSON だけを受け取り、Step 3 以降の git add / git commit は親が実行する。これにより親のコンテキストに生 diff が流入せず Prompt is too long を回避できる。
分割基準
- 同じ機能・目的に関する変更はまとめる(例: 特定の機能追加に関するソース+テスト+設定)
- 異なる目的の変更は分ける(例: バグ修正とリファクタリングは別コミット)
- 設定ファイルの変更(.gitignore、package.json等)は関連する変更と一緒にするか、独立させる
- ドキュメントの変更は内容に応じて関連コミットに含めるか独立させる
- 判断に迷う場合は少なめに分割する(1つにまとめてOK)
Step 3: 分割案に従ってコミット
分析結果に基づき、各コミットを順番に自動実行する。
# コミット1
git add <ファイル群>
git commit -m "コミットメッセージ"
# コミット2
git add <ファイル群>
git commit -m "コミットメッセージ"
- コミットメッセージは1行の日本語でシンプルに書く
- ユーザーがコミットメッセージを指定した場合はそれを優先する
Step 4: プッシュ
すべてのコミットが完了したら(または既存の未プッシュコミットのみの場合)プッシュする。
git push
- 上流ブランチが未設定の場合は
git push -u origin $(git branch --show-current)を使う - プッシュ失敗時はエラー内容をユーザーに伝え、対処法を提案する
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.
- 2d ago First seen · 108 lines · 38 tokens per session scan A 7fd192378957
commit-push is a skill published in the GitHub repository minorun365/my-claude-code-settings (129 stars, last pushed 3d ago), licensed MIT. It adds 38 tokens to every session and 1,301 once invoked, about $0.0002 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
agent-host-chat-contributions
Build and review cross-cutting agent-host chat behavior through lifecycle contributions. Use when adding turn lifecycle side effects, prompt or context injection, restored-history transformation, protocol-action observation, or when reviewing changes that add code to AgentSideEffects or AgentService.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.