
Parallel Processing Patterns
If you're running bash scripts that process files, hit APIs, or crunch data, this skill covers how to do it in parallel instead of one at a time. It walks through GNU Parallel (the Swiss Army knife approach), xargs with the -P flag (quick and dirty), and pure bash job pools with background processes and wait. The examples show real patterns like collecting exit codes from parallel children, capping concurrency so you don't fork-bomb yourself, and handling shared output files without races. Honestly, GNU Parallel alone is worth learning if you've been writing slow for-loops for years. The skill includes actual working code for FIFO-based work queues and job slot management, not just theory.
- skills.sh installs
- 180
- GitHub stars
- 61
- last updated
- Aug 21, 2026
Install
$ npx -y skills add josiahsiegel/claude-plugin-marketplace --skill parallel-processing-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Files
CRITICAL GUIDELINES
Windows File Path Requirements
MANDATORY: Always Use Backslashes on Windows for File Paths
When using Edit or Write tools on Windows, you MUST use backslashes (\) in file paths, NOT forward slashes (/).
Parallel Processing Patterns in Bash (2025)
Overview
Comprehensive guide to parallel and concurrent execution in bash, covering GNU Parallel, xargs parallelization, job control, worker pools, and modern async patterns for maximum performance.
GNU Parallel (Recommended)
Installation
# Debian/Ubuntu
sudo apt-get install parallel
# macOS
brew install parallel
# From source
wget https://ftp.gnu.org/gnu/parallel/parallel-latest.tar.bz2
tar -xjf parallel-latest.tar.bz2
cd parallel-*
./configure && make && sudo make install
Basic Usage
#!/usr/bin/env bash
set -euo pipefail
# Process multiple files in parallel
parallel gzip ::: *.txt
# Equivalent to:
# for f in *.txt; do gzip "$f"; done
# But runs in parallel!
# Using find with parallel
find . -name "*.jpg" | parallel convert {} -resize 50% resized/{}
# Specify number of jobs
parallel -j 8 process_file ::: *.dat
Sponsors
Details
- Repository
- github.com/josiahsiegel/claude-plugin-marketplace
- Categories
- Automation & Workflows, CLI & Terminal
- First seen
- Jun 3, 2026
More from josiahsiegel/claude-plugin-marketplace
All 26- Docker 2025 Features178
- Tailwindcss Advanced Layouts8.2K
- Tailwindcss Animations2.4K
- Tailwindcss Mobile First2.1K
- Powershell Master1.1K
- Docker Best Practices944
- Git Master811
- Tailwindcss Advanced Design Systems657
- Docker Security Guide619
- Tailwindcss Responsive Darkmode478
- Bash Master462
- Context Master399
- Tailwindcss Fundamentals V4393
- Tailwindcss Accessibility299
- Tailwindcss Framework Integration296
- Sql Server 2025260
- Tailwindcss Advanced Components250
- Tailwindcss Performance237
- Opentofu Guide209
- Powershell Shell Detection209
- Tailwindcss Debugging207
- Tailwindcss Plugins202
- Windows Path Troubleshooting197
- Debugging Troubleshooting 2025196