Agent-almanac develop-hplc-method

install
source · Clone the upstream repo
git clone https://github.com/pjt222/agent-almanac
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/pjt222/agent-almanac "$T" && mkdir -p ~/.claude/skills && cp -r "$T/i18n/caveman-lite/skills/develop-hplc-method" ~/.claude/skills/pjt222-agent-almanac-develop-hplc-method && rm -rf "$T"
manifest: i18n/caveman-lite/skills/develop-hplc-method/SKILL.md
source content

Develop an HPLC Method

Systematic development of a high-performance liquid chromatography method covering mode selection, column chemistry, mobile phase and gradient design, flow and temperature optimization, detector choice, and iterative refinement for non-volatile, thermally labile, or polar analytes.

When to Use

  • Analyzing compounds that are non-volatile, thermally labile, or too polar for GC
  • Developing a new HPLC-UV, HPLC-fluorescence, or LC-MS method from scratch
  • Adapting a literature or pharmacopeial HPLC method to a different column or instrument
  • Improving an existing method that suffers from poor resolution, long run times, or sensitivity issues
  • Selecting the appropriate chromatographic mode (reversed-phase, HILIC, ion-exchange, SEC, chiral)

Inputs

Required

  • Target analytes: Compound names, structures, molecular weights, pKa values, logP/logD
  • Sample matrix: Formulation, biological fluid, environmental extract, or neat solution
  • Performance targets: Required resolution, detection limits, quantitation range

Optional

  • Reference method: Compendial or literature method to use as a starting point
  • Available columns: Inventory of HPLC columns on hand
  • Instrument configuration: UHPLC vs. conventional HPLC, available detectors, column oven range
  • Throughput requirements: Maximum acceptable run time including re-equilibration
  • Regulatory context: ICH, USP, EPA, or other compliance framework

Procedure

Step 1: Define Separation Goals

  1. Compile analyte properties: molecular weight, pKa, logP (or logD at relevant pH), chromophores, fluorophores, ionizable groups.
  2. Identify the sample matrix and expected interferents (excipients, endogenous compounds, degradation products).
  3. Specify performance criteria:
    • Resolution between critical pairs (Rs >= 2.0 for regulated methods)
    • Detection limits (LOD/LOQ)
    • Acceptable run time including gradient re-equilibration
  4. Determine whether the method is for assay, impurity profiling, dissolution, content uniformity, or cleaning verification -- this drives the validation category.
  5. Decide between isocratic and gradient elution: use isocratic if all analytes elute within a retention factor range of 2 < k' < 10; otherwise use gradient.

Expected: A specification document listing analytes with physicochemical properties, matrix description, performance criteria, and isocratic vs. gradient decision.

On failure: If pKa or logP values are unknown, estimate from structure using prediction tools (ChemAxon, ACD/Labs) or run a scouting gradient on a C18 column at pH 3 and pH 7 to empirically assess retention behavior.

Step 2: Select Column Chemistry

Choose the chromatographic mode and column based on analyte properties.

ModeColumn ChemistryMobile PhaseBest For
Reversed-phase (RP)C18 (ODS)Water/ACN or water/MeOH + acid/bufferNon-polar to moderately polar, most small molecules
RP (extended)C8, phenyl-hexyl, biphenylWater/organic + modifierShape selectivity, aromatic compounds, positional isomers
RP (polar-embedded)Amide-C18, polar-endcapped C18Water/organic, compatible with high aqueousPolar analytes that elute too early on standard C18
HILICBare silica, amide, zwitterionicHigh organic (80-95% ACN) + aqueous bufferVery polar, hydrophilic compounds (sugars, amino acids, nucleotides)
Ion-exchange (IEX)SAX or SCXBuffer with ionic strength gradientPermanently charged species, proteins, oligonucleotides
Size-exclusion (SEC)Diol-bonded silica, polymerIsocratic aqueous or organic bufferProtein aggregates, polymers, molecular weight distribution
ChiralPolysaccharide (amylose/cellulose)Normal-phase or polar organic modeEnantiomeric separations, chiral purity
  1. Default to reversed-phase C18 for small molecules with logP > 0.
  2. For analytes with logP < 0, evaluate HILIC or ion-exchange.
  3. Select particle size: sub-2 um for UHPLC (higher efficiency, higher backpressure), 3-5 um for conventional HPLC.
  4. Select column dimensions: 50-150 mm length, 2.1-4.6 mm ID. Narrower columns save solvent and improve MS sensitivity.
  5. For chiral separations, screen at least 3-4 chiral stationary phases with different selectors.

Expected: Column chemistry, dimensions, and particle size selected with justification based on analyte properties.

On failure: If initial scouting shows poor retention on C18, switch to a more retentive phase (phenyl-hexyl for aromatics) or a different mode (HILIC for polar compounds).

Step 3: Design Mobile Phase and Gradient

  1. Select organic modifier:
    • Acetonitrile (ACN): lower viscosity, sharper peaks, better UV transparency below 210 nm
    • Methanol (MeOH): different selectivity, sometimes better for polar analytes, higher viscosity
  2. Select aqueous component and pH:
    • For neutral analytes: water with 0.1% formic acid (MS-compatible) or phosphate buffer (UV only)
    • For ionizable analytes: buffer the mobile phase 2 pH units away from analyte pKa to ensure a single ionic form
    • pH 2-3 (formic/phosphoric acid): suppresses ionization of acids, good general starting point
    • pH 6-8 (ammonium formate/acetate): for basic analytes or when selectivity at low pH is insufficient
    • pH 9-11 (ammonium bicarbonate, BEH columns): for very basic compounds on high-pH-stable columns
  3. Design the gradient:
    • Start at 5-10% organic, ramp to 90-95% organic over 10-20 min for initial scouting
    • Evaluate the scouting chromatogram to identify the useful organic range
    • Narrow the gradient to span only the elution window of interest
    • Gradient slope: steeper = faster but lower resolution; shallower = better resolution but longer run
  4. Include a column wash step (95% organic, 2-3 min) and re-equilibration (initial conditions, 5-10 column volumes).
  5. For isocratic methods, target k' = 3-8 for the analytes of interest.

Expected: Mobile phase composition (organic, aqueous, buffer/additive, pH) and gradient profile defined, with a scouting run confirming analyte elution within the programmed window.

On failure: If selectivity is poor (analytes co-elute despite gradient optimization), change the organic modifier (ACN to MeOH or vice versa), adjust pH by 2 units, or add an ion-pair reagent for charged analytes.

Step 4: Optimize Flow Rate and Temperature

  1. Set initial flow rate based on column dimensions:
    • 4.6 mm ID: 1.0 mL/min
    • 3.0 mm ID: 0.4-0.6 mL/min
    • 2.1 mm ID: 0.2-0.4 mL/min
  2. Verify backpressure is within instrument and column limits (typically < 400 bar conventional, < 1200 bar UHPLC).
  3. Optimize column temperature:
    • Start at 30 C for reproducibility (avoid ambient fluctuations)
    • Increase to 40-60 C to reduce viscosity, lower backpressure, and sharpen peaks
    • For chiral columns, temperature often has a strong effect on enantioselectivity -- screen 15-45 C
  4. Evaluate the effect of flow rate on resolution: small increases in flow can improve throughput without significant resolution loss if operating near the van Deemter minimum.
  5. Document the optimal flow rate, column temperature, and resulting backpressure.

Expected: Flow rate and column temperature optimized with backpressure within limits, resolution maintained or improved relative to initial conditions.

On failure: If backpressure is too high, reduce flow rate, increase temperature, or switch to a wider-bore or larger-particle column. If resolution degrades at higher temperature, return to 30 C and accept the longer run time.

Step 5: Select the Detector

DetectorPrincipleSensitivitySelectivityKey Considerations
UV (single wavelength)Absorbance at fixed lambdang rangeCompounds with chromophoresSimple, robust, most common
DAD (diode array)Full UV-Vis spectrumng rangeChromophores + spectral IDPeak purity assessment, library matching
Fluorescence (FLD)Excitation/emissionpg range (10-100x more sensitive than UV)Native fluorophores or derivatizedExcellent selectivity, requires fluorescent analytes
Refractive index (RI)Bulk propertyug rangeUniversal (no chromophore needed)Temperature-sensitive, gradient-incompatible
Evaporative light scattering (ELSD)Nebulization + light scatteringng rangeUniversal, non-volatile analytesSemi-quantitative, non-linear response
Charged aerosol (CAD)Nebulization + corona dischargeng rangeUniversal, non-volatile analytesMore uniform response than ELSD
Mass spectrometry (MS)m/z detectionpg-fg rangeStructural, highest selectivityRequires MS-compatible mobile phases
  1. For analytes with UV chromophores (aromatic rings, conjugated systems), start with DAD -- it provides both quantitation and peak purity.
  2. For trace analysis in complex matrices, prefer MS (ESI or APCI) in SIM or MRM mode.
  3. For compounds without chromophores (sugars, lipids, polymers), use CAD, ELSD, or RI.
  4. Set detection wavelength at the analyte's absorption maximum (lambda-max) for best sensitivity, or at 210-220 nm for general screening.
  5. For fluorescence, optimize excitation and emission wavelengths using a spectral scan of the analyte.
  6. Ensure mobile phase additives are compatible: no phosphate buffers with MS, no UV-absorbing additives at low wavelengths.

Expected: Detector selected and configured (wavelength, gain, acquisition rate) appropriate for analyte chemistry and sensitivity requirements.

On failure: If UV sensitivity is insufficient at the required LOQ, consider fluorescence derivatization (e.g., OPA for amines, FMOC for amino acids) or switch to LC-MS/MS for maximum sensitivity and selectivity.

Step 6: Evaluate and Refine

  1. Inject a system suitability standard 6 times and evaluate:
    • Retention time RSD < 1.0%
    • Peak area RSD < 2.0%
    • Resolution of critical pair >= 2.0
    • Tailing factor 0.8-1.5 for all peaks
    • Theoretical plates per column specification
  2. Inject a placebo/matrix blank to check for interference at analyte retention times.
  3. Inject a stressed or spiked sample to verify the method separates degradation products from the main analyte(s).
  4. If any criterion fails, adjust one variable at a time:
    • Poor resolution: change pH, gradient slope, or column chemistry
    • Tailing: add amine modifier (TEA for basic analytes), change buffer, or try a different bonded phase
    • Sensitivity: increase injection volume, concentrate the sample, or switch detector
  5. Lock the final method parameters and document all conditions.

Expected: All system suitability criteria met; method resolves target analytes from matrix interferents and known degradation products; parameters documented for transfer.

On failure: If iterative adjustment does not resolve the issue, consider a fundamentally different approach (change chromatographic mode, 2D-LC, or derivatization) and return to Step 2.

Validation

  • All target analytes resolved with Rs >= 2.0 for critical pairs
  • Retention time RSD < 1.0% across 6 replicate injections
  • Peak area RSD < 2.0% across 6 replicate injections
  • Tailing factors 0.8-1.5 for all analyte peaks
  • No matrix interference at analyte retention times
  • Degradation products resolved from main analyte(s)
  • Run time (including re-equilibration) meets throughput requirements
  • Mobile phase compatible with selected detector
  • Method parameters fully documented (column, mobile phase, gradient, flow, temperature, detector)

Common Pitfalls

  • Ignoring mobile phase pH for ionizable analytes: Running at a pH near the analyte's pKa causes split peaks or poor reproducibility because the compound exists in two ionic forms. Buffer at least 2 pH units away from pKa.
  • Using phosphate buffers with MS detection: Phosphate is non-volatile and contaminates the MS source. Use formate or acetate buffers for LC-MS work.
  • Insufficient re-equilibration after gradient: The column must be flushed with at least 5-10 column volumes of initial mobile phase before the next injection. Inadequate re-equilibration causes retention time drift.
  • Selecting too short a column for complex mixtures: While short columns (50 mm) offer speed, they may not provide enough theoretical plates for multi-component separations. Start with 100-150 mm for method development.
  • Neglecting system dwell volume: The dwell volume (mixer to column head) delays the gradient reaching the column. This differs between instruments and causes method transfer failures. Measure and document it.
  • Running HILIC like reversed-phase: HILIC requires high organic (80-95% ACN) with a small aqueous fraction. Increasing aqueous content increases elution strength -- the opposite of RP. Equilibration times are also longer.

Related Skills

  • develop-gc-method
    -- gas chromatography method development for volatile and semi-volatile analytes
  • interpret-chromatogram
    -- reading and interpreting HPLC and GC chromatograms
  • troubleshoot-separation
    -- diagnosing and fixing peak shape, retention, and resolution problems
  • validate-analytical-method
    -- formal ICH Q2 validation of the developed HPLC method