geniml

geniml is a skill for Claude Code from K-Dense-AI/scientific-agent-skills. It costs 43 tokens per session (3,484 once invoked), scanned A, original, MIT.

A guide for Geniml, a toolkit for machine learning and statistical work on sets of genomic regions. It focuses on checking input contracts and planning Region2Vec or scEmbed analyses rather than running training itself.

In plain words
What is it for?
Use it to validate BED files and reference-region rules, review model and tokenizer compatibility, plan genomic-interval embedding workflows, and assess whether region sets can be compared fairly.
Why use it?
It catches mismatches in coordinates, genome assemblies, model vocabularies, and sample groups before they undermine an analysis. Its helpers validate or plan without contacting services or loading model files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to validate BED files and reference-region rules, review model and tokenizer compatibility, plan genomic-interval embedding workflows, and assess whether region sets can be compared fairly.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/k-dense-ai/scientific-agent-skills/geniml
About the project

Scientific Agent Skills is a collection of reusable procedures that give AI agents capabilities for scientific research across areas such as biology, chemistry, medicine, and drug discovery. It is used by researchers and by people building AI scientist workflows with compatible coding agents. The catalogue contains many of the project's skills and supporting instructions.

K-Dense-AI/scientific-agent-skills · 44,220 stars · on GitHub · arxiv.org

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add K-Dense-AI/scientific-agent-skills --skill geniml
Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for geniml

README.md
[![agentmods](https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/geniml/github.svg)](https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/geniml)
Your own site
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/geniml"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/geniml/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for geniml

Your own site · 80×15
<a href="https://agentmods.dev/skills/k-dense-ai/scientific-agent-skills/geniml"><img src="https://agentmods.dev/badge/skills/k-dense-ai/scientific-agent-skills/geniml.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,484 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 4 May 2026
  • Snyk warn 4 May 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 6
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.03484
Opus 5 $0.00022 $0.01742
Sonnet 5 $0.00009 $0.00697
Haiku 4.5 $0.00004 $0.00348

Measured 8d ago against content hash 76f648f9e6e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

geniml scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/__init__.py, scripts/_common.py, scripts/bed_validator.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/geniml/SKILL.md · 328 lines

How it starts

The opening of the file, as written. The whole thing — 328 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Geniml

Use Geniml for machine learning and statistical workflows over genomic interval sets. Treat coordinates, assemblies, token vocabularies, model artifacts, and sample grouping as explicit contracts. The bundled scripts validate or plan; they do not import Geniml, contact services, deserialize models, or execute training.

Bash is declared only for explicit, user-approved uv, Python, Geniml, Gtars, Git, and native CLI commands shown in this guide; bundled Python helpers do not spawn subprocesses. Example paths under data/, refs/, work/, and models/ are user-provided project placeholders, not missing bundled files.

Verified release snapshot

  • Latest stable PyPI release on 2026-07-23: geniml==0.8.4 (2026-01-14).
  • PyPI does not declare Requires-Python; its classifiers list Python 3.10-3.14. Prefer Python 3.11 or 3.12 where all native/ML wheels resolve.
  • geniml==0.8.4 accepts gtars>=0.2.5; the verified base smoke used current gtars==0.9.2 (2026-06-17, Python >=3.10).
  • Extras are ml and test. The base install omits Torch, Gensim, Scanpy, Hugging Face Hub, pyBigWig, and HMM dependencies.
  • Upstream documentation contains stale examples. Release source and installed --help output take precedence where they conflict.

Install reproducibly

Use a project environment and commit its generated lockfile:

uv venv --python 3.12
uv pip install "geniml==0.8.4" "gtars==0.9.2"

For Region2Vec, scEmbed, evaluation, or universe methods needing ML libraries:

uv pip install "geniml[ml]==0.8.4" "gtars==0.9.2"

For a durable project, prefer:

uv add "geniml[ml]==0.8.4" "gtars==0.9.2"
uv lock

Do not install an unpinned Git branch. Record Python, OS/architecture, the resolved lockfile, and the PyPI artifact digest. Geniml itself is BSD-2-Clause; the MIT frontmatter value licenses this skill's content.

Start with the safety gate

Before importing Geniml or running an external binary:

  1. Work only with explicit local regular files. Reject URLs, FIFOs, devices, and symlinks unless the user deliberately changes that policy.
  2. Validate BED structure and the declared assembly against a trusted local chromosome-sizes file.
  3. Bound file count, bytes, rows, workers, epochs, and output size.
  4. Separate train/validation/test by patient, donor, biological replicate, or other independent unit—not by BED row or cell alone.
  5. Inventory and checksum the universe, tokenizer, model, config, inputs, metadata manifest, and native binaries.
  6. Obtain explicit approval before any BEDbase or Hugging Face download. Never infer approval from a model ID or BEDbase identifier.
  7. Keep logs aggregate and bounded. BED filenames, sample IDs, phenotypes, labels, barcodes, and genomic intervals may be sensitive.

Read the full file on GitHub · 328 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago Changed · +17 lines 76f648f9e6e7
  2. 12d ago First seen · 311 lines · 43 tokens per session scan A 937fa40113f3

Subscribe to this mod's changes

geniml is a skill published in the GitHub repository K-Dense-AI/scientific-agent-skills (44,220 stars, last pushed 4d ago), licensed MIT. It adds 43 tokens to every session and 3,484 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

bio-prefect-dask-nextflow

Design reproducible bioinformatics pipelines with Prefect plus Dask or Nextflow. Use when scaffolding local, distributed, or scheduler-backed workflows.

fmschulz/omics-skills · 37 tokens

discovery-toolbox

A routed repertoire of 90 scientific thinking operators for biological research agents - visual reasoning, detectability and information budgets, search reframing, causal identification, competing explanations, observation and selection processes, pipeline artifact diagnosis, effort allocation, and confirmation…

dekan-aleksandr/biodiscovery-skills · 122 tokens

rdkit-qsar-pharmacophore

Computes 2048-bit ECFP4 Morgan fingerprints from SMILES, trains LightGBM regressors for pIC50 prediction, and extracts SHAP feature attributions.

YuliaNuzhnenko/bioinformatics-agent-skills · 46 tokens

discovery-director

Operate as a research director making original discoveries from a given biological question and dataset. Use when the task is open-ended scientific research, exploring omics or experimental data for findings, hypothesis generation and testing, screening a large candidate space of genes, variants, features or…

dekan-aleksandr/biodiscovery-skills · 114 tokens

bulk-rnaseq-counts-to-de-deseq2

Run differential expression analysis on bulk RNA-seq count data with DESeq2 (R). Covers DESeqDataSet construction from a count matrix, tximport (Salmon/Kallisto), featureCounts, or SummarizedExperiment; pre-filtering; design formulas (simple, batch, paired, interaction, multi-factor, LRT); result extraction by…

hossainlab/omics-skills · 141 tokens

seurat-skill

Comprehensive Seurat v5 (R) guide for single-cell RNA-seq and multimodal analysis. Covers installation, standard workflows (Normalize/SCTransform), clustering, integration (CCA/RPCA/Harmony), differential expression (FindMarkers/FindAllMarkers), visualization (DimPlot/FeaturePlot/VlnPlot/DoHeatmap), spatial…

Agents365-ai/seurat-skill · 167 tokens