Skip to content
Development
Skill

/coordinate-worktrees-and-threads

Assign worktree, branch, write, validation, integration, and cleanup ownership before parallel repository work. Use when a worker will inspect or modify repository state outside the coordinator's worktree.

From plugin
socket
9200 skills5 MCP

Claude Code

$ npx -y skills add gaelic-ghost/socket --skill coordinate-worktrees-and-threads --agent claude-code

SKILL.md

coordinate-worktrees-and-threads.SKILL.md
name: coordinate-worktrees-and-threads
description: Assign worktree, branch, write, validation, integration, and cleanup ownership before parallel repository work. Use when a worker will inspect or modify repository state outside the coordinator's worktree.

Coordinate Worktrees And Threads

Establish repository ownership before a worker begins. A thread is not a worktree, and a branch is not permission to make shared Git mutations.

Launch Record

For every worker, record the worker/task identity, coordinator, repository and base commit, worktree path, branch, read/write scope, allowed Git operations, validation lane, output/merge target, final report route, and retention or cleanup decision.

Rules

  • Give parallel writers disjoint files or directories and separate worktrees.
  • When a Codex-managed worktree versus a plain Git worktree is itself a

decision, hand that host-specific choice to `repository-skills:codex-gui-worktree-workflow`; retain this skill's host-neutral ownership record in either case.

  • Serialize Git operations that change shared repository state. A worker must

not assume it owns tags, merges, release branches, deletion, or cleanup.

  • Serialize heavy build and test lanes unless the environment explicitly proves

they are independent and safe.

  • Keep final integration, conflict resolution, release, branch accounting, and

cleanup with the coordinator unless the user explicitly assigns them.

  • When a worker returns, report branch/worktree state, commits, validation,

uncommitted changes, artifacts, and the recommended integration action.

Completion

The coordinator explicitly chooses whether to retain the worker thread or worktree for follow-up, merge/preserve its result, archive it, or remove it after branch accounting. Never delete a worktree or branch merely because a worker says it is done.

Read more
@gaelic-ghost
Ships withsocket

Stuff for Agents on macOS Promo audio: Socket Codex Marketplace Promo

9200 skills5 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
9
Star history of gaelic-ghost/socket on GitHub, a chart by star-history.com

Other skills on socket.

orchestrate-agent-work

orchestrate-agent-work

Coordinate bounded worker tasks with a launch envelope, report-back, escalation, and synthesis contract. Use before spawning,…

@gaelic-ghost@gaelic-ghostInstall Skill
schedule-agent-work

schedule-agent-work

Choose and design one-shot, recurring, event-triggered, monitored, CI, background, queue, or board-based agent work. Use when…

@gaelic-ghost@gaelic-ghostInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about coordinate-worktrees-and-threads.

Which coding agents can use coordinate-worktrees-and-threads?
coordinate-worktrees-and-threads installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.