Vibeflow toolchain

From sunrise-hjx/vibeFlow-skills · View interactive version

Vibeflow toolchain is an AI agent skill from the GitHub repository sunrise-hjx/vibeFlow-skills. Use when checking, diagnosing, documenting, or separating VibeFlow/VibeCAE toolchain/environment failures from case-definition failures, including OpenFOAM bashrc and utilities, Python, virtualenv, CadQuery/OCP, Gmsh CLI/Python API, ParaView/pvpython, FreeCAD, Code_Aster, FEniCS/FEniCSx, MOOSE, LAMM

How to use this skill

Skill file

VibeFlow Toolchain

This skill is responsible for determining whether a problem is caused by the environment or by the case. It only handles toolchain, environment, path, module, and command-availability issues. Once tools are available, the problem should be handed back to the corresponding domain skill.

When to Use

What to Read First

Core Workflow

  1. Determine which tools the current stage depends on.
  2. Check only the minimal tool set for the current stage.
  3. Classify the problem as:
  1. Clearly report the impact scope; do not vaguely say "the environment has a problem".
  2. If it is a toolchain issue, write it to errors.entries and set stage=toolchain and category=environment.
  3. If the toolchain is available, clearly hand control back to geometry/mesh/openfoam/postprocess/report.

Minimal Check Set

Outputs

Rules

General Tool Discovery Order

  1. First check whether the current shell already provides the tool: command -v <tool>, <tool> --version, and necessary Python import.
  2. Then check VibeFlow/VibeCAE conventional environment variables, such as $VIBEFLOW_PYTHON, $VIBEFLOW_PYTHON_ENV, $VIBEFLOW_RESOURCE_DIR, $VIBEFLOW_PVPYTHON, $VIBEFLOW_GMSH, $VIBEFLOW_OPENFOAM_BASHRC, and each backend's $VIBEFLOW_<TOOL> entry in references/cae-toolchecks.md.
  3. Then refer to the "current-machine path snapshot" from AGENTS.md or Studio bootstrap output, verifying each path's existence.
  4. Only then provide local-system fix suggestions, such as sourcing the OpenFOAM bashrc, activating a Python venv, installing Gmsh, installing ParaView, or configuring PATH.

Use placeholders rather than concrete machine paths in command examples:

<OPENFOAM_BASHRC>
<VIBEFLOW_PYTHON_ENV>
<VIBEFLOW_RESOURCE_DIR>
<PVPYTHON>
<GMSH>
<FREECAD_CMD>
<CODE_ASTER_RUNNER>
<MOOSE_APP>
<LAMMPS>
<SU2_CFD>
<FDS>
<ELMER_SOLVER>
<CALCULIX_CCX>
<OPENRADIOSS_STARTER>
<OPENRADIOSS_ENGINE>
<NEKTAR_SOLVER>
<OPENLB_ROOT>
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.