Skip to content
Skills Library
Science & research · Analysis

experiment-lab

/experiment-lab

Use this skill whenever the user wants reproducible CS/AI experiments, model evaluation, regression/classification/clustering analyses, bioinformatics workflows, QC, differential expression, single-cell starter analysis, or manuscript-ready experiment bundles with scientific figures. Also use it when the user asks for heatmaps, ROC/PR curves, volcano plots, UMAP/PCA projections, or wants experimental results packaged for a paper or report.

Repository
anaxa ↗
Licence
MIT
Last repository change
27.08.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.08.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use this skill whenever the user wants reproducible CS/AI experiments, model evaluation, regression/classification/clustering analyses, bioinformatics workflows, QC, differential expression, single-cell starter analysis, or manuscript-ready experiment bundles with scientific figures. Also use it when the user asks for heatmaps, ROC/PR curves, volcano plots, UMAP/PCA projections, or wants experimental results packaged for a paper or report.

Original author description

Use this skill whenever the user wants reproducible CS/AI experiments, model evaluation, regression/classification/clustering analyses, bioinformatics workflows, QC, differential expression, single-cell starter analysis, or manuscript-ready experiment bundles with scientific figures. Also use it when the user asks for heatmaps, ROC/PR curves, volcano plots, UMAP/PCA projections, or wants experimental results packaged for a paper or report.

How it works

  1. Use This Skill For
  2. Core Rules
  3. Iterative Experiment Loop
  4. CS/AI Routing
  5. Empirical Research Routing
  6. Bioinformatics Routing
  7. Expected Deliverables
  8. Tool Contract
  9. MATLAB Routing
  10. Final Response Pattern
Original SKILL.md headings · 159 lines, 1,014 words
SKILL.md preview
---
name: experiment-lab
description: Use this skill whenever the user wants reproducible CS/AI experiments, model evaluation, regression/classification/clustering analyses, bioinformatics workflows, QC, differential expression, single-cell starter analysis, or manuscript-ready experiment bundles with scientific figures. Also use it when the user asks for heatmaps, ROC/PR curves, volcano plots, UMAP/PCA projections, or wants experimental results packaged for a paper or report.
---

# Experiment Lab Skill

This skill governs MedrixFlow's experiment workflow. It does not replace execution tools. It tells the agent when to use the structured experiment pipeline and how to keep results defensible.

## Use This Skill For

- CS/AI experiments on local structured data
- Regression, classification, clustering, PCA/UMAP, and simple ablation tasks
- Empirical social-science or public-health data analysis when paired with
  `/mnt/skills/public/empirical-research-methods/SKILL.md`
- Bioinformatics workflows on local expression data, metadata tables, `h5ad`, or 10x matrix bundles
- QC, differential expression, enrichment attempts, marker-gene summaries
- Requests for manuscript-grade figures or experiment bundles for a report

## Core Rules

- Do not invent datasets, metrics, plots, baselines, enrichments, or scientific conclusions.
- Exception: when thread context enables Synthetic Experiment Mode, personal
  experiment data may be simulated from explicit assumptions to complete the
  manuscript workflow. Public literature, DOI, baseline, leaderboard, benchmark,
  license, and dataset-version facts must still be real and verifiable.
- For benchmark-driven work, use `dataset_benchmark_discovery` first to map candidate datasets, leaderboards, metrics, access limits, and baseline/SOTA hints.
- If the task requires actual experimental output, prefer the `experiment_lab` tool instead of ad hoc reasoning.
- Ask for missing inputs before running a workflow when the absence would invalidate the result:
  - no dataset
  - no target column for supervised CS/AI work
  - no metadata/group labels for requested differential analysis
- Keep literature evidence separate from experimental evidence. Use `academic_research` only for related work or method framing.
- Keep candidate benchmark evidence separate from executed experiment evidence. A dataset map can justify a plan, but only `experiment_lab` or attached result files can support manuscript result claims.
- Default to Python-first execution. Do not ask the user to choose Python or R unless they explicitly request R output.
- For empirical methods such as DID, IV, RDD, PSM/IPW, synthetic control, DML,
  causal forest, target-trial emulation, TMLE, survival, Table 1, event study,
  robustness, heterogeneity, or mechanism analysis, first load
  `/mnt/skills/public/empirical-research-methods/SKILL.md` and follow its
  identification gates.

## Iterative Experiment Loop

For code-tuning, model-training, ablation, or autonomous experiment requests, use an autoresearch-style loop when the environment supports it:

- Establish a baseline before changing code or hyperparameters.
- Define one primary metric and direction up front, such as lower validation loss or higher AUROC.
- Keep the evaluation harness, dataset split, and comparison budget fixed unless the user explicitly asks to change them.
- Change one coherent idea per trial so the result remains attributable.
- Record each trial with commit or run id, metric, memory/runtime if available, status (`keep`, `discard`, or `crash`), and a short description.
- Keep a change only when it improves the primary metric or clearly simplifies the system without hurting the metric.
- Treat crashes, OOMs, timeout, missing metrics, or incompatible dependencies as failed trials; summarize the failure and move on.
- Do not start an indefinite or overnight loop unless the user explicitly asks for a long-running autonomous run.

## CS/AI Routing

- Supervised tabular prediction: run regression or classification through `experiment_lab`
- Diagnostics:
  - binary classification -> confusion matrix, ROC, PR, feature importance if available
  - regression -> predicted-vs-actual, residual distribution, feature importance if available
- Unsupervised tasks:
  - clustering -> cluster projection + silhouette
  - dimensionality reduction -> PCA/UMAP embedding

## Empirical Research Routing

For empirical social-science and public-health datasets, the `empirical-research-methods`
skill defines the method contract. Use it to decide whether the requested work is
descriptive, predictive, or causal, then pass method details into `experiment_lab`
metadata:

- `empirical_method`: `did`, `staggered_did`, `iv`, `rdd`, `psm`, `synthetic_control`,
  `dml`, `causal_forest`, `target_trial`, `tmle`, `survival`, or `regression`
- `estimand`: ATE, ATT, LATE, CATE, event-time effect, risk difference, hazard ratio, or predictive metric
- `outcome`, `treatment`, `unit_id`, `time`, `treatment_time`, `instrument`,
  `running_variable`, `cutoff`, `covariates`, `fixed_effects`, `cluster`
- `required_outputs`: Table 1, main results, identification graphic, robustness,
  heterogeneity, mechanism, and reproducibility ledger

If the current backend cannot execute the requested causal estimator, run only
the closest safe descriptive/regression workflow, record the requested method as
not executed, and avoid causal claims.

## Bioinformatics Routing

- Bulk expression:
  - sample QC
  - sample PCA
  - top-variable-gene heatmap
  - differential analysis when metadata allows
  - enrichment attempt when significant genes and dependencies allow
- Single-cell starter:
  - cell QC
  - PCA/UMAP embedding
  - clustering
  - marker summary
  - marker heatmap or violin plot

## Expected Deliverables

When using the structured pipeline, prefer returning a concise summary plus artifacts. The artifact bundle should usually include:

- `experiment_contract.json`
- `experiment_plan.md`
- `methods.md`
- `results.md`
- `metrics.json`
- `baseline_results.json`
- `ablation_results.json`
- `robustness_results.json`
- `error_analysis.md`
- `claim_support_matrix.json`
- Synthetic Experiment Mode also requires `simulated_experiment_contract.json`,
  `simulation_assumptions.json`, and `synthetic_results.json`.
- Synthetic-mode claim maps should use `supported_by_simulation`, not
  `supported_by_experiment`, for simulated personal experimental outputs.
- `figure_manifest.json`
- `figures/`
- `tables/`

If the experiment is linked to an academic project, also retain:

- `paper_ready_results.md`
- `evidence.json`

## Tool Contract

Use `experiment_lab` when the user needs execution, metrics, or figure generation. Pass:

- `topic`
- `dataset_paths`
- `domain` when clear
- `analysis_type` when explicit
- `target_column` for supervised CS/AI work
- `metadata_path`, `sample_id_column`, and `group_column` for bulk expression tasks when available
- `linked_academic_project_id` when the experiment should feed a formal report
- `synthetic_data_mode=true` when Synthetic Experiment Mode is enabled
- `metadata` with empirical method, estimand, variables, identification assumptions,
  and required outputs for empirical research tasks; in Synthetic Experiment Mode,
  include `synthetic_data_mode=true` and simulation assumptions when known

## MATLAB Routing

Use `matlab_execution` only when the user explicitly needs MATLAB and command-line
MATLAB is available. Generate a complete `.m` script, run it via batch mode, and
write all figures, `.mat`, `.csv`, and logs into the provided output directory.
Do not claim MATLAB GUI control; GUI automation requires a separate desktop
integration outside this skill.

MATLAB results still need the same evidence discipline:

- save numeric outputs in machine-readable files
- summarize the method and parameters
- link manuscript claims to generated artifacts
- mark missing ablations or robustness checks as limitations

## Final Response Pattern

- Say what analysis ran
- Report the main metrics or biological outputs
- Mention important fallbacks or skipped stages
- Point to the generated artifact bundle instead of dumping long raw output into chat

Versions

The database has no other skills named experiment-lab.

Database snapshot: 13.11.2026 · package version 33502886ee0c (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100paper-results-report
    Use when the user asks to ”write an experiment report”, ”summarize experimental results”, or a post-experiment summary.
  • 100inno-experiment-analysis
    This skill should be used when the user asks to "analyze experimental results", "generate results section", "statistical analysis of experiments", "compare model performance", "create results visualization", or mentions connecting experimental data to paper writing. Provides…
  • 100monitor-experiment
    Monitor running experiments, check progress, collect results. Use when user says "check results", "is it done", "monitor", or wants experiment output.
  • 100monitor-experiment
    Monitor running experiments, check progress, collect results. Use when user says "check results", "is it done", "monitor", or wants experiment output.
  • 100volcano-plot-script
    Generate R/Python code for volcano plots from DEG (Differentially Expressed Genes) analysis results. Triggered when user needs visualization of gene expression data, p-value vs fold-change scatter plots, publication-ready figures for bioinformatics analysis.
  • 100scientific-image-prompting
    Use this skill whenever the user asks for a graphical abstract, mechanism illustration, study design schematic, concept explainer, scientific cover art, or any non-data academic image that may appear in a paper, report, poster, or slides. Always use this skill before…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.