parallel-implementations

Runs multiple worktree-isolated subagent implementations of one task concurrently for comparison.

1|2|Updated Nov 25, 2017
One-click install
npx skills add https://github.com/asarchami/dotfiles --skill parallel-implementations-asarchami
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: parallel-implementations
Source: https://github.com/asarchami/dotfiles/tree/main/dot_claude/skills/parallel-implementations
Command: npx skills add https://github.com/asarchami/dotfiles --skill parallel-implementations-asarchami

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Choosing the best approach for a coding or content task often requires trying several solutions, but doing them sequentially is slow and risks polluting your working directory. This Skill runs N implementations of the same task in parallel, each in its own isolated git worktree, so you can compare variants side by side. ## Core Features & Use Cases - Parallel Subagent Execution: Launches N background subagents concurrently, each with worktree isolation so the main directory stays untouched. - Variant Output Collection: Each agent copies its output back to the main directory with a -variant-{N} suffix before its worktree is cleaned up. - Comparison and Selection: Presents a summary table of variants, opens HTML outputs in the browser for visual comparison, and renames the winning variant to its final name. - Use Case: Ask for 3 different implementations of a landing page; review the three HTML variants side by side, pick the best one, and have the rest cleaned up automatically. ## Quick Start Run /parallel-implementations 3 build a responsive dashboard page and then pick the variant you like best.

Frequently Asked Questions about parallel-implementations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run multiple implementations of a task in parallel?

Invoke /parallel-implementations with a count and a prompt, such as /parallel-implementations 3 build a dashboard. The skill launches that many background subagents concurrently, each in its own git worktree, and collects their outputs as variant files.

What is git worktree isolation for subagents?

Worktree isolation gives each subagent its own copy of the repository so it cannot modify the main working directory. Each agent runs with isolation set to worktree and copies its output files back to the main directory before the worktree is cleaned up.

How many parallel variants can I run at once?

You specify N as the first argument, and it defaults to 3 if omitted. All N agents are launched in a single message with run_in_background enabled so they execute concurrently rather than sequentially.

What happens if one of the parallel subagents fails?

The skill reports the failed subagent and continues with the remaining ones. Completed variants are still collected, compared, and presented for selection, so one failure does not block the whole run.

Can I compare HTML output variants visually?

Yes. When the output files are HTML, the skill opens them in the browser for visual comparison and presents a summary table listing the files each variant produced, line counts, and notable differences.