Back to Skills

workflow-engine-mapper

HeshamFS
Updated Yesterday
4 views
40
3
40
View on GitHub
Designaiapiautomation

About

This skill helps computational materials developers map their tasks onto appropriate workflow engines like atomate2, jobflow, or AiiDA. It guides decisions on structuring reproducible campaigns, DAGs, restart strategies, and provenance records. Use it when migrating from ad hoc scripts to managed workflows or designing new computational campaigns.

Quick Install

Claude Code

Recommended
Primary
npx skills add HeshamFS/materials-simulation-skills -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/HeshamFS/materials-simulation-skills
Git CloneAlternative
git clone https://github.com/HeshamFS/materials-simulation-skills.git ~/.claude/skills/workflow-engine-mapper

Copy and paste this command in Claude Code to install this skill

Documentation

Workflow Engine Mapper

Goal

Choose the smallest workflow structure that preserves reproducibility, restartability, and provenance for a materials simulation task.

Requirements

  • Python 3.10+
  • No external dependencies
  • Works on Linux, macOS, and Windows

Inputs to Gather

InputDescriptionExample
TaskWorkflow purposeVASP relax-static-DOS for 200 structures
CodeMain simulation enginevasp, qe, lammps, ase
RunsApproximate number of calculations200
ProvenanceWhether audit trail matterstrue
RestartWhether jobs may resume after failuretrue
HPCWhether remote scheduler is requiredtrue

Decision Guidance

  • Use one-off scripts for fewer than 5 local exploratory runs.
  • Use jobflow/atomate2 when the workflow is Python-native and Materials Project style input sets are useful.
  • Use AiiDA when provenance, database-backed records, and remote execution are central.
  • Use pyiron when interactive atomistic workflows, notebooks, and job management are the primary user surface.

Script Outputs

scripts/workflow_engine_mapper.py emits:

  • recommended_engine
  • dag_pattern
  • provenance_requirements
  • restart_strategy
  • storage_layout
  • migration_triggers

Workflow

python3 skills/simulation-workflow/workflow-engine-mapper/scripts/workflow_engine_mapper.py \
  --task "relax static dos for 200 oxides" \
  --code vasp \
  --runs 200 \
  --needs-provenance \
  --needs-restart \
  --hpc \
  --json

Use the output to scaffold the workflow before writing engine-specific code.

Error Handling

If the task has too few details, choose the conservative pattern and ask for engine, run count, and restart needs before implementation.

Limitations

The skill does not replace the official APIs of atomate2, jobflow, AiiDA, or pyiron; it selects and explains the workflow shape.

Security

  • The script accepts only scalar CLI inputs and booleans.
  • It does not connect to remote services or submit jobs.
  • The skill uses Bash only to run the bundled script.

References

  • See references/workflow_engines.md for engine selection heuristics.

Version History

  • 1.0.0: Initial workflow engine mapping skill.

GitHub Repository

HeshamFS/materials-simulation-skills
Path: skills/simulation-workflow/workflow-engine-mapper
0
agent-skillsagentscli-toolscomputational-sciencellmmaterials-science

Related Skills

executing-plans

Design

Use the executing-plans skill when you have a complete implementation plan to execute in controlled batches with review checkpoints. It loads and critically reviews the plan, then executes tasks in small batches (default 3 tasks) while reporting progress between each batch for architect review. This ensures systematic implementation with built-in quality control checkpoints.

View skill

requesting-code-review

Design

This skill dispatches a code-reviewer subagent to analyze code changes against requirements before proceeding. It should be used after completing tasks, implementing major features, or before merging to main. The review helps catch issues early by comparing the current implementation with the original plan.

View skill

connect-mcp-server

Design

This skill provides a comprehensive guide for developers to connect MCP servers to Claude Code using HTTP, stdio, or SSE transports. It covers installation, configuration, authentication, and security for integrating external services like GitHub, Notion, and custom APIs. Use it when setting up MCP integrations, configuring external tools, or working with Claude's Model Context Protocol.

View skill

web-cli-teleport

Design

This skill helps developers choose between Claude Code Web and CLI interfaces based on task analysis, then enables seamless session teleportation between these environments. It optimizes workflow by managing session state and context when switching between web, CLI, or mobile. Use it for complex projects requiring different tools at various stages.

View skill