agentsclimarketplace

Command line interface testing

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/command-line-interface-testing

Curated, evidence-grounded skill and software-tool collections for scientific AI agents, generated by the AgenticScienceBuilder

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill command-line-interface-testing

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

  • 14 stars14 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 author says it does

Copied from the file, not written here

Use when after installing a Python package or before running a computational workflow for the first time, to verify that the CLI entry point is properly configured, the Python environment is correctly set up, and to discover available command-line arguments and their defaults (e.

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

6.1 KB, 997 tokens by cl100k_base, as published. Nobody here has run it

command-line-interface-testing

Summary

Validate that a Python-based command-line tool (such as ChemDistiller's annotate.py) executes correctly and emits expected help documentation when invoked with the --help flag. This skill confirms entry-point accessibility and documents available command-line arguments before running production analyses.

When to use

After installing a Python package or before running a computational workflow for the first time, to verify that the CLI entry point is properly configured, the Python environment is correctly set up, and to discover available command-line arguments and their defaults (e.g., number of CPUs, MS1 m/z tolerance, output folder specification) that must be configured for your specific analysis.

When NOT to use

  • The script has already been validated by prior successful test runs; further --help invocations add no new diagnostic value.
  • You are performing interactive Python development and need programmatic access to argument definitions; use introspection or argparse module inspection instead.
  • The Python environment or package is not installed; resolve installation errors before attempting CLI testing.

Inputs

  • Python package installation directory path
  • Shell environment with Python 2 or 3 (64-bit recommended)
  • Required dependencies installed (SciPy, NumPy, h5py for ChemDistiller)

Outputs

  • Help documentation text printed to standard output
  • List of available command-line arguments and their descriptions
  • Default parameter values
  • Usage examples or command syntax patterns

How to apply

Navigate to the installed package directory (e.g., .../ChemDistiller/). Invoke the entry-point script with the --help flag using Python (e.g., python annotate.py --help). Capture and validate the standard output for the presence of documented command-line arguments, their descriptions, default values, and usage examples. Check that the help output is well-formed and lists all parameters relevant to your analysis (e.g., --ncpu, --delta_mz, --max_results for ChemDistiller). A successful invocation confirms the script's executable state, the Python environment's availability, and provides the reference documentation needed to construct valid production commands.

Related tools

  • Python (Interpreter for executing the annotate.py entry-point script and capturing CLI output)
  • annotate.py (ChemDistiller command-line entry point being tested for proper invocation and help documentation emission) — https://github.com/Mrqeoqqt/chemdistiller

Examples

python annotate.py --help

Evaluation signals

  • Exit code is 0 (success) when --help is invoked.
  • Help text is emitted to standard output without error messages or exceptions.
  • All expected command-line arguments (--ncpu, --delta_mz, --max_results, --test, --svm_folder, etc.) are documented in the output.
  • Default values are explicitly stated for optional parameters (e.g., --ncpu default: 1, --max_results default: 10).
  • Help output includes usage examples or a description of positional arguments such as Input_Spectra_folder and optional output_folder.

Limitations

  • The --help flag documents only the entry point's static argument schema; it does not validate runtime behavior, database connectivity, or file I/O against actual input spectra.
  • Help output does not confirm that optional dependencies (RDKit for 2D structure image generation) are installed; a separate verification step is needed for optional features.
  • Help invocation does not test the tool's ability to process actual spectra or produce correct annotations; use --test mode or a small validation dataset for end-to-end validation.

Evidence

  • [readme] Try running ChemDistiller from the command line: python annotate.py --help. This should give you the list of currently available command line arguments.: "Try running ChemDistiller from the command line: python annotate.py --help. This should give you the list of currently available command line arguments."
  • [other] The annotate.py script can be invoked from the command line with the --help flag to display available options and functionality.: "The annotate.py script can be invoked from the command line with the --help flag to display available options and functionality."
  • [other] Capture and validate that the help output is emitted to standard output.: "Capture and validate that the help output is emitted to standard output."
  • [readme] ChemDistiller supports Python 2 and 3 (64-bit version recommended) and requires SciPy, NumPy, h5py libraries.: "ChemDistiller supports Python 2 and 3 (64-bit version recommended) and requires SciPy, NumPy, h5py libraries."
  • [readme] maximum for your PC will be shown in help screen (see python annotate.py --help): "maximum for your PC will be shown in help screen (see python annotate.py --help)"

What ships with it

Read from the repository

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

Keep looking

Skills are one crate of 326,984. 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.