Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

sibling-checkout-commits

Skill by JetBrains

Takes commits from a sibling checkout on the same machine and applies them here as patches, without a git fetch. Suited to users who keep separate monorepo checkouts.

  • Score 79
  • 21k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install sibling-checkout-commits

Built from the published package, never by AI.

git clone --depth 1 https://github.com/JetBrains/intellij-community /tmp/intellij-community && mkdir -p ~/.claude/skills && cp -r /tmp/intellij-community/.agents/skills/sibling-checkout-commits ~/.claude/skills/sibling-checkout-commits

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install sibling-checkout-commits in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill copies commits from another checkout of the same monorepo on the same machine into the current checkout. It exports the commits as patches instead of running git fetch. The source says a fetch from a sibling was very slow on a large history and left remote-tracking refs and object copies behind. The skill is for cases where a new change depends on commits that exist only in the sibling checkout, and where clones, worktrees or shared directories are not an option.

A bundled script, take-patches.sh, takes the sibling path and a revision range. It writes the patches to out/sibling-patches/, then applies and commits them in order. It checks each new commit's patch id against its patch, and it stops on a mismatch or on a path that is dirty locally. Each commit covers only the paths its patch touches, so files staged by other sessions stay out. The script creates no refs and does not fetch.

Written from the project's SKILL.md and checked against it.

What it can do

  • Patch exportWrites the commits from a sibling range as patch files under out/sibling-patches/.
  • Ordered apply and commitApplies each patch and commits it in order, keeping the author, date and message from the patch.
  • Patch id checkConfirms each new commit's patch id equals its patch, and stops on a DIFF line.
  • Dirty path guardRefuses to run when a patch touches a path that is dirty in the receiving checkout.
  • Added, renamed and deleted pathsMarks new paths with git add -N so they are committed, and keeps deletions in the commit.
  • Shared index isolationCommits only the touched paths with git commit --only, so other sessions' staged files are not included.

What you need

  • Git
  • A second checkout of the same monorepo on the same machine
  • A shell to run the take-patches.sh script

Try asking

  • Take the commits after my base from ../idea-2 as patches into this checkout.
  • Apply the sibling commits in order, and stop if a patch id does not match.
  • Check whether the sibling patches for this range apply cleanly here.

Good to know

  • Does not fetch and creates no ref, so no remote-tracking ref is left behind.
  • Stops when a patch id differs or a patch does not apply. Conflicts are left for the user to decide.
  • Does not use git am, because git am commits the shared index.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/sibling-checkout-commits/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md3 KB
  • scripts/take-patches.sh3 KB

Alternatives to sibling-checkout-commits

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

sibling-checkout-commits: common questions

Why not use git fetch from a sibling checkout?

The source says a fetch from a sibling walked and packed the whole history, took over 15 minutes on about a hundred commits, and left a remote-tracking ref and object copies behind. A patch carries only the change.

How does it avoid including other staged files?

It runs git commit --only with the paths each patch touches, so the commit is built from HEAD plus those paths and not from the shared index.

What happens when a patch does not apply?

The script stops at that patch. The source says the sibling and this checkout diverged on that path, so the user decides how to proceed.

How do I install sibling-checkout-commits?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is sibling-checkout-commits free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is sibling-checkout-commits safe to use?

It scores 79 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to sibling-checkout-commits?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

sibling-checkout-commits Install

Add to stack

Loading.