Agent skill
orcaflex-model-generator-from-specyml-file
Sub-skill of orcaflex-model-generator: From spec.yml file (+3).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/engineering/marine-offshore/orcaflex-model-generator/from-specyml-file
SKILL.md
From spec.yml file (+3)
From spec.yml file
from digitalmodel.solvers.orcaflex.modular_generator import ModularModelGenerator
gen = ModularModelGenerator(Path("spec.yml"))
gen.generate(Path("output/"))
From in-memory spec
spec = ProjectInputSpec(**spec_dict)
gen = ModularModelGenerator.from_spec(spec)
gen.generate(Path("output/"))
From monolithic (extract + generate)
from digitalmodel.solvers.orcaflex.modular_generator.extractor import MonolithicExtractor
ext = MonolithicExtractor(Path("model.yml"))
spec = ProjectInputSpec(**ext.extract())
gen = ModularModelGenerator.from_spec(spec)
gen.generate(Path("output/"))
With section overrides
result = gen.generate_with_overrides(
output_dir=Path("output/"),
sections=[override_section],
variables={"water_depth": 500},
)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?