workflow-git-worktree

A set of Git worktree conventions for coordinating multiple agents that edit the same repository at the same time. A Git worktree is a separate working folder linked to one repository.

In plain words
What is it for?
Use it before assigning concurrent, write-mode tasks to multiple agents in one repository.
Why use it?
It helps prevent agents working in parallel from overwriting or confusing each other's changes.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/developer239/michals-opencode-cookbook/workflow-git-worktree
Any agent
npx skills add developer239/michals-opencode-cookbook --skill workflow-git-worktree
Clone the repo
git clone --depth 1 https://github.com/developer239/michals-opencode-cookbook

Made for: Claude Code, Codex.

Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,669 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin unknown 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 $0.00035 $0.04669
Opus 5 $0.00017 $0.02335
Sonnet 5 $0.00007 $0.00934
Haiku 4.5 $0.00003 $0.00467

Measured yesterday against content hash a80a5564a763, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

workflow-git-worktree scanned grade C with 1 finding 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 yesterday.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Removing worktrees with `rm -rf` instead of `git worktree remove`. Leaves stale entries in the worktree registry that block future `git worktree add` calls.
src/skills/workflow-git-worktree/SKILL.md · 339 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. yesterday First seen · 339 lines · 35 tokens per session scan C a80a5564a763

Subscribe to this mod's changes

workflow-git-worktree is a skill published in the GitHub repository developer239/michals-opencode-cookbook (1 stars, last pushed 1mo ago), with no licence file. It adds 35 tokens to every session and 4,669 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). 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

ultracite

Ultracite is a zero-config linting and formatting preset for JavaScript/TypeScript projects. Use when: (1) Setting up or initializing Ultracite in a project (ultracite init), (2) Running linting or formatting commands (check, fix, doctor), (3) Writing or reviewing JS/TS code in a project that uses Ultracite — to…

agustinusnathaniel/nextarter-tailwind · 142 tokens

next-upgrade

Upgrade Next.js to the latest version following official migration guides and codemods.

agustinusnathaniel/nextarter-tailwind · 19 tokens

regenerate-api

Regenerate the AppointMe frontend API client (orval/TanStack Query hooks + TypeScript schemas) after the backend OpenAPI surface changes. Use this whenever backend endpoints, request/response DTOs, or other contract-affecting types are added, removed, or modified — e.g. after editing files under src/AppointMe.Api…

bravodev-hub/appointme · 136 tokens

verify

Build, launch, and drive the AppointMe stack to verify a change end-to-end at its runtime surface.

bravodev-hub/appointme · 25 tokens

add-notification-feature

Adds Firebase Cloud Messaging (FCM) push notifications to one app under apps/{app}/: device token, foreground/background/terminated handling, topic subscriptions, tap-to-open-a-page routing, and image (rich) notifications. FCM only — no CleverTap.

abhinav503/flutter-agentic · 0 tokens

connect-firebase

Connects one app under apps/{app}/ to a Firebase project. Follow every step in the guide below. Notes on how this skill splits the work.

abhinav503/flutter-agentic · 0 tokens