スキル一覧に戻る

fair-simulation-packager

HeshamFS
更新日 Yesterday
5 閲覧
40
3
40
GitHubで表示
メタaidata

について

このスキルは、材料シミュレーションデータの再現性がありFAIR原則に準拠したバンドルを自動的に作成します。入力/出力ファイル、プロベナンスメタデータ、構造識別子を収集し、ファイルハッシュ、エンジンバージョン、NOMADやMaterials Projectなどのプラットフォーム向けの標準化メタデータを含むマニフェストを生成します。開発者は、シミュレーション結果を公開、アーカイブ、または転送する前にこれを使用し、再現性を確保すべきです。

クイックインストール

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/fair-simulation-packager

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

ドキュメント

FAIR Simulation Packager

Goal

Build a minimal reproducibility manifest for materials simulation results so another person or agent can understand what was run, with which inputs, and how outputs should be interpreted.

Requirements

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

Inputs to Gather

InputDescriptionExample
Project nameHuman-readable bundle nameal-cu-diffusion-study
EngineSimulation codeLAMMPS, VASP, MOOSE
Input filesFiles needed to rerunin.lammps,data.lmp
Output filesFiles needed to verify resultslog.lammps,traj.dump
Structure IDDatabase or local identifiermp-149
UnitsField/unit mappingenergy=eV,length=angstrom

Decision Guidance

  • Always include input files, output files, code version, and units.
  • Include hashes for every file that exists locally.
  • Include structure identifiers when using Materials Project, NOMAD, OPTIMADE, CIF, POSCAR, or internal database records.
  • Record missing files as warnings instead of silently dropping them.

Script Outputs

scripts/fair_packager.py emits:

  • manifest
  • file_inventory
  • missing_files
  • fair_checks
  • recommended_next_steps

Workflow

python3 skills/data-management/fair-simulation-packager/scripts/fair_packager.py \
  --project-name al-cu-diffusion \
  --engine LAMMPS \
  --inputs in.lammps,data.lmp \
  --outputs log.lammps,traj.dump \
  --units energy=eV,length=angstrom,time=ps \
  --structure-id local:alcu-cell-001 \
  --json

Use --out manifest.json only when the user wants a manifest file written.

Error Handling

Missing files are reported in missing_files; invalid unit fields or unsafe paths stop with exit code 2.

Limitations

This skill creates a metadata manifest. It does not upload to NOMAD, Materials Project, or an OPTIMADE provider.

Security

  • File paths are read only for metadata and SHA-256 hashing.
  • The script rejects control characters and oversized files above 500 MB.
  • Optional manifest writing is restricted to the requested output path.
  • The skill uses Bash only to run the bundled script.

References

  • See references/fair_manifest.md for recommended manifest fields.

Version History

  • 1.0.0: Initial FAIR simulation packaging skill.

GitHub リポジトリ

HeshamFS/materials-simulation-skills
パス: skills/data-management/fair-simulation-packager
0
agent-skillsagentscli-toolscomputational-sciencellmmaterials-science

関連スキル

content-collections

メタ

このスキルは、Content Collections(Markdown/MDXファイルを型安全なデータコレクションに変換するTypeScriptファーストのツール)の本番環境でテストされた設定を提供します。Zodバリデーションによる型安全性を実現し、ブログ、ドキュメントサイト、コンテンツ重視のVite + Reactアプリケーション構築時にご利用ください。Viteプラグインの設定、MDXコンパイルから、デプロイ最適化、スキーマバリデーションまで、すべてを網羅しています。

スキルを見る

polymarket

メタ

このスキルは、開発者がPolymarket予測市場プラットフォームを活用したアプリケーション構築を可能にします。API統合による取引や市場データの取得に加え、WebSocketを介したリアルタイムデータストリーミングにより、ライブ取引や市場活動を監視できます。取引戦略の実装や、ライブ市場更新を処理するツールの作成にご利用ください。

スキルを見る

creating-opencode-plugins

メタ

このスキルは、開発者がコマンド、ファイル、LSP操作など25種類以上のイベントタイプにフックするOpenCodeプラグインを作成することを支援します。JavaScript/TypeScriptモジュール向けに、プラグイン構造、イベントAPI仕様、および実装パターンを提供します。カスタムイベント駆動ロジックでOpenCode AIアシスタントのライフサイクルをインターセプト、監視、または拡張する必要がある場合にご利用ください。

スキルを見る

sglang

メタ

SGLangは、高性能なLLMサービングフレームワークであり、RadixAttentionプレフィックスキャッシュを活用したJSON、正規表現、エージェントワークフロー向けの高速で構造化された生成を特長とします。特にプレフィックスが繰り返されるタスクにおいて、大幅に高速な推論を実現し、複雑な構造化出力やマルチターン対話に最適です。制約付きデコードが必要な場合や、広範なプレフィックス共有を伴うアプリケーションを構築する場合は、vLLMなどの代替案ではなくSGLangを選択してください。

スキルを見る