analytical-method-validation
БесплатноЗапускает вложенные скриптыНе проверенPlans and evaluates analytical method validation, verification, and transfer using Python scripts (plan_validation, check_response, check_accuracy_precision…
от KalarisLabs★ 218 звёзд на GitHubОб этом скилле
Analytical Method Validation
When to use
Any time the question is whether an analytical procedure is fit for its intended purpose: designing a validation study, evaluating validation data, verifying a compendial procedure, transferring a procedure to another laboratory or instrument, or defending any of these in a report.
The two rules
1. Establish which framework governs before designing anything. The same assay validates differently under ICH Q2(R2), USP <1225>, ICH M10, CLSI EP, and ISO/IEC 17025. They differ in which characteristics are required, how the studies are laid out, and whether numeric acceptance criteria are supplied at all. Blending them produces a protocol that satisfies none of them.
2. State acceptance criteria before collecting data. Criteria chosen after seeing results are not acceptance criteria, and deciding them post hoc is a standing audit finding. ICH Q2(R2) deliberately supplies almost no numeric criteria — they have to come from the specification, the analytical target profile (ICH Q14 section 3), or development data. ICH M10 is the exception: it supplies explicit numbers, and they differ between chromatographic assays and ligand binding assays.
Scope
This skill plans studies, computes the statistics correctly, and structures the documentation. It does not decide that a procedure is validated, release a batch, accept or reject a run, close an investigation, or substitute for the analyst, the technical reviewer, the quality unit, or the regulator. Every script reports; none of them concludes.
Copyright boundary
ICH guidelines are published openly and licensed for reuse with acknowledgement, so their requirements are encoded directly in this skill. USP general chapters, CLSI EP documents, and ISO standards are copyrighted and paywalled. For those, this skill supplies the designation, scope, and where to obtain an authorised copy — never the text, never invented thresholds. Do not ask an agent to retrieve, transcribe, or reconstruct their content. If a number matters and it lives in a paywalled document, read it from the authorised copy.
Frameworks
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" |
Q2(R2) replaced Q2(R1) in November 2023 and restructured the characteristics. Range is now the parent characteristic (section 3.2), containing response (linearity) and validation of lower range limits (DL/QL). Accuracy and precision are section 3.3 and may be evaluated in combination against a single criterion. Robustness is treated as a development activity and cross-refers to ICH Q14. Multivariate procedures are addressed explicitly (2.5 and 3.2.2.3), and Annex 2 adds worked examples for techniques Q2(R1) never covered — quantitative ¹H-NMR, NIR, quantitative LC/MS, qPCR, biological assays, and particle size. A Q2(R1)-shaped protocol — a flat list of linearity, range, accuracy, precision, specificity, LOD, LOQ, robustness — is out of date. Note also the error correction dated 30 November 2023 to Table 5 and Tables 6–11.
Scripts
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 |
Does this run meet ICH M10 for its modality? |
compare_methods.py |
Are two procedures equivalent, at a pre-stated margin? |
All 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.
Workflow
1. Fix the framework and the required characteristics
python3 plan_validation.py --framework ich-q2r2 --attribute assay --technique hplc --range-use assay
Q2(R2) Table 1 decides what is required from the measured attribute, not from the technique. For an assay:
Установить analytical-method-validation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditBashВложенные файлы
FAQ
Что делает скилл analytical-method-validation?
Plans and evaluates analytical method validation, verification, and transfer using Python scripts (plan_validation, check_response, check_accuracy_precision, check_detection_limits, check_bioanalytical_run, compare_methods) under ICH Q2(R2)/Q14, ICH M10, USP 1220/1225/1226, CLSI EP, or ISO/IEC 17025. Covers protocols, linearity, accuracy and precision, DL/QL, M10 run checks, TOST equivalence, Deming and Passing-Bablok. Use when designing a validation protocol with pre-stated acceptance criteria. Use when evaluating linearity, precision, or detection limit data. Use when checking an ICH M10 bioanalytical run or ISR. Use when comparing or transferring a method between labs. Does not decide a method is validated; USP, CLSI, ISO text is not supplied.
Как установить скилл analytical-method-validation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл analytical-method-validation запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic