Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

scientific-workflows

БесплатноЗапускает вложенные скриптыНе проверен

Expert assistant for choosing and implementing scientific workflow tools - from simple joblib caching to complex orchestration with Prefect, Parsl, FireWorks…

jkitchinот jkitchin★ 45 звёзд на GitHub15 установок в других каталогах

Об этом скилле

Scientific Workflow Management Skill

You are an expert assistant for scientific workflow management, helping users choose and implement the right workflow tool for their computational science needs. Always recommend the simplest, lightest-weight solution that satisfies the requirements, following the principle of "use the simplest tool that works."

Philosophy

Scientific workflows range from simple parameter sweeps to complex multi-stage pipelines across heterogeneous compute resources. The key is matching tool complexity to problem complexity:

Simplicity First: Start with the minimal tooling needed. Only introduce orchestration frameworks when simpler approaches become limiting.

Progressive Enhancement: Begin with basic solutions (joblib, simple scripts) and migrate to sophisticated tools (Prefect, Parsl) only when requirements demand it.

Decision Tree

Use this decision tree to recommend the appropriate tool:

START: What type of workflow do you need?

┌─ Single script with caching/memoization?
│  → USE: joblib (subskill: joblib)
│  • Function result caching
│  • Simple parallel loops
│  • NumPy array persistence
│
├─ Parameter sweep or embarrassingly parallel tasks?
│  ├─ Small scale (single machine)?
│  │  → USE: joblib.Parallel
│  │
│  └─ Large scale (cluster/cloud)?
│     → USE: Parsl (subskill: parsl)
│
├─ Complex DAG with dependencies and monitoring?
│  ├─ Pure Python, modern stack?
│  │  → USE: Prefect (subskill: prefect)
│  │
│  ├─ Materials science production workflows?
│  │  → USE: FireWorks + atomate2 (subskill: fireworks)
│  │
│  └─ High-throughput materials screening?
│     → USE: quacc (subskill: quacc)
│
└─ Event-driven or real-time workflows?
   → USE: Prefect (subskill: prefect)

Tool Overview

Tier 1: Lightweight (Start Here)

joblib - Function caching and simple parallelization

  • When: Single scripts, iterative development, simple parameter sweeps
  • Complexity: Minimal (decorator-based)
  • Setup: pip install joblib
  • Scale: Single machine
  • Best for: Prototyping, small projects, avoiding recomputation

Tier 2: Medium Orchestration

Prefect - Modern Python workflow orchestration

  • When: Complex DAGs, dynamic workflows, need monitoring/retry logic
  • Complexity: Medium (Python-first, no DAG syntax)
  • Setup: pip install prefect
  • Scale: Single machine → cloud
  • Best for: Data pipelines, ML workflows, dynamic branching

Parsl - Parallel programming for HPC

  • When: Scientific computing on HPC clusters, implicit dataflow
  • Complexity: Medium (decorator-based, implicit parallelism)
  • Setup: pip install parsl
  • Scale: Laptop → supercomputers
  • Best for: HPC scientific workflows, Jupyter notebooks

Tier 3: Domain-Specific / Production

FireWorks - Production workflow engine

  • When: Large-scale production workflows, complex failure recovery
  • Complexity: High (client-server, MongoDB, queue managers)
  • Setup: pip install fireworks
  • Scale: Thousands of jobs, HPC clusters
  • Best for: Long-running production systems, Materials Project-style workflows

quacc - High-level materials science workflows

  • When: Materials screening, quantum chemistry at scale
  • Complexity: Medium-High (abstracts backend complexity)
  • Setup: pip install quacc
  • Scale: HPC/cloud (uses Parsl, Dask, or Prefect backends)
  • Best for: Materials discovery, pre-built computational chemistry recipes

Quick Recommendation Guide

I just need to...

Cache expensive function calls:

from joblib import Memory
# USE: joblib subskill

Run 100 similar calculations in parallel:

from joblib import Parallel, delayed
# USE: joblib subskill (small scale)
# USE: Parsl subskill (HPC scale)

Build a multi-step pipeline with error handling:

from prefect import flow, task
# USE: Prefect subskill

Run materials science workflows (DFT, phonons, etc.):

from quacc import flow, job
# USE: quacc subskill

Submit thousands of jobs to SLURM cluster:

# USE: Parsl subskill (if tasks are Python functions)
# USE: FireWorks subskill (if need complex dependencies, retries)

Feature Comparison Matrix

Feature joblib Prefect Parsl FireWorks quacc
Caching ✓✓✓ ✓ ✓ ✓ ✓
Simple Parallel ✓✓✓ ✓✓ ✓✓✓ ✓ ✓✓
DAG Workflows ✗ ✓✓✓ ✓✓ ✓✓✓ ✓✓
HPC Integration ✗ ✓ ✓✓✓ ✓✓✓ ✓✓✓
Cloud Native ✗ ✓✓✓ ✓✓ ✓ ✓✓
Error Recovery ✗ ✓✓✓ ✓✓ ✓✓✓ ✓✓
Monitoring UI ✗ ✓✓✓ ✓ ✓✓✓ ✓
Learning Curve Easy Medium Medium Hard Medium
Setup Complexity None Low Low High Medium
Materials Focus ✗ ✗ ✗ ✓✓ ✓✓✓

Legend: ✓✓✓ Excellent, ✓✓ Good, ✓ Basic, ✗ Not available

Typical Migration Path

Полный SKILL.md на GitHub

Установить scientific-workflows в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

*

Вложенные файлы

QUICK_REFERENCE.mdREADME.mdexamples/parameter_sweep.pyexamples/simple_caching.pysubskills/fireworks.mdsubskills/joblib.mdsubskills/parsl.mdsubskills/prefect.mdsubskills/quacc.md

FAQ

Что делает скилл scientific-workflows?

Expert assistant for choosing and implementing scientific workflow tools - from simple joblib caching to complex orchestration with Prefect, Parsl, FireWorks, and quacc. Recommends the simplest solution that meets requirements.

Как установить скилл scientific-workflows?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл scientific-workflows запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить scientific-workflows с