Vibeflow scilab

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

Vibeflow scilab is an AI agent skill from the GitHub repository sunrise-hjx/vibeFlow-skills. Use when preparing, running, debugging, or extending VibeFlow/VibeCAE Scilab numerical computing workflows from 0-caseDict/caseDict, including scripts, functions, optimization, control, signal processing, data reduction, plotting, Xcos handoff, and reusable scientific-computing utilities.

How to use this skill

Skill file

VibeFlow Scilab

This skill is responsible for using Scilab as the numerical computing, control, optimization, data processing, and engineering scripting backend for VibeCAE.

When To Use

First Decision: Usage Mode Or Development Mode

What To Read First

Inputs

Outputs

Recommended Structure

C-run/scilab/
└── case-1/
    ├── main.sce
    ├── functions/
    ├── data/
    ├── results/
    ├── logs/
    ├── Allrun
    └── Allclean

Usage-Mode Workflow

  1. Determine input data, output metrics, units, and calculation objectives from caseDict.
  2. Write main.sce, anchoring paths to the current case instead of relying on the interactive current directory.
  3. Put reusable functions under functions/ and load them explicitly at the beginning of the script.
  4. Run Scilab in batch mode and save logs.
  5. Output CSV/PNG/SVG/PDF results and check that the files exist.
  6. Hand charts and calculation results to vibeflow-postprocess or the report skill.

Development-Mode Workflow

  1. Clarify the development target: function library, optimization template, control-analysis script, Xcos export, or Studio adapter.
  2. Write the development note first, recording function interfaces, inputs, outputs, defaults, error handling, and a minimal example.
  3. Keep scripts runnable in a headless environment.
  4. Add minimal numerical validation for key functions, such as known analytical solutions, benchmark data, or dimension checks.
  5. If coupled with a solver, clearly define data-file formats and refresh timing.

Core Rules

Validation

Fallback Rules

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.