スキル一覧に戻る

workflow-engine-mapper

HeshamFS
更新日 Yesterday
1 閲覧
40
3
40
GitHubで表示
デザインaiapiautomation

について

このスキルは、計算材料開発者が自身のタスクをatomate2、jobflow、AiiDAなどの適切なワークフローエンジンにマッピングすることを支援します。再現可能なキャンペーンの構築、DAG(有向非巡回グラフ)の設計、再起動戦略、およびプロベナンス記録に関する意思決定を導きます。アドホックなスクリプトから管理されたワークフローへの移行時、または新しい計算キャンペーンを設計する際にご活用ください。

クイックインストール

Claude Code

推奨
メイン
npx skills add HeshamFS/materials-simulation-skills -a claude-code
プラグインコマンド代替
/plugin add https://github.com/HeshamFS/materials-simulation-skills
Git クローン代替
git clone https://github.com/HeshamFS/materials-simulation-skills.git ~/.claude/skills/workflow-engine-mapper

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

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 リポジトリ

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

関連スキル

executing-plans

デザイン

executing-plansスキルは、完全な実装計画があり、それを管理されたバッチでレビューチェックポイントを設けながら実行する場合に使用します。このスキルは計画を読み込んで批判的にレビューした後、小さなバッチ(デフォルトは3タスク)でタスクを実行し、各バッチの間に進捗状況を報告してアーキテクトのレビューを受けます。これにより、品質管理チェックポイントが組み込まれた体系的な実装が保証されます。

スキルを見る

requesting-code-review

デザイン

このスキルは、コードレビュアーサブエージェントを起動し、処理を進める前に要件に対してコード変更を分析します。タスク完了後、主要な機能の実装後、またはmainブランチへのマージ前などに使用すべきです。このレビューは、現在の実装と元の計画を比較することで、問題を早期に発見するのに役立ちます。

スキルを見る

connect-mcp-server

デザイン

このスキルは、開発者がHTTP、stdio、またはSSEトランスポートを使用してMCPサーバーをClaude Codeに接続するための包括的なガイドを提供します。GitHub、Notion、カスタムAPIなどの外部サービスを統合するためのインストール、設定、認証、セキュリティについて解説しています。MCP統合のセットアップ、外部ツールの設定、またはClaudeのModel Context Protocolを扱う際にご利用ください。

スキルを見る

web-cli-teleport

デザイン

このスキルは、タスク分析に基づいて開発者がClaude Code WebとCLIインターフェースの選択を支援し、これらの環境間でのシームレスなセッションテレポーテーションを可能にします。Web、CLI、モバイル環境を切り替える際のセッション状態とコンテキストを管理することで、ワークフローを最適化します。様々な段階で異なるツールを必要とする複雑なプロジェクトにご活用ください。

スキルを見る