Preclinical safety assessment

From GoogleCloudPlatform/LifeSciences · View interactive version

Preclinical safety assessment is an AI agent skill from the GitHub repository GoogleCloudPlatform/LifeSciences. Interpret preclinical toxicology studies, compute therapeutic index and hERG safety margins, and assess genotoxicity batteries — repeat-dose study data, cross-artifact margin calculation, ICH S2(R1) weight-of- evidence genotoxicity assessment, and safety pharmacology recording. Use when interpreting

How to use this skill

Skill file

1. When to use, and when not

Use this skill when you need to interpret preclinical toxicology data

and compute safety margins. Entry points include:

genotoxicity study data for downstream analysis.

data — cross-artifact margin calculation requiring both tox and PK

artifacts.

classification.

data and PK exposure.

on margins, genotoxicity, or safety pharmacology artifacts.

Do not use when:

predicted hERG structural flag) -> admet-property-prediction.

-> in-vivo-pk-analysis (though PK NCA artifacts are a required

input for margin calculation here).

-> compound-property-profile.

2. Preconditions

margins).

measured hERG IC50 (for ingest, margins --herg, analyze).

genotox).

repeat-dose artifact AND a PK NCA artifact (oase.pk-nca.v1,

produced by in-vivo-pk-analysis). Optionally takes a safety-pharm

artifact via --herg for measured hERG IC50 margin calculation.

PK data is a precondition for margin computation — run

in-vivo-pk-analysis first.

line: STOP means fix or report; PROCEED means work.

3. Tool invocations

| Question | Run | Writes to |

|---|---|---|

| Ingest and normalise a tox study? | oase tox ingest <INPUT_FILE> | raw/tox/{id}.tox-repeat-dose.json + .meta.json<br>raw/tox/{id}.tox-safety-pharm.json + .meta.json<br>raw/tox/{id}.tox-genotox.json + .meta.json |

| Assess a genotoxicity battery? | oase tox genotox <GENOTOX_ARTIFACT> | raw/tox/{compound_id}.tox-genotox-assessment.json + .meta.json |

| Compute therapeutic index and hERG margins? | oase tox margins <TOX_FILE> <PK_FILE> [--herg <SAFETY_PHARM>] | raw/tox/{study_id}.tox-margins.json + .meta.json |

| Apply thresholds and produce verdict? | oase tox analyze <ARTIFACT> | raw/tox/{stem}.tox.analysis.json |

Run phase 1 (ingest, genotox, margins) before phase 2

(analyze). analyze reads from disk and can be re-run with different

thresholds without recomputing.

ingest dispatches on the schema field in the input JSON — one

command handles all three study types.

4. Interpretation contract

Verdicts

analyze applies the tox-safety-package@1.0 threshold set and

emits per-artifact-type verdicts:

Margins analysis (oase.tox-margins.v1):

computed.

Genotox analysis (oase.tox-genotox-assessment.v1):

negative pattern (equivocal).

concern (includes all-positive, in vivo positive, or preponderance

positive batteries).

Safety-pharm analysis (oase.tox-safety-pharm.v1):

margin requires running tox margins with both PK and safety-pharm

artifacts.

Genotox battery classification

tox genotox classifies the battery result per ICH S2(R1):

(WoE needed).

(WoE needed).

Thresholds

The tox-safety-package@1.0 threshold set provides:

(ICH M3(R2)).

defensible default value. It is entirely program-specific. Do not

invent a value — set it via .oase/thresholds.yaml per program

and record the justification.

Thresholds are cited by name. The values in force are in the artifact:

every .analysis.json carries threshold_set, thresholds_applied,

threshold_sources, and threshold_provenance. Quote values from the

analysis being cited, never from prose.

Mandatory relays

| Relay code | Kind | Fires when | Obligation |

|---|---|---|---|

| tox.genotox_weight_of_evidence | Qualifier | Genotox battery has mixed results requiring weight-of-evidence reasoning (conditional) | State that this genotoxicity assessment used ICH S2(R1) weight-of-evidence reasoning because the battery results were mixed. Do not report the verdict as a clean negative — name the positive assay and the basis for the overall assessment. |

Upstream relay forwarding. tox margins reads the PK NCA sidecar

and forwards any upstream mandatory relays (e.g.,

pk.nca_assumes_linearity). Any upstream relay present in the margins

.meta.json must also be satisfied in the finding. Check

mandatory_relays in both the .analysis.json and in each phase-1

.meta.json.

Consequence rules

which margins were computed (TI Cmax, TI AUC, hERG). Proceed to

downstream work.

how much (from the analysis, not from recomputation). A flagged TI

below the configured ti_minimum is a substantive safety concern.

A flagged hERG margin between herg_marginal and

herg_safety_margin warrants attention; below herg_marginal is

elevated concern.

dose is recorded but TI cannot be computed without measured exposure.

This is not a failure — it is a data gap that requires toxicokinetic

(TK) data.

weight-of-evidence basis. Satisfy the

tox.genotox_weight_of_evidence relay if present.

assessment requires running tox margins with both PK and

safety-pharm artifacts.

Stage 3 to Stage 4 boundary

When a safety-pharm artifact with measured hERG IC50 is available, the

measured hERG margin from tox margins supersedes the predicted

structural flag from Stage 3 ADMET (admet.herg_structural_flag). A

measured IC50 and computed safety margin are direct evidence; a

pharmacophore-based prediction is indirect. Do not carry both the

measured margin and the predicted flag as independent findings — the

measured margin replaces the prediction.

Cross-disciplinary consequences

intended therapeutic dose. oase.pk-nca.v1 does not tag dose

context — this assumption cannot be verified from the artifact alone.

it means the measurement was not provided.

application occurs for genotox — the verdict maps directly from the

battery result pattern.

margin calculation. The hERG IC50 value is captured but not compared

to therapeutic exposure until tox margins is run with both

artifacts.

5. Failure modes and anti-fabrication guard

Do not compute these values yourself. The value is whatever the

tool emitted. If the tool did not run, there is no value. If a

required tool is unavailable, report the task as blocked. Do not

estimate, and do not proceed on an assumed result.

Named pathologies

tox repeat-dose artifact and a PK NCA artifact. Do not estimate a

therapeutic index from the NOAEL dose alone — exposure-based TI

requires measured exposure data.

means TI could not be computed, not that the margin is adequate. A

missing TI is a data gap, not a pass.

tox.genotox_weight_of_evidence relay fires, the battery had mixed

results. The verdict is the classification after WoE reasoning, not

a clean negative.

measured hERG IC50 margin is available from tox margins, it

supersedes admet.herg_structural_flag. Do not present both as

independent lines of evidence.

forwards upstream relays from the PK sidecar (e.g.,

pk.nca_assumes_linearity). Every forwarded relay must be satisfied

in the finding — they are not tox-specific, but they apply to the

TI calculation that depends on the PK data.

UNRESOLVED and program-specific. The CLI will refuse to apply it.

Do not supply a value in prose or in a finding.

6. Provenance

Therapeutic index convention references ICH M3(R2) general guidance

for starting dose selection and safety margin assessment. hERG safety

margin references ICH S7B (adopted 2005) for the recommended margin

between therapeutic free plasma Cmax and hERG IC50. Genotoxicity

battery assessment references ICH S2(R1) for weight-of-evidence

evaluation of mixed battery results. Provenance details are stamped in

every .analysis.json via threshold_provenance.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.