checkout

checkout is a skill for Claude Code from martinemde/dotfiles. It costs 0 tokens per session (836 once invoked), scanned A, original, ISC.

A starting procedure for a new coding task that creates a change in Jujutsu, a version-control system, from the current default branch. It can also assign a named bookmark, similar to a branch label.

In plain words
What is it for?
It helps begin an issue or feature using an issue number, issue URL, or a supplied bookmark name.
Why use it?
It gives new work a clean, up-to-date starting point and records it separately from unrelated changes.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit It helps begin an issue or feature using an issue number, issue URL, or a supplied bookmark name.

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

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/martinemde/dotfiles/checkout.svg)](https://agentmods.dev/skills/martinemde/dotfiles/checkout)
Your own site
<a href="https://agentmods.dev/skills/martinemde/dotfiles/checkout"><img src="https://agentmods.dev/badge/skills/martinemde/dotfiles/checkout.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 836 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00000 $0.00836
Opus 5 $0.00000 $0.00418
Sonnet 5 $0.00000 $0.00167
Haiku 4.5 $0.00000 $0.00084

Measured 7d ago against content hash 2bcc1f11fde7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 7d 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.

home/dot_claude/skills/checkout/SKILL.md · 97 lines

How it starts

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

Checkout: Start a New Change for an Issue

Arguments

$ARGUMENTS

Pre-computed Context

Working copy: !`jj log -r @ --no-graph -T 'change_id.shortest() ++ " " ++ if(description, description.first_line(), "(no description)")' 2>/dev/null`
Working copy empty: !`jj diff --stat 2>/dev/null | head -1`
Log: !`jj log -r 'ancestors(@, 5)' --no-graph -T 'change_id.shortest() ++ " " ++ bookmarks ++ " " ++ if(description, description.first_line(), "(empty)") ++ "\n"' 2>/dev/null`

Constraints

  • Do not abandon changes or discard work without user confirmation.

Instructions

1. Parse Arguments

Determine what $ARGUMENTS contains:

Pattern Action
#123 or issue URL Fetch issue title, derive bookmark name
Bookmark name (e.g., feat/dark-mode) Use directly
Empty Ask what to work on

2. Derive Bookmark Name (from issue)

If $ARGUMENTS is an issue reference:

  1. Fetch: gh issue view <number> --json number,title,labels
  2. Derive bookmark name from issue metadata:
    • Check labels for conventional commit type hints (bug/fix labels → fix/, feature labels → feat/, chore/maintenance labels → chore/, default → feat/)
    • Format: <prefix><number>-<kebab-case-title> (e.g., feat/123-add-dark-mode)
    • Truncate to 60 characters max

3. Handle Existing Work

Check pre-computed context for the current working copy state.

In jj, the working copy @ is always a change being edited. Before starting new work, assess:

Situation Action
Working copy is empty (no diff) Safe to proceed — jj new will leave an empty change behind (auto-abandoned)
Working copy has changes with a description Suggest jj commit first to finalize, then proceed
Working copy has changes without a description Suggest jj commit -m "..." or jj describe -m "..." first
Conflicts exist (jj st shows conflicts) Inform user and wait for guidance

Read the full file on GitHub · 97 lines

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. 7d ago First seen · 97 lines · 0 tokens per session scan A 2bcc1f11fde7

Subscribe to this mod's changes

checkout is a skill published in the GitHub repository martinemde/dotfiles (9 stars, last pushed 7d ago), licensed ISC. It costs nothing until one of its globs matches a file; then it loads 836 tokens. 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-31.

Related

Other skills, from other repositories