Plans, executes, and documents validation, verification, and transfer of analytical procedures under the governing framework - ICH Q2(R2) and Q14, USP <1220>/<1225>/<1226>, ICH M10 bioanalytical, CLSI EP, or ISO/IEC 17025. Use for HPLC, LC-MS/MS, GC, CE, ICP-MS, dissolution, qNMR, qPCR, NIR, and ligand binding or cell-based assays whenever the question is whether a procedure is fit for its intended purpose. Triggers include "method validation", "analytical method validation", "AMV", "validation protocol", "acceptance criteria", "linearity", "reportable range", "accuracy and precision", "repeatability", "intermediate precision", "recovery", "LOD", "LOQ", "detection limit", "quantitation limit", "specificity", "robustness", "method transfer", "method comparison", "Deming", "Passing-Bablok", "Bland-Altman", "equivalence testing", "OOS investigation", "ICH Q2", "Q2(R2)", "Q14", "USP 1225", "ICH M10", "incurred sample reanalysis", "ISR", "CLSI EP", and any request to show that an assay works.
kortix marketplace install K-Dense-AI/scientific-agent-skills:analytical-method-validationnull for unavailable statistics.cd skills/analytical-method-validation/scripts
python3 plan_validation.py --list-frameworks
| Key | Governs | Numeric criteria supplied |
|---|---|---|
ich-q2r2 | Release and stability testing of drug substances and products | Almost none — you derive them |
ich-m10 | Bioanalytical concentration measurement (PK, TK, BE) | Yes, and they differ by modality |
usp-1220 | Compendial procedure lifecycle, three stages | Paywalled |
usp-1225 / usp-1226 | Validation / verification of compendial procedures | Paywalled |
clsi | Clinical laboratory measurement procedures (EP series) | Paywalled |
iso-17025 | Lab-developed and modified methods under accreditation | No — "to the extent necessary" |
cd skills/analytical-method-validation/scripts
| Script | Question answered |
|---|---|
plan_validation.py | Which framework, which characteristics, what study layout, what protocol? |
check_response.py | Does the calibration model actually hold across the range? |
check_accuracy_precision.py | What is the recovery, and how much of the variability is between days? |
check_detection_limits.py | What are DL and QL by each allowed approach, and do they serve the reporting threshold? |
check_bioanalytical_run.py | Which supported ICH M10 numerical checks raise findings? |
compare_methods.py | Are two procedures equivalent, at a pre-stated margin? |
tests/analytical-method-validation/fixtures/ on Python 3.13.3. They are computational smoke
tests, not evidence that a physical assay is validated. All scripts take --format table|tsv|json. Provenance, guideline citations, and caveats go to stderr;
data goes to stdout, so > out.tsv keeps them separate. Exit code is 0 for no findings, 1
when findings were raised, 2 for bad input — so any of them can gate a workflow.null. Re-run saved
analyses rather than comparing their exit codes with version 1.x unchanged.python3 plan_validation.py --framework ich-q2r2 --attribute assay --technique hplc --range-use assay
assay, impurity (quantitative), impurity-limit, and identity.python3 plan_validation.py --framework ich-q2r2 --attribute impurity --protocol > protocol.md
python3 check_response.py -i calibration.csv --max-back-calc-error 2
level,response, one row per injection; repeated rows at the same level are replicates,
and supplying them is what makes the linearity test possible.statistic value
distinct levels 5
slope 166.6000
intercept 2495.0000
intercept CI includes 0 no
coefficient of determination (r2) 0.9830
lack-of-fit F 469.5294
lack-of-fit p 1.5139e-06
runs test p 0.0492
level n mean_response mean_back_calculated relative_error_pct
50.0000 2 10075.0000 45.4982 -9.0036
75.0000 2 15150.0000 75.9604 1.2805
100.0000 2 20050.0000 105.3721 5.3721
125.0000 2 24050.0000 129.3818 3.5054
150.0000 2 26450.0000 143.7875 -4.1417
--weight 1/x2 only when supported by the variance model for a wide-range curve. The script flags heteroscedasticity when the residual
variance in the top third of the range exceeds the bottom third by more than 10×, as a heuristic warning. Unequal variance does not itself bias OLS coefficients; choose weights
from a justified error model, then assess low-end performance. Weighted lack-of-fit assumes the
weights represent inverse variances. A significant test is not a practical acceptance criterion.python3 check_accuracy_precision.py -i ap.csv --accuracy-limit 2 --rsd-limit 1.0 --design-check assay
level,measured,group, where group is the intermediate-precision factor — day, analyst,
or instrument. Record independent sample-preparation IDs separately from repeat injections:
reinjecting one preparation estimates injection repeatability, not the whole procedure.
The bundled one-way model estimates one between-group component. If day, analyst, and
instrument change together, it cannot identify their separate contributions; use a
planned crossed or nested study and a matching model when those components matter. Grouped
accuracy intervals use independent group means with equal group weighting; individual injections
are not counted as independent evidence across days. To check the six-at-100% design alternative,
state --test-concentration 100 when nominal values are percentages (or the actual concentration).level component sd rsd_pct df ci90_low_sd ci90_high_sd
100 repeatability (within group) 0.0707 0.0705 3 0.0438 0.2065
100 between-group 1.6515 1.6458 2 n/a n/a
100 intermediate precision (total) 1.6530 1.6473 2.0037 0.9554 7.2821
--require-ci-within-limit enforces that the whole confidence interval sits inside the
limit, not just the mean. Q2(R2) 3.3.1.4 asks for the interval to be compatible with the
criterion; a mean that scrapes inside on six replicates has not demonstrated much.python3 check_detection_limits.py --calibration lowcal.csv --blanks blanks.csv \
--confirm-ql 0.05 --confirm-data ql_check.csv --reporting-threshold 0.05 \
--confirm-accuracy-limit 10 --confirm-rsd-limit 10
approach sigma slope DL QL
sd-and-slope (sigma = residual SD of regression) 7.2816 5033.3490 0.0048 0.0145
sd-and-slope (sigma = SD of 8 blanks) 3.7702 5033.3490 0.0025 0.0075
--intercepts curves.csv (column intercept) only for independent low-range calibration
curves: their intercept SD is not the standard error of one fitted intercept. The helper uses
unweighted low-range fits; it does not automate visual detection or establish a validated limit. Q2(R2) 3.2.3.5
therefore requires the limit and the approach used to determine it to be reported, and an
estimated limit to be confirmed with samples at or near it. For an impurity procedure the QL must
be at or below the reporting threshold. Reaching for 3.3σ/slope reflexively, reporting one number
with no named approach, and never confirming it are three separate findings.python3 check_bioanalytical_run.py --modality chromatographic --run run1.csv
python3 check_bioanalytical_run.py --modality lba --isr isr.csv
python3 check_bioanalytical_run.py --modality lba --criteria
--modality is mandatory and has no default, because the criteria genuinely differ:| Chromatographic | Ligand binding assay | |
|---|---|---|
| Calibration tolerance | ±15%, ±20% at LLOQ | ±20%, ±25% at LLOQ and ULOQ |
| Accuracy / precision | ±15% / ≤15% CV (±20% / ≤20% at LLOQ) | ±20% / ≤20% CV (±25% / ≤25% at LLOQ and ULOQ) |
| A&P design | 4 QC levels, 5 replicates/run, ≥3 runs over ≥2 days | 5 QC levels, 3 replicates/run, ≥6 runs over ≥2 days |
| Total error | no such criterion | ≤30%, ≤40% at LLOQ and ULOQ |
| ISR agreement | ±20% for ≥2/3 of repeats | ±30% for ≥2/3 of repeats |
finding: QC level high: 0/2 within tolerance (0%); M10 requires at least 50% at each level
python3 compare_methods.py -i paired.csv --margin 2 --relative --slope-tolerance 0.05
mean difference (%) 1.4646
TOST margin 2.0000
TOST p-value 1.0528e-13
90% CI (TOST) 1.44127 to 1.48797
equivalent at stated margin yes
--- for contrast only ---
paired t-test p (NOT equivalence) 0.0000
OLS slope (biased here) 1.0396
Deming slope 1.0398
Passing-Bablok slope 1.0351
lambda = SD(test replicates)^2 / SD(reference replicates)^2. Passing–Bablok requires its own
linear-relation and error-distribution assumptions; it is not assumption-free.references/framework-selection.md — which framework governs, and the questions that decide itreferences/ich-q2r2.md — structure, Table 1 and Table 2, per-characteristic recommended datareferences/ich-m10-bioanalytical.md — selected chromatographic and LBA criteria side by sidereferences/compendial-and-clsi.md — USP, CLSI and ISO designations, scope, and how to cite themreferences/statistics.md — the statistical methods, why each one, and the common errorsreferences/source-ledger.md — provenance and research dates for every claim in this skillassets/validation-protocol-template.md — protocol structure with criteria stated up frontassets/validation-report-template.md — report structure with raw-data traceabilityKassis, T., Agarwal, V., He, Y., Patel, D., & Brueckner, A. M. (2026). Scientific Agent Skills: A Library of Procedural Knowledge for Research Agents. arXiv:2609.00065. https://doi.org/10.48550/arXiv.2609.00065
v1. When network access is
available, fetch https://arxiv.org/abs/2609.00065 (or
http://export.arxiv.org/api/query?id_list=2609.00065)) before writing the reference and take
the author list, year, and version from that record. If the record lists a journal reference
or publisher DOI, cite the published version instead.Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps, mfapy isotope simulation, constrained multistart fitting, and flux-profile diagnostics. Use for 13C-MFA, carbon tracing, mass isotopomer distributions (MDVs/MIDs), positional isotopomers, parallel tracer experiments, and determining whether labeling data constrain a pathway flux. Distinguishes measured-label inference from COBRA flux balance analysis and flags experiments requiring nonstationary MFA.
Uses the Adaptyv Bio Foundry API and Python SDK to design protein characterization experiments, estimate costs, submit sequences, monitor laboratory progress, and retrieve results. Applies to Adaptyv Foundry, its target catalog, binding screening and affinity assays, thermostability, expression, fluorescence, epitope binning, and enzyme activity workflows, including code using adaptyv or FoundryClient.
This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard ML approaches. Particularly suited for univariate and multivariate time series analysis with scikit-learn compatible APIs.
Looks up precomputed AlphaGenome Atlas effects for any GRCh38 single-nucleotide variant (AVI score with Phred and 18 SHAP feature attributions, plus raw and quantile scores for RNA-seq, DNase, ATAC, ChIP-TF, ChIP-histone, CAGE, PRO-cap, splicing, polyadenylation and contact-map tracks), scores variants or scans windows on demand with the AlphaGenome model for human and mouse (variant scoring, in silico mutagenesis, REF-versus-ALT track prediction), and builds Atlas website deep links. Use when the user mentions AlphaGenome, AlphaGenome Atlas, AVI or AlphaGenome Variant Impact, DeepMind variant effect prediction, or wants to prioritise or mechanistically interpret non-coding, regulatory, splicing, enhancer, promoter, or chromatin-accessibility effects of SNVs from a VCF, credible set, or region. Research use only; not a clinical tool.
Handles annotated matrices in single-cell analysis, .h5ad and Zarr files, and integration with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
Applies Arbor Hypothesis Tree Refinement to research artifacts with repeatable evaluators, including model training, agent harnesses, data synthesis and benchmark optimization. Uses persistent hypotheses, isolated experiments, evidence propagation and held-out candidate comparison for multi-experiment research runs. Includes a standard-library state manager and guidance for the RUC-NLPIR Arbor CLI.