checkout

checkout is a skill for Claude Code from thkt/dotclaude. It costs 24 tokens per session (428 once invoked), scanned A, original, MIT.

A Git command workflow for creating a new branch from the current repository changes and optional ticket or task context. Git is a tool for tracking code changes and branches are separate lines of work.

In plain words
What is it for?
Reviewing the current diff, selecting a branch name according to project rules, and creating the branch with git checkout.
Why use it?
It removes the manual work of inspecting changes and choosing a branch name, while handling cases such as no changes or a duplicate name.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Good fit Reviewing the current diff, selecting a branch name according to project rules, and creating the branch with git checkout.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thkt/dotclaude/checkout
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 thkt/dotclaude --skill checkout
Clone the repo
git clone --depth 1 https://github.com/thkt/dotclaude

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 checkout

README.md
[![agentmods](https://agentmods.dev/badge/skills/thkt/dotclaude/checkout/github.svg)](https://agentmods.dev/skills/thkt/dotclaude/checkout)
Your own site
<a href="https://agentmods.dev/skills/thkt/dotclaude/checkout"><img src="https://agentmods.dev/badge/skills/thkt/dotclaude/checkout/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 checkout

Your own site · 80×15
<a href="https://agentmods.dev/skills/thkt/dotclaude/checkout"><img src="https://agentmods.dev/badge/skills/thkt/dotclaude/checkout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 428 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00024 $0.00428
Opus 5.5 $0.00010 $0.00171
Sonnet 5.5 $0.00005 $0.00086
Haiku 4.5 $0.00002 $0.00043

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

Security

Grade A, and why

checkout 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 1mo 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.

.ja/skills/checkout/SKILL.md · 35 lines

What it actually says

/checkout - Git ブランチ作成

build の Branch 段を手で行う版。ブランチ名は同じ規則で組み立てる。

入力

$ARGUMENTS はコンテキストまたはチケット番号を含み得る。空白を除去し、空文字列なら git の変更内容のみで解析する。非空ならブランチ名のスコープやチケット ID のヒントとして扱う。

実行

  1. git status と git diff HEAD を並列で実行し、変更内容を読む。git diff だけではステージ済みの変更が見えない
  2. 変更内容と $ARGUMENTS から、ブランチ名を 1 つ決める (§ ブランチ命名)
  3. git checkout -b <決めた名前> で新しいブランチを作成する

ブランチ命名

名前の組み立てと type の判定は ${CLAUDE_SKILL_DIR}/references/branch-naming.md に従う。

エラー処理

エラー 扱い
変更が無い ブランチを作らず、変更が無いことを報告する
同名のブランチが有る 別の名前を決めて作り直す
git リポジトリでない ブランチを作らず、その旨を報告する
Files

What ships with it

1 file 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.

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. 1mo ago First seen · 35 lines · 24 tokens per session scan A b70849d7eb1d

Subscribe to this mod's changes

checkout is a skill published in the GitHub repository thkt/dotclaude (12 stars, last pushed 25d ago), licensed MIT. It adds 24 tokens to every session and 428 once invoked, about $0.0001 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-08-30.

Related

Other skills, from other repositories

staleness-audit

Pre-commit audit. Invoke before every git commit. Diffs the staged change against the repo's "canaries" (README, decision log, roadmap, public API, doc comments, release notes, test discipline) and surfaces anything that's drifted out of sync. Updates the obvious drifts in place; flags judgement calls for the operator.

Flagrare/agent-skills · 75 tokens

babysit

Watch a pull request or review cycle until it is ready to merge. Use when asked to babysit, monitor, or keep checking PR comments, reviews, and CI until all actionable issues are resolved.

thedotmack/claude-mem · 44 tokens

github

GitHub via gh CLI: PRs, issues, reviews, repos, auth.

NousResearch/hermes-agent · 19 tokens

merge-batch

Prepare and merge an owner-selected PR batch with contributor credit and exact-candidate admission. Use for a pasted PR list; combined focused validation is diagnostic, and every actual landing still requires its applicable checks and authorization.

diegosouzapw/OmniRoute · 46 tokens

babysit

Watch an open PR — fix failing CI, handle the straightforward review comments, and drive it to a mergeable state. Claude Code analog of Cursor's built-in /babysit. Use after opening a PR when the user wants the agent to shepherd it without re-prompting.

michael-denyer/pstack-claude · 61 tokens

make-pr-easy-to-review

Prepare PRs for review by cleaning noisy history, improving PR descriptions, and adding reviewer guidance without changing code behavior. Use for "make this easy to review", "tidy this PR", "clean up commits", or "annotate the diff".

michael-denyer/pstack-claude · 57 tokens