Guide · Agent skill
How to use the Analytical Method Validation agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The analytical-method-validation skill is a set of instructions and Python scripts that lets an AI agent help plan, compute and document whether a lab test procedure, such as HPLC, LC-MS/MS or qPCR, is fit for its intended purpose. It is written for analytical chemists, QC staff, method transfer teams and students. After this guide you will know what the skill does, how to install it, how to phrase requests so it triggers, and what it can and cannot decide.
Quick start
- 1Get the skill. Download the ZIP from this page or upload the skill in the Claude apps under Settings, Capabilities, Skills.
- 2Unzip into a skills folder. Place the folder in ~/.claude/skills/ for personal use, or in a project's .claude/skills/ folder.
- 3Check Python. Confirm you have Python 3.11 or newer available to run the scripts.
- 4Name the framework and attribute. Tell the agent what you are validating, the technique, the measured attribute and the governing framework.
- 5Generate the protocol. Run plan_validation.py with your framework and attribute to produce a protocol, then fill in acceptance criteria before collecting data.
- 6Run the checks on your data. Use the statistics scripts on your controlled CSV files and save output to a file.
- 7Have qualified reviewers decide. Give the computed results to the technical reviewer and quality unit, who make the fitness-for-purpose decision.
What the skill makes the agent do
The skill tells the agent to work in a fixed order. First it establishes which framework governs the work, such as ICH Q2(R2), USP <1225>, ICH M10, CLSI EP or ISO/IEC 17025, because these frameworks require different characteristics and study layouts. Then it insists that acceptance criteria are stated before any data are collected, since criteria chosen after seeing results are not acceptance criteria.
The scripts compute statistics on data you supply, including calibration response, accuracy and precision, detection and quantitation limits, and ICH M10 bioanalytical run checks. Each script reports computations and supported findings only.
- Plans the validation: which characteristics are required and what the protocol should contain
- Checks whether a calibration model holds across the range
- Reports recovery and how much variability is between days
- Calculates DL and QL by each allowed approach
- Flags supported ICH M10 numerical checks on a run
Install the skill from the ZIP or the Claude apps
Option A: download the ZIP from this page and unzip it into your personal skills folder, ~/.claude/skills/, or into a project's .claude/skills/ folder so that only that project uses it.
Option B: in the Claude apps, open Settings, go to Capabilities, and upload the skill under Skills.
The skill needs Python 3.11 or newer to run its scripts. The scripts use only the standard library, so no extra packages are listed in the source.
Trigger the skill with a natural request
You do not need special syntax. The skill's description lists trigger phrases such as "method validation", "validation protocol", "acceptance criteria", "linearity", "LOD", "LOQ", "Passing-Bablok", "method transfer", "ICH M10" and "ISR". Any request to show that an assay works also triggers it.
Name the technique, the attribute and the framework when you can. The more specific the request, the better the agent can choose the right characteristics.
- "Draft a validation protocol for an HPLC assay of impurities under ICH Q2(R2)."
- "Check whether my calibration data in calibration.csv are linear across the reportable range."
- "Set up an ICH M10 incurred sample reanalysis check for my LC-MS/MS run."
Run the planning command
The planning script can list the supported frameworks and generate a protocol with the required characteristics already filled in. Run these from the skill's scripts folder.
Every bracketed field in the generated protocol is a decision to record before data collection. Q2(R2) requirements depend on the measured attribute, such as assay, impurity, impurity-limit or identity, not on the technique alone.
cd skills/analytical-method-validation/scripts
python3 plan_validation.py --list-frameworks
python3 plan_validation.py --framework ich-q2r2 --attribute impurity --protocol > protocol.mdUse the statistics scripts with your own data
The scripts expect controlled input data files, typically CSV, supplied by you. The source uses placeholder filenames, so substitute your own. All scripts accept --format table, tsv or json. Provenance and caveats go to stderr and data goes to stdout, so redirecting with > keeps them separate.
Exit code 0 means no findings, 1 means findings were raised and 2 means bad input, so the scripts can gate a workflow. Version 2.0 changed the input contract, so re-run saved analyses rather than comparing exit codes with version 1.x.
- check_response.py: calibration model across the range
- check_accuracy_precision.py: recovery and between-day variability
- check_detection_limits.py: DL and QL by allowed approach
- check_bioanalytical_run.py: supported ICH M10 numerical checks
python3 check_response.py calibration.csv --format json > response.jsonSafety notes: scripts and network
This skill runs scripts. The source states it does not use the network. It also says the skill does not supply text from paywalled USP, CLSI or ISO documents and does not provide their numeric thresholds, so those numbers must come from an authorised copy you obtain yourself.
The skill is not a decision-maker. It explicitly does not decide that a procedure is validated, release a batch, accept or reject a run, or close an investigation. Only qualified reviewers and the quality unit can make those calls.
- Review any script before running it on controlled data, as with any downloaded code
- Do not ask the agent to retrieve or reconstruct paywalled standard text
- Keep controlled data files under your own quality system
Tips for getting useful output
State your acceptance criteria before you run any analysis, and give them to the agent in the request. The skill is built to flag decisions made after data collection.
Use the protocol and report templates as the structure for your documents. The report template states that any criterion that differs from the approved protocol is a deviation to document, not an edit to make.
- Give the intended purpose and the decision the result supports
- Supply complete labelled calibrator and QC records for ICH M10 runs
- For QL confirmation, supply explicit bias and CV limits
What people use it for
- Drafting a Q2(R2)-shaped validation protocol for an HPLC impurity method
- Checking calibration linearity and reportable range for an LC-MS/MS assay
- Calculating detection and quantitation limits by the approaches the scripts support
- Running ICH M10 run checks on bioanalytical calibrator and QC records
- Structuring a validation report against criteria stated in an approved protocol
Frequently asked questions
How do I install the analytical method validation agent skill?
Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder. You can also upload it in the Claude apps under Settings, then Capabilities, then Skills.
What does the analytical method validation skill require?
It requires Python 3.11 or newer. The scripts use only the standard library and the source states they need no network access. You supply controlled input data files, typically in CSV format.
Is the analytical method validation skill free?
The skill is published under the MIT licence, as stated on this page. The source does not describe any pricing, so check the listing for current terms.
Does the skill decide whether my method is validated?
No. The skill explicitly does not decide that a procedure is validated or release a batch. It reports computations and findings, and qualified reviewers and the quality unit make the fitness-for-purpose decision.
Which frameworks does the skill support?
The source lists ICH Q2(R2), ICH M10 for bioanalytical work, USP <1220>, <1225> and <1226>, CLSI EP and ISO/IEC 17025. For USP, CLSI and ISO, the skill gives scope and sources only, not the paywalled text or thresholds.
Can the skill replace USP or CLSI documents?
No. The skill does not supply text or numeric thresholds from paywalled USP, CLSI or ISO documents. You must read those numbers from an authorised copy.
What is the difference between this skill and ICH Q2 guidance itself?
The ICH guidelines are published openly and their requirements are encoded in the skill, which then plans studies and computes statistics. The skill is a helper for planning and calculation, not a replacement for the guideline or for expert review.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
This skill suits analytical chemists, QC staff and method transfer teams who want an agent to structure validation protocols, compute standard statistics and keep criteria fixed before data are collected. It is not suited to making release, batch or clinical decisions, and it is not a source for paywalled USP, CLSI or ISO thresholds, so pick a different tool or consult an authorised copy when those are needed.
Download the skill