Skip to content
Back to skills

From Specyml File

ASecurity

Sub-skill of orcaflex-model-generator: From spec.yml file (+3).

  • 17 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
toolspythongogit

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add vamseeachanta/workspace-hub --skill from-specyml-file --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of From Specyml File?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for From Specyml File
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vamseeachanta-from-specyml-file/badge)](https://www.skillsdirectory.com/skills/vamseeachanta-from-specyml-file)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: orcaflex-model-generator-from-specyml-file
description: 'Sub-skill of orcaflex-model-generator: From spec.yml file (+3).'
version: 2.0.0
category: engineering
type: reference
scripts_exempt: true
---

# From spec.yml file (+3)

## From spec.yml file


```python
from digitalmodel.solvers.orcaflex.modular_generator import ModularModelGenerator

gen = ModularModelGenerator(Path("spec.yml"))
gen.generate(Path("output/"))
```


## From in-memory spec


```python
spec = ProjectInputSpec(**spec_dict)
gen = ModularModelGenerator.from_spec(spec)
gen.generate(Path("output/"))
```


## From monolithic (extract + generate)


```python
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


```python
result = gen.generate_with_overrides(
    output_dir=Path("output/"),
    sections=[override_section],
    variables={"water_depth": 500},
)
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.