agentsclimarketplace

Command sequence ordering

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/command-sequence-ordering

Use when you have a workflow.csv file co-located with sequence.csv in a session directory, and you need to initialize a reproducible, ordered chain of processing steps (e.From its SKILL.md

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill command-sequence-ordering

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as CC-BY-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

7.3 KB, ~1.2k tokens by cl100k_base, as published. Nobody here has run it

command-sequence-ordering

Summary

Load and validate a CSV-based workflow specification into an ordered sequence of executable processing commands, preserving row order and command name validation. This skill ensures that SmartPeak can reliably reconstruct a default workflow from configuration files during session startup.

When to use

You have a workflow.csv file co-located with sequence.csv in a session directory, and you need to initialize a reproducible, ordered chain of processing steps (e.g., LOAD_RAW_DATA → MAP_CHROMATOGRAMS → EXTRACT_CHROMATOGRAM_WINDOWS → ZERO_CHROMATOGRAM_BASELINE → PICK_MRM_FEATURES → SELECT_FEATURES → STORE_FEATURES) without manual re-ordering or step omission.

When NOT to use

  • Workflow commands are already loaded in memory as an ordered data structure — re-parsing the CSV would be redundant.
  • The workflow.csv file is missing, malformed, or does not co-exist with the sequence.csv file — initialization will fail.
  • You need dynamic workflow re-ordering or conditional branching at runtime; this skill enforces static, row-based ordering.

Inputs

  • workflow.csv (comma-separated values file; each row contains a workflow_step command name)
  • session directory path (co-located with sequence.csv)

Outputs

  • ordered list of validated workflow step command names (e.g., [LOAD_RAW_DATA, MAP_CHROMATOGRAMS, EXTRACT_CHROMATOGRAM_WINDOWS, ...])
  • command list ready for downstream workflow executor invocation

How to apply

Read workflow.csv from the session directory line-by-line. Extract the workflow_step command name from each row (e.g., 'LOAD_RAW_DATA', 'PICK_MRM_FEATURES'). Validate each command against the known set of supported workflow commands provided by SmartPeak. Construct an ordered list that preserves the exact row sequence from the file, rejecting or flagging invalid commands. Return the validated, ordered command list to the workflow executor, which then invokes each step sequentially. This approach ensures deterministic, reproducible workflow execution and guards against transposition errors or unsupported command invocation.

Related tools

  • SmartPeak (Primary application providing workflow command definitions and executor; parses workflow.csv and invokes validated commands in sequence.) — https://github.com/AutoFlowResearch/SmartPeak
  • SmartPeakCLI (Command-line interface that loads and validates workflow commands from CSV configuration for headless execution.) — https://github.com/AutoFlowResearch/SmartPeak
  • SmartPeakGUI (Graphical interface that displays loaded workflow steps and allows user review of parsed and validated command sequence before execution.) — https://github.com/AutoFlowResearch/SmartPeak
  • pyOpenMS (Python bindings for OpenMS; used to parse and process configuration files if workflow.csv is extended or augmented with metadata.)

Evaluation signals

  • Verify that the returned command list preserves the exact row order from workflow.csv (row 1 → position 0, row 2 → position 1, etc.).
  • Confirm that all returned commands are members of the supported command set (LOAD_RAW_DATA, MAP_CHROMATOGRAMS, EXTRACT_CHROMATOGRAM_WINDOWS, ZERO_CHROMATOGRAM_BASELINE, PICK_MRM_FEATURES, SELECT_FEATURES, STORE_FEATURES, etc.).
  • Check that invalid or unsupported commands are flagged, logged, or rejected without being added to the ordered list.
  • Verify that the workflow executor successfully invokes each command in sequence without transposition, duplication, or omission.
  • Confirm that workflow output (e.g., feature tables, QC reports, calibration curves) is generated in the expected sequence and location, indicating correct command ordering.

Limitations

  • No changelog or discussion section content provided in the source material; edge cases or version-specific command compatibility are not documented.
  • The skill assumes workflow.csv is well-formed CSV with a consistent schema; robustness to malformed or mixed-delimiter files is not specified.
  • Row-based ordering is rigid; no support for conditional branching, loops, or dynamic re-ordering of commands at runtime.
  • Validation is against a static set of known commands; new or user-defined commands would require schema extension, which is not described.

Evidence

  • [methods] Read the workflow.csv file from the session directory (co-located with sequence.csv). Parse each row to extract the workflow_step command name.: "Read the workflow.csv file from the session directory (co-located with sequence.csv). Parse each row to extract the workflow_step command name."
  • [methods] Validate each command against the known set of supported workflow commands (e.g., LOAD_RAW_DATA, MAP_CHROMATOGRAMS, EXTRACT_CHROMATOGRAM_WINDOWS, ZERO_CHROMATOGRAM_BASELINE, PICK_MRM_FEATURES, SELECT_FEATURES, STORE_FEATURES).: "Validate each command against the known set of supported workflow commands (e.g., LOAD_RAW_DATA, MAP_CHROMATOGRAMS, EXTRACT_CHROMATOGRAM_WINDOWS, ZERO_CHROMATOGRAM_BASELINE, PICK_MRM_FEATURES,"
  • [methods] Construct an ordered list preserving the row sequence from the file. Return the ordered command list for downstream workflow executor to invoke each step in sequence.: "Construct an ordered list preserving the row sequence from the file. Return the ordered command list for downstream workflow executor to invoke each step in sequence."
  • [intro] SmartPeak automates all steps from peak detection and integration over calibration curve optimization, to quality control reporting.: "SmartPeak automates all steps from peak detection and integration over calibration curve optimization, to quality control reporting."
  • [readme] Edit the workflow with Edit | Workflow. You have an option to cherry pick the custom workflow or to choose the predefined set of operations.: "Edit the workflow with Edit | Workflow. You have an option to cherry pick the custom workflow or to choose the predefined set of operations."

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.