Skip to content
Back to skills

Claude Parallel Writers

ASecurity

run parallel claude code writers, such as PR owners or dependency workers, as desktop sessions in their own worktrees, with sub-agents as the fallback

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
ai-agentsgit

Works with

  • claude code

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 25, 2026

npx -y skills add nicholas-greenwood/agentic-engineering-skills --skill claude-parallel-writers --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Claude Parallel Writers?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Claude Parallel Writers
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nicholas-greenwood-claude-parallel-writers/badge)](https://www.skillsdirectory.com/skills/nicholas-greenwood-claude-parallel-writers)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: claude-parallel-writers
description: run parallel claude code writers, such as PR owners or dependency workers, as desktop sessions in their own worktrees, with sub-agents as the fallback
disable-model-invocation: true
---

how a claude code orchestrator runs parallel writers, such as PR owners or dependency workers, each in its own worktree. codex does not use this skill: it runs parallel writers as new threads

- the app refuses `start_session` in any turn the user's own message didn't start, including turns a writer's message or note wakes. so start every writer your calling skill plans in the turn that invoked it
- `start_session` with `initiation: "user_asked"`, `use_worktree: true` and a short `name`
- a session's worktree can start from a stale local branch, so each prompt names the writer's base and tells it to run `git fetch origin <base>`, then `git switch -C <worktree-branch> origin/<base>`, where `<worktree-branch>` is the branch the app checked out in its worktree, before it starts
- add your session id from `get_session` with `self` to each prompt, and tell the writer to send its result there with `SendMessage` before it ends its turn. the app's notes on writers' turns arrive only once every writer is idle and quote 400 characters, so read them as session status, never as results
- follow up with `SendMessage` to the writer's `local_…` session id
- for a writer that comes up later, or when `start_session` fails, use the first that works:
  1. `start_session` as above, in a turn the user's message started
  2. a writer session you started whose work has merged: send it the new task with its prompt values, and tell it to switch its worktree to a new branch from the freshly fetched base before it starts
  3. a sub-agent: read and follow [sub-agents.md](sub-agents.md)

complete when every planned writer has a session or a sub-agent, apart from writers your calling skill defers

Files in this skill

  • SKILL.md1.8 KB
  • agents/openai.yaml205 B
  • sub-agents.md2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.