スキル一覧に戻る

simulation-failure-triage

HeshamFS
更新日 Yesterday
3 閲覧
40
3
40
GitHubで表示
開発ai

について

このスキルは、非収束、NaN/Infエラー、不安定なタイムステップなどの一般的な問題を診断することで、開発者が失敗した材料シミュレーションのトリアージを支援します。安全で妥当な再試行の段階的アプローチと、回復のための即時アクションを提案します。疑わしいまたは失敗したシミュレーションに遭遇し、体系的な初動対応が必要な場合にご利用ください。

クイックインストール

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/simulation-failure-triage

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

ドキュメント

Simulation Failure Triage

Goal

Classify common simulation failure signatures and return immediate actions, retry ladders, and stop conditions.

Requirements

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

Inputs to Gather

InputDescriptionExample
CodeSimulation codeLAMMPS, VASP, MOOSE, QE
StageSetup, runtime, postprocessruntime
SymptomsFailure signsnan,pressure-blowup
Log text or fileError evidenceLost atoms, ZBRENT
Recent changeLast modified settinglarger timestep

Decision Guidance

  • First preserve evidence: logs, inputs, executable version, and scheduler output.
  • Separate setup errors from numerical instability and physical model issues.
  • Retry with a single controlled change.
  • Stop retrying when the result becomes scientifically meaningless or a required model input is missing.

Script Outputs

scripts/failure_triage.py emits:

  • likely_causes
  • immediate_actions
  • retry_ladder
  • stop_conditions
  • evidence

Workflow

python3 skills/robustness/simulation-failure-triage/scripts/failure_triage.py \
  --code LAMMPS \
  --stage runtime \
  --symptoms nan,pressure-blowup \
  --recent-change "increased timestep" \
  --json

Error Handling

Invalid stages or oversized log files stop with exit code 2. Unknown symptoms are retained as custom evidence.

Limitations

This skill gives first-response triage. It does not guarantee that a failed simulation can be repaired.

Security

  • Log files are read with a 10 MB size cap.
  • Log text is truncated and never executed.
  • The script does not run external solvers.
  • The skill uses Bash only to run its bundled script.

References

  • See references/failure_patterns.md for common failure signatures and retry ladders.

Version History

  • 1.0.0: Initial cross-code simulation failure triage skill.

GitHub リポジトリ

HeshamFS/materials-simulation-skills
パス: skills/robustness/simulation-failure-triage
0
agent-skillsagentscli-toolscomputational-sciencellmmaterials-science

関連スキル

qmd

開発

qmdは、BM25、ベクトル埋め込み、およびリランキングを組み合わせたハイブリッド検索を用いて、ローカルファイルのインデックス作成と検索を可能にするローカル検索・インデックス作成CLIツールです。コマンドラインでの使用と、Claudeとの統合のためのMCP(Model Context Protocol)モードの両方をサポートしています。このツールは埋め込みにOllamaを使用し、インデックスをローカルに保存するため、ターミナルから直接ドキュメントやコードベースを検索するのに最適です。

スキルを見る

subagent-driven-development

開発

このスキルは、各独立したタスクに対して新規のサブエージェントを起動し、タスク間でコードレビューを実施しながら実装計画を実行します。レビュープロセスを通じて品質基準を維持しつつ、迅速な反復を可能にします。同一セッション内で主に独立したタスクに取り組む際に本スキルをご利用いただくことで、組み込まれた品質チェックを伴う継続的な進捗を確保できます。

スキルを見る

mcporter

開発

mcporterスキルは、開発者がClaudeから直接Model Context Protocol(MCP)サーバーを管理および呼び出せるようにします。このスキルは、利用可能なサーバーの一覧表示、引数を指定したツールの呼び出し、認証およびデーモンのライフサイクル管理を行うコマンドを提供します。開発ワークフローにおいてMCPサーバーの機能を統合およびテストする際に、このスキルをご利用ください。

スキルを見る

adk-deployment-specialist

開発

このスキルは、A2Aプロトコルを使用してVertex AI ADKエージェントをデプロイおよびオーケストレーションし、AgentCardの発見、タスク送信、およびコード実行サンドボックスやメモリバンクなどのサポートツールを管理します。Python、Java、またはGoで、順次、並列、またはループのオーケストレーションパターンを用いたマルチエージェントシステムの構築を可能にします。Google Cloud上でADKエージェントのデプロイやエージェントワークフローのオーケストレーションを求められた際にご利用ください。

スキルを見る