Home / uchicago-dsi / ai-sci-skills · skills/shared-checkout-git/SKILL.md · GitHub

shared-checkout-git skillA

shared-checkout-git is agent-read markdown (skill) from uchicago-dsi/ai-sci-skills: Stage and commit safely when several agents or people share one working tree, so no one absorbs another owner's in-flight work. Use before any git add or git commit in a checkout that other agents are editing concurrently..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Git In A Shared Checkout

The index is shared state. Two agents editing disjoint files are fine; two agents
touching the index are not.

## Give Each Bounded Change One Staging Owner

- Assign one explicit staging/commit owner per bounded change. Other agents may
  inspect or edit disjoint files, but they must not stage or commit while that
  owner is active.
- Immediately before staging, and again before committing, the owner must inspect
  the index and working tree, stage only the named paths, and stop if an unexpected
  staged path or an overlapping edit appears.
- Never use a shared `git add -A`, amend another agent's commit, or reset the shared
  index to repair a collision.
- A validation run across a populated index is a collision window, and the other
  owner's next commit will absorb whatever is sitting there.

## Stage And Commit As One Action

`git add` followed by a separate `git commit` is two actions, and another owner's
commit can land between them however fast you are. That absorbed two agents' work
in one day, one of them a 417-line file that ended up inside an unrelated commit.

So either run validation *before* staging, or hold the change unstaged until the
…

Read the whole file at its exact version.

How to install

Latest version
mdr add uchicago-dsi/ai-sci-skills/shared-checkout-git@git:20260922.57040a2
Exact content
mdr add uchicago-dsi/ai-sci-skills/shared-checkout-git@sha256:bbf67bda4b69ece5

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_44m2xmuhhbfye2tj.svg)](https://markdownregistry.com/a/art_44m2xmuhhbfye2tj)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260922.57040a2 latest2026-09-22 57040a2 3,243 BA view · diff
git:20260921.9b3de7c2026-09-21 9b3de7c 1,774 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3243 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

uchicago-dsi/ai-sci-skills · 20 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_44m2xmuhhbfye2tj
GET https://markdownregistry.com/api/v1/resolve?ref=uchicago-dsi/ai-sci-skills/shared-checkout-git
GET https://markdownregistry.com/api/v1/blob/bbf67bda4b69ece5334475277f2f9ae38d4e607c5e7124522c6acc35b04770dc

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from uchicago-dsi/ai-sci-skills

agentcomm skill
uchicago-dsi/ai-sci-skills · skills/agentcomm/SKILL.md · Coordinate agents through the AgentComm mailbox - installing it, binding a durable name, how Codex and Claude hooks…
git:20260922.0776e0f · audit A · 20 stars
bounded-auto-loop skill
uchicago-dsi/ai-sci-skills · skills/bounded-auto-loop/SKILL.md · Run a short, bounded autonomous loop of debugging or experiments before checking back in. Use when the user wants the…
git:20260728.3acf544 · audit A · 20 stars
claude-code-worker skill
uchicago-dsi/ai-sci-skills · skills/claude-code-worker/SKILL.md · Delegate a bounded coding, review, or research subtask from Codex to Claude Code in an isolated Git worktree, then…
git:20260922.608ac59 · audit A · 20 stars
decision-gates skill
uchicago-dsi/ai-sci-skills · skills/decision-gates/SKILL.md · Separate a scientific gate that decides promotion, continuation, stopping, or retirement from a mechanical check you…
git:20260921.9b3de7c · audit A · 20 stars
experiment-design skill
uchicago-dsi/ai-sci-skills · skills/experiment-design/SKILL.md · Design the smallest useful experiment matrix that separates important hypotheses and changes a decision. Use when the…
git:20260921.9b3de7c · audit A · 20 stars
handoff skill
uchicago-dsi/ai-sci-skills · skills/handoff/SKILL.md · Create a restart-ready handoff so a fresh agent or future turn can resume work without rereading the full conversation…
git:20260320.999ac68 · audit A · 20 stars
humanize skill
uchicago-dsi/ai-sci-skills · skills/humanize/SKILL.md · Edit prose so it sounds like the author and reads plainly - stripping formulaic AI phrasing and replacing jargon with…
v2.1.0 · audit A · 20 stars
job-babysitting skill
uchicago-dsi/ai-sci-skills · skills/job-babysitting/SKILL.md · Directly monitor long-running jobs or pipelines, classify them as healthy, waiting, stalled, failed, completed, or…
git:20260921.9b3de7c · audit A · 20 stars
lab-notebook skill
uchicago-dsi/ai-sci-skills · skills/lab-notebook/SKILL.md · Record work in a lab notebook so it is both a literal activity log and an efficient re-entry aid. Use when the agent is…
git:20260921.9b3de7c · audit A · 20 stars
leakage-and-splits skill
uchicago-dsi/ai-sci-skills · skills/leakage-and-splits/SKILL.md · Keep held-out data genuinely held out: assign split eligibility to whole source groups, count independent units rather…
git:20260921.9b3de7c · audit A · 20 stars
maintenance-pass skill
uchicago-dsi/ai-sci-skills · skills/maintenance-pass/SKILL.md · Run safe, high-yield codebase maintenance passes that trim dead code, vestiges, duplicate implementations, stale…
git:20260921.9b3de7c · audit A · 20 stars
mission-control skill
uchicago-dsi/ai-sci-skills · skills/mission-control/SKILL.md · Coordinate multiple long-running agents or workers while preserving the global goal, current evidence, and timely…
git:20260921.9b3de7c · audit A · 20 stars

Every file in uchicago-dsi/ai-sci-skills

Browse by kind, by grade A, or by owner.