orcaflex-model-generator
Generate OrcaFlex modular models from spec.yml using builder registry pattern with conditional generation and cross-builder context sharing.
Best use case
orcaflex-model-generator is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Generate OrcaFlex modular models from spec.yml using builder registry pattern with conditional generation and cross-builder context sharing.
Teams using orcaflex-model-generator should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/model-generator/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How orcaflex-model-generator Compares
| Feature / Agent | orcaflex-model-generator | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Generate OrcaFlex modular models from spec.yml using builder registry pattern with conditional generation and cross-builder context sharing.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Orcaflex Model Generator ## Related Skills - [orcaflex-monolithic-to-modular](../orcaflex-monolithic-to-modular/SKILL.md) - Extraction pipeline - [orcaflex-yaml-gotchas](../orcaflex-yaml-gotchas/SKILL.md) - Production YAML traps - [orcaflex-environment-config](../orcaflex-environment-config/SKILL.md) - Environment builder details ## References - Generator: `src/digitalmodel/solvers/orcaflex/modular_generator/__init__.py` - Registry: `src/digitalmodel/solvers/orcaflex/modular_generator/builders/registry.py` - Base: `src/digitalmodel/solvers/orcaflex/modular_generator/builders/base.py` - Generic builder: `src/digitalmodel/solvers/orcaflex/modular_generator/builders/generic_builder.py` - Schema: `src/digitalmodel/solvers/orcaflex/modular_generator/schema/` - Spec library: `docs/modules/orcaflex/library/tier2_fast/` - Benchmark: `scripts/benchmark_model_library.py` --- ## Version History - **2.0.0** (2026-02-10): Complete rewrite. Documents actual ModularModelGenerator, builder registry, generic builder internals, _merge_object() with model_fields_set, section ordering, 3-way benchmark. - **1.0.0** (2026-01-07): Initial release describing theoretical component lookup approach. ## Sub-Skills - [Builder Registry Pattern (+3)](builder-registry-pattern/SKILL.md) - [Pipeline Builders (order 10-50) (+2)](pipeline-builders-order-10-50/SKILL.md) - [Spec Variants](spec-variants/SKILL.md) - [From spec.yml file (+3)](from-specyml-file/SKILL.md) - [_merge_object() (+2)](mergeobject/SKILL.md) - [3-Way Benchmark](3-way-benchmark/SKILL.md)
Related Skills
interactive-report-generator
Generate interactive HTML reports with Plotly visualizations from data analysis results. Supports dashboards, charts, and professional styling.
OrcaFlex Specialist Skill
```yaml
orcaflex-reporting-fixture-proof-pattern
Build and extend fixture-backed OrcaFlex reporting proof paths in digitalmodel using stable metadata baselines, normalized HTML snapshots, and reusable reporting test helpers.
digitalmodel-worktree-test-execution-with-shared-venv
Run digitalmodel tests from isolated worktrees without uv editable-dependency failures by using the main repo's existing virtualenv and PYTHONPATH.
digitalmodel-orcawave-orcaflex-proof-workflows
Class-level digitalmodel OrcaWave/OrcaFlex readiness, semantic-proof, fixture-proof, and closeout workflows.
digitalmodel-code-explorer
Fast orientation guide for the digitalmodel codebase, with module lookup, source-to-test mapping, and targeted inspection patterns to avoid repeated bulk-reading of digitalmodel/src and tests.
orcawave-orcaflex-readiness-audit
Audit the real readiness of digitalmodel OrcaWave/OrcaFlex spec-driven workflows by reconciling workspace-hub issues, source/tests, semantic-equivalence boundaries, and wiki synthesis gaps.
digitalmodel-orcawave-orcaflex-workflow
Current-state workflow for navigating and extending digitalmodel OrcaWave/OrcaFlex capabilities across code, tests, issues, queue tooling, and licensed-machine boundaries.
orcawave-orcaflex-semantic-proof-wave-closeout
Close out an OrcaWave/OrcaFlex semantic-proof wave after a PR merges, split unrelated CI blockers, and seed the next semantic-proof issue wave without duplicating existing issues.
segment-anything-model
Foundation model for image segmentation with zero-shot transfer. Use when you need to segment any object in images using points, boxes, or masks as prompts, or automatically generate all object masks in an image.
orcawave-to-orcaflex
Integration specialist for converting OrcaWave diffraction results to OrcaFlex vessel types. Handles hydrodynamic database generation, RAO import, viscous damping addition, and coordinate system transformations.
orcaflex-yaml-gotchas
Production-proven OrcaFlex YAML traps and solutions covering dormant properties, boolean mismatches, section ordering, Pydantic integration, and section name aliases.