Skip to content
Back to skills

Omics Skill Builder

ASecurity

Load when scaffolding a NEW OmicsClaw skill from a natural-language request — generates the

  • 8 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 6, 2026
datapythongobash

Works with

  • cli

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add lilinji/GeneTind-Life-Skills --skill omics-skill-builder --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Omics Skill Builder?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Omics Skill Builder
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lilinji-omics-skill-builder/badge)](https://www.skillsdirectory.com/skills/lilinji-omics-skill-builder)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
# AUTO-GENERATED header from skill.yaml — do not edit by hand.
# Edit skill.yaml, then run: python scripts/generate_skill_md.py <skill_dir>
name: omics-skill-builder
description: Load when scaffolding a NEW OmicsClaw skill from a natural-language request — generates the
  skill directory layout (skill.yaml, SKILL.md, references/, tests/) under the chosen domain. Skip when
  modifying an existing skill (edit its files directly); only routing a query (use orchestrator).
version: 0.5.1
author: OmicsClaw
license: MIT
emoji: 🛠
tags:
- orchestrator
- scaffold
- skill-builder
- meta
- code-generation
requires:
- PyYAML
---

# omics-skill-builder

## When to use

The user wants to add a NEW skill to the OmicsClaw catalog from a
natural-language request. This skill produces a directory scaffold
under the chosen `--domain` (`spatial` / `singlecell` / `genomics`
/ `proteomics` / `metabolomics` / `bulkrna` / `orchestrator`) with
the v2 layout: `skill.yaml`, `SKILL.md`, `references/`,
`tests/`, plus a reproducibility manifest.

For modifying an existing skill, edit its files directly — this
skill is for net-new additions only. For dispatching queries to
existing skills, use `orchestrator`.

## Inputs & Outputs

<!-- AUTO-GENERATED from skill.yaml (interface) — do not edit by hand. Regenerate: python scripts/generate_skill_md.py <skill_dir> -->

**Outputs**

- `SCAFFOLD_SUMMARY.md`
- `report.md`
- `result.json`
- `skills/<domain>/<skill-name>/`
- Produces artifact `orchestrator.skill_scaffold` as `result.json` (`json`)

## Flow

1. Parse `--request` (or `--demo`); raise `SystemExit("--request is required unless --demo is used.")` at `omics_skill_builder.py:75` when missing.
2. Optionally promote one explicitly identified autonomous-analysis output via `--source-analysis-dir <path>`.
3. Call `create_skill_scaffold` (`omicsclaw.core.skill_scaffolder`); earned promotions enter `skills/<domain>/<skill-name>/`, while environment-limited promoted code enters the undiscoverable `skills/.quarantine/` tree.
4. Write `SCAFFOLD_SUMMARY.md` + `report.md` + `reproducibility/commands.sh` + `result.json` into `--output`.

## Gotchas

- **`--request` REQUIRED unless `--demo` — raises `SystemExit` (exit 1).** `omics_skill_builder.py:75` raises `SystemExit("--request is required unless --demo is used.")`. Different from most OmicsClaw skills which use `ValueError` / `parser.error`; the exit code is 1, not 2.
- **`--domain` defaults to `orchestrator` — usually NOT what you want.** `omics_skill_builder.py:30` defaults to `orchestrator`; pass `--domain spatial` (or whichever) explicitly. Choices are 7 fixed values; an unknown domain is rejected by argparse.
- **The new skill is written to `skills/<domain>/<skill-name>/`, not `--output`.** `--output` only receives the scaffold summary + report + commands.sh; the actual skill code goes under `skills/`. Don't confuse the two.
- **`--trigger-keyword`, `--method`, `--input-format`, `--output-item` are REPEATABLE flags.** Pass `--trigger-keyword kw1 --trigger-keyword kw2` to add multiple. Single quoting won't help — argparse honours `action="append"`.
- **Global `--promote-from-latest` selection is disabled.** Supply the exact `--source-analysis-dir`; this keeps concurrent sessions and runs isolated.
- **A skipped promoted-code gate is not admission.** The bundle is quarantined with `references/quarantine.md` evidence and is not registered until a later explicit validation/admission flow exists.
- **`--demo` lands in the orchestrator domain, NOT the implied target domain.** `omics_skill_builder.py:65` resolves `domain = args.domain or "spatial"`, but `args.domain` defaults to `"orchestrator"` (truthy), so the demo scaffold is written to `skills/orchestrator/spatial-cellcharter-domains/` rather than `skills/spatial/...`. For real scaffolds always pass `--domain <target>` explicitly.

## Key CLI

```bash
# Demo (built-in scaffold example)
python omicsclaw.py run omics-skill-builder --demo --output /tmp/builder_demo

# Real scaffold for a spatial skill
python omicsclaw.py run omics-skill-builder \
  --request "Compute Moran's I per gene on Visium data" \
  --domain spatial --skill-name spatial-moran \
  --summary "Per-gene spatial autocorrelation via Moran's I" \
  --trigger-keyword "Moran" --trigger-keyword "spatial autocorrelation" \
  --method "moran-i" --input-format "h5ad" --output-item "tables/moran_per_gene.csv" \
  --output /tmp/scaffold_out

# Promote from a successful autonomous analysis
python omicsclaw.py run omics-skill-builder \
  --request "Promote the Moran analysis from yesterday into a real skill" \
  --domain spatial --source-analysis-dir /path/to/autonomous_run \
  --output /tmp/promoted
```

## See also

- `references/parameters.md` — every CLI flag, repeatable behaviour
- `references/methodology.md` — scaffold layout, when to scaffold vs edit
- `references/output_contract.md` — `SCAFFOLD_SUMMARY.md` + `result.json` schema
- Adjacent skills: `orchestrator` (parallel — routes queries to EXISTING skills)

Files in this skill

  • SKILL.md4.9 KB
  • omics_skill_builder.py7.4 KB
  • references/methodology.md3.2 KB
  • references/output_contract.md1.8 KB
  • references/parameters.md473 B
  • skill.yaml1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.