/bionexus-reliability:startfrom bionexus-reliability
Orients a session on the BioNexus plugin, a scientific reliability layer for AI-assisted biology. Routes completed single-cell DE to pre-submission shadow review and checks backend readiness.
Ships in bionexus-reliability. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
BioNexus is a Scientific Reliability Layer for AI-Assisted Biology, not a generic bioinformatics toolbox. Its Capability Plane provides reference implementations to demonstrate and test evidence boundaries. It stops at numeric clusters + marker tables and does not annotate cell types.
For completed single-cell differential expression, use single-cell-de-audit.
Start with existing DE results, a sample sheet and the proposed claim. The core
table-review path does not require scientific backends or a new analysis run.
bionexus audit-de --demo --bundle review-demo demonstrates a synthetic review;
it deliberately returns a non-pass and never establishes laboratory benefit.
For other tasks, preserve the explicit user scope and use the routes below.
python scripts/doctor.py
Honor tier, ready.scverse_ready / scvi_ready / spatial_ready, allowed_next_actions, and forbidden_claims.
Install: pip install -e . (kernel). scRNA gold chain: pip install -e ".[goldchain]". Spatial: pip install -e ".[spatial]". Full scVI: pip install -e ".[scverse]".
The capability plane provides reference execution pipelines (not an all-in-one bioinformatics suite):
| Priority | Tier | Skills (Reference Implementations) | When |
|---|---|---|---|
| 1 | core | single-cell-rna-qc, spatial-transcriptomics (squidpy), scvi-tools, nextflow-development | Default for real data |
| 2 | wrapper | Allotrope, provenance | Named lab-ops jobs |
| 3 | heuristic (not auto-discovered) | biologics, pLM, ACMG combiner, structure, multiome | Only if user asked and accepts grade C |
| 4 | outline | start, problem-selection | Planning only |
Heuristic skills live as SKILL.legacy.md. Do not open them for a generic “analyze my data” request. To opt in, rename that file back to SKILL.md.
python scripts/doctor.py
python skills/single-cell-rna-qc/scripts/scrna_inspect.py raw.h5ad
python skills/single-cell-rna-qc/scripts/scrna_convert.py 10x_dir/ -o raw.h5ad
python skills/single-cell-rna-qc/scripts/scrna_pipeline.py raw.h5ad -o clustered.h5ad
python skills/single-cell-rna-qc/scripts/scrna_plot.py clustered.h5ad -o figures/
python skills/single-cell-rna-qc/scripts/scrna_scrublet.py raw.h5ad -o raw_scrub.h5ad
python skills/single-cell-rna-qc/scripts/scrna_pseudobulk.py clustered.h5ad -o pb.csv --by sample condition --design pb_design.tsv
python skills/single-cell-rna-qc/scripts/scrna_deseq.py pb.csv --design pb_design.tsv --condition condition --reference control --contrast-level treated -o de.csv
python skills/spatial-transcriptomics/scripts/spatial_inspect.py visium.h5ad
python skills/spatial-transcriptomics/scripts/spatial_pipeline.py visium.h5ad -o spatial_out.h5ad
Endpoint: clustered .h5ad + markers/SVG CSV. Clusters are numbers. Do not invent cell types.
| User has | Do not use | Use instead |
|---|---|---|
| Only FASTQs / need nf-core | scrna_pipeline.py | nextflow-development |
| Already-clustered object, just plots | full gold chain | scrna_plot.py / spatial_inspect.py |
| Technical batch that Harmony cannot fix | Harmony-only | scvi-tools on counts |
| Spatial without coordinates | spatial gold chain | refuse; do not invent obsm['spatial'] |
| “What cell type is this?” | this plugin | stop; clusters stay numeric |
Local server defaults to the BioNexus compatibility surface (UniProt, Ensembl, gnomAD, PDB, AF, Reactome, STRING, GEO, GTEx). Prefer dedicated Literature/Database peer plugins when the host provides them; BioNexus does not bundle those peers. Set BIONEXUS_LOCAL_HOSTED_FALLBACKS=1 only for disaster recovery.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
10 skills in this plugin
/external-evidence-auditAudit completed results from literature, database, analysis, sequence, structure, or slide capabilities, then optionally assemble an explicitly adjudicated multi-source claim assessment. Passive only; never select tools, infer evidence relationships, or make the final scientific decision./instrument-data-to-allotropeConvert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV using native allotropy or declarative YAML mapping rules. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis./nextflow-developmentPrepare nf-core samplesheets, cluster nextflow.config, and write launch artifacts. nfcore_launch.py only wraps nf-core/rnaseq and nf-core/scrnaseq with optional nextflow -preview. Other pipelines still use generate_samplesheet.py plus a hand-written nextflow run. Does not reimplement the pipelines./provenance-and-auditSHA-256 hashes, environment snapshot, and activity-aware Methods text. Use to attach a reproducibility sidecar to an analysis. Do not use for 21 CFR Part 11, GxP, ALCOA+, or CLIA audit claims./scientific-problem-selectionThis skill should be used when scientists need help with research problem selection, project ideation, troubleshooting stuck projects, or strategic scientific decisions. Use this skill when users ask to pitch a new research idea, work through a project problem, evaluate project risks, plan research strategy, navigate decision trees, or get help choosing what scientific problem to work on. Typical requests include "I have an idea for a project", "I'm stuck on my research", "help me evaluate this project", "what should I work on", or "I need strategic advice about my research"./scvi-toolsTrain official scvi-tools models (scVI/scANVI/totalVI/PeakVI/MultiVI/veloVI) on raw counts after the scRNA gold chain. Use for probabilistic batch integration or those named models. Does not run DestVI/Cell2location. Do not log-normalize before setup_anndata.npx claudepluginhub herry423/bionexus --plugin bionexus-reliabilityOther plugins' skills for the same job