SkillAgentSearch skills...

parallel-processing

Parallel processing with joblib for grid search and batch computations

Install / Use

npx skills add benchflow-ai/skillsbench --skill parallel-processing

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

79/100

Supported Platforms

Universal

Our assessment of parallel-processing

parallel-processing scores 79/100 on our quality scale, 2559th of 3,997 Development & Engineering skills we index.

Its SKILL.md is 2.0 KB long, well organised into 13 sections with 3 code examples: moderately detailed.

With 1,813 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
20/30
Structure
18/20
Description
12/15
Adoption
14/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated about 2 months ago, so parallel-processing is actively maintained.
  • It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

parallel-processing compared with similar skills

All 4 of these similar skills score higher than parallel-processing; compare them before choosing.

SkillScoreStarsUpdatedFormat
parallel-processing (this skill)by benchflow-ai791.8k2mo agoSKILL.md
Agent-Reachby Panniantong10086.4k15d agoCLAUDE.md
headroomby headroomlabs-ai10074.2ktodayCLAUDE.md
ai-job-searchby MadsLorentzen10044.6ktodayCLAUDE.md
claude-howtoby luongnv8910041.7ktodayCLAUDE.md

Frequently asked questions

How do I install parallel-processing?
Run npx skills add benchflow-ai/skillsbench --skill parallel-processing. The install tabs above show the steps for each supported agent.
Which AI agents does parallel-processing work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is parallel-processing safe to use?
It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is parallel-processing still maintained?
The repository was last updated about 2 months ago, so parallel-processing is actively maintained.

name: parallel-processing description: Parallel processing with joblib for grid search and batch computations. Use when speeding up computationally intensive tasks across multiple CPU cores.

Parallel Processing with joblib

Speed up computationally intensive tasks by distributing work across multiple CPU cores.

Basic Usage

from joblib import Parallel, delayed

def process_item(x):
    """Process a single item."""
    return x ** 2

# Sequential
results = [process_item(x) for x in range(100)]

# Parallel (uses all available cores)
results = Parallel(n_jobs=-1)(
    delayed(process_item)(x) for x in range(100)
)

Key Parameters

  • n_jobs: -1 for all cores, 1 for sequential, or specific number
  • verbose: 0 (silent), 10 (progress), 50 (detailed)
  • backend: 'loky' (CPU-bound, default) or 'threading' (I/O-bound)

Grid Search Example

from joblib import Parallel, delayed
from itertools import product

def evaluate_params(param_a, param_b):
    """Evaluate one parameter combination."""
    score = expensive_computation(param_a, param_b)
    return {'param_a': param_a, 'param_b': param_b, 'score': score}

# Define parameter grid
params = list(product([0.1, 0.5, 1.0], [10, 20, 30]))

# Parallel grid search
results = Parallel(n_jobs=-1, verbose=10)(
    delayed(evaluate_params)(a, b) for a, b in params
)

# Filter results
results = [r for r in results if r is not None]
best = max(results, key=lambda x: x['score'])

Pre-computing Shared Data

When all tasks need the same data, pre-compute it once:

# Pre-compute once
shared_data = load_data()

def process_with_shared(params, data):
    return compute(params, data)

# Pass shared data to each task
results = Parallel(n_jobs=-1)(
    delayed(process_with_shared)(p, shared_data)
    for p in param_list
)

Performance Tips

  • Only worth it for tasks taking >0.1s per item (overhead cost)
  • Watch memory usage - each worker gets a copy of data
  • Use verbose=10 to monitor progress

Related Skills

View on GitHub
GitHub Stars1.8k
CategoryDevelopment
Updated2mo ago
Forks368

Languages

PDDL

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions