Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问许可证需确认审计异常

parallel-claudesparallel claudes 命令行

Agent Skill

parallel-claudes 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

720

周安装

30

GitHub Stars

10

下载量

240
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:parallel-claudes(parallel claudes 命令行)
来源仓库:https://github.com/joyco-studio/skills
仓库路径:skills/parallel-claudes
安装命令:
npx skills add https://github.com/joyco-studio/skills --skill parallel-claudes
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/joyco-studio/skills --skill parallel-claudes

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,支持代码变更与协作事项管理。

  • 适用于需要围绕仓库状态、代码提交或协作流程进行整理的场景,提升开发效率。
  • 通过 npx skills add 命令从指定仓库安装,建议结合原始 README 核验具体用法。
  • 使用前需确认权限范围、维护状态,并评估是否涉及联网、命令执行或文件读写操作。
  • parallel-claudes 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Parallel Claudes Orchestrator

You are the root orchestrator. When the user asks you to parallelize work, you manage the entire lifecycle: analyze the task, split it into subtasks, create isolated worktrees, launch headless Claude subagents, monitor their progress, and merge everything back.

Prerequisites

Before starting, verify these are available:

  • cw — if missing, install with: curl -fsSL https://raw.githubusercontent.com/joyco-studio/cw/main/install.sh | bash
  • claude CLI (Claude Code)
  • gh CLI (GitHub CLI, required for PR-based merge)

Your Orchestration Steps

Step 1: Analyze, Split, and Choose Merge Strategy

When the user describes a task, break it into independent subtasks that won't create file conflicts. Each subtask becomes a worktree with its own Claude subagent.

Rules for splitting:

  • Subtasks must not modify the same files
  • Each subtask should be self-contained and completable in isolation
  • Name worktrees descriptively (e.g., feat-auth, fix-nav, add-tests)

Tell the user your plan before proceeding: list the subtasks, their names, and what each subagent will do.

Before starting any work, you MUST ask the user which merge strategy to use:

  • Local merge (cw merge <name> --local) — squash-merges directly into the current branch, no PR created.
  • Remote merge via GitHub PR (cw merge <name>) — pushes the branch and opens a GitHub PR for review.

Use the AskUserQuestion tool to present this choice. Do NOT proceed to Step 2 until the user has answered.

Step 2: Create Worktrees

Use the Bash tool to create all worktrees. Always use --no-open — without it, cw new enters an interactive prompt that will hang indefinitely.

cw new <name> --no-open

Run all cw new commands sequentially in a single Bash call:

cw new feat-auth --no-open && cw new feat-api --no-open && cw new feat-tests --no-open

Step 3: Launch Subagents

Launch a headless Claude process in each worktree using the Bash tool with run_in_background: true. Each subagent runs autonomously and exits when done.

For each subtask, run a separate background Bash command:

cw cd <name> && claude -p "<detailed prompt>. Commit your changes when done." --output-format text --dangerously-skip-permissions

Critical rules:

  • Use -p flag — this runs Claude in non-interactive (print) mode. It executes the prompt and exits.
  • Use --output-format text for clean output.
  • Always use --dangerously-skip-permissions — subagents run in isolated worktrees (throwaway branches), so they need full autonomy to read, write, and execute without prompting for approval. Without this flag, subagents will hang waiting for permission in their terminal windows.
  • Always instruct the subagent to commit its changes when done. Without commits, cw merge has nothing to merge.
  • Launch all subagents in parallel — each one as its own background Bash call in a single message.
  • Write detailed prompts for each subagent. They have no context about the broader task — give them everything they need: what to build, where the relevant code is, what patterns to follow, and any constraints.

Step 4: Monitor Progress

After launching, poll for completion:

  • Use TaskOutput with block: false to check on each background task without blocking.
  • Use cw ls to see commits-ahead count for each worktree.
  • Report progress to the user as subagents complete.

Step 5: Verify Commits

Before merging, verify that each subagent actually committed its work. Run cw ls and check that every worktree shows commits ahead > 0.

cw ls

If a worktree has 0 commits ahead, the subagent failed to commit. Navigate into it and commit manually:

cw cd <name> && git add -A && git commit -m "Complete <subtask description>"

Do NOT proceed to merging until every worktree has at least one commit.

After verifying, provide the user with the commands to step into each worktree manually in case they want to review or continue the work themselves:

To step into any worktree and take over:
  cw cd <name>        # enter the worktree
  claude              # start an interactive Claude session there

List all worktree names so the user can copy-paste. Then ask the user if they want to proceed with merging or take over manually.

Step 6: Merge Results

Once all worktrees have verified commits, merge each one using the strategy the user chose in Step 1:

# If user chose remote (GitHub PR)
cw merge <name>

# If user chose local (squash merge, no PR)
cw merge <name> --local

If there are dependencies between subtasks (e.g., DB migrations before API routes), merge them in the correct order.

Step 7: Clean Up

After all merges are complete:

cw clean

cw Commands Reference

CommandDescription
cw new <name> --no-openCreate a worktree without interactive prompts
cw cd <name>Change directory into a worktree
cw lsList all worktrees with branch and commits-ahead count
cw merge <name>Push branch and create a GitHub PR
cw merge <name> --localSquash-merge locally (no PR)
cw rm <name>Remove a worktree and its branch
cw cleanRemove all worktrees

Example

User asks: *"Build a settings feature with UI, API, and database layers"*

You do:

  1. Tell the user the plan: 3 parallel subtasks — feat-ui, feat-api, feat-db
  2. Create worktrees (single Bash call):
cw new feat-ui --no-open && cw new feat-api --no-open && cw new feat-db --no-open
  1. Launch 3 background subagents (3 parallel Bash calls, each with run_in_background: true):
cw cd feat-ui && claude -p "Build the settings page UI. Create components in src/components/settings/ using the existing design system in src/components/ui/. Include a form for updating user preferences with fields for: display name, email notifications toggle, and theme selector. Commit your changes when done." --output-format text --dangerously-skip-permissions
cw cd feat-api && claude -p "Create REST API routes for settings in src/api/settings/. Add GET /api/settings and PUT /api/settings endpoints. Use the existing auth middleware from src/middleware/auth.ts. Return and accept JSON matching the Settings type. Commit your changes when done." --output-format text --dangerously-skip-permissions
cw cd feat-db && claude -p "Add a settings table migration in src/db/migrations/. Columns: user_id (FK to users), display_name (text), email_notifications (boolean, default true), theme (text, default 'system'). Add the Settings model in src/db/models/. Commit your changes when done." --output-format text --dangerously-skip-permissions
  1. Monitor with TaskOutput (block: false) and cw ls
  2. Merge in dependency order:
cw merge feat-db && cw merge feat-api && cw merge feat-ui
  1. Clean up:
cw clean

Troubleshooting

  • cw not found: Source it in the shell — source ~/.local/bin/cw
  • cw cd doesn't change directory: Ensure cw is loaded as a shell function, not just a script
  • Merge conflicts: Resolve manually in the worktree, commit, then retry cw merge
  • cw merge refuses: There are uncommitted changes in the worktree — the subagent may not have committed. Navigate in with cw cd <name> and commit manually
  • Subagent hung/failed: Check its output via TaskOutput. If stuck, stop the background task and retry with a revised prompt

Reference

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.34%
按下载量换算92

Claude

31.02%
按下载量换算74

Cursor

17.66%
按下载量换算42

Gemini CLI

8.28%
按下载量换算20

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/joyco-studio/skills --skill parallel-claudes 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills