Agent skill

orcaflex-monolithic-to-modular

Convert monolithic OrcaFlex models (.dat/.yml) to spec-driven modular format with semantic validation for round-trip fidelity.

Stars 4
Forks 4

Install this agent skill to your Project

npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/engineering/marine-offshore/orcaflex/monolithic-to-modular

SKILL.md

Orcaflex Monolithic To Modular

When to Use

  • Converting .dat / .yml OrcaFlex models to portable spec.yml format
  • Creating reusable component libraries from existing models
  • Validating that modular output is semantically equivalent to monolithic source
  • Preparing models for parametric studies or automated benchmarking
  • Building a spec.yml foundation for any new OrcaFlex model

Related Skills

  • orcaflex-model-generator - Builder registry and generation architecture
  • orcaflex-yaml-gotchas - Production OrcaFlex YAML traps
  • orcaflex-environment-config - Environment configuration

References

  • Extractor: src/digitalmodel/solvers/orcaflex/modular_generator/extractor.py
  • Schema: src/digitalmodel/solvers/orcaflex/modular_generator/schema/generic.py
  • Semantic validator: scripts/semantic_validate.py
  • Benchmark: scripts/benchmark_model_library.py
  • Spec library: docs/modules/orcaflex/library/tier2_fast/

Version History

  • 2.0.0 (2026-02-10): Complete rewrite. Documents actual MonolithicExtractor pipeline, section name aliases, semantic validation, Pydantic integration, and benchmark results.
  • 1.0.0 (2026-01-21): Initial release with manual splitting approach.

Sub-Skills

  • Architecture
  • Step 1: Convert .dat to .yml (if needed) (+4)
  • Section Mapping (+2)
  • Significance Levels (+2)
  • Output Structure
  • Common Issues and Fixes
  • Benchmark Results (2026-02-10)

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results