Plan spectroscopic analysis

From pjt222/agent-almanac · View interactive version

Plan spectroscopic analysis is an AI agent skill from the GitHub repository pjt222/agent-almanac. Plan a comprehensive spectroscopic analysis campaign by defining the analytical question, assessing sample characteristics, selecting appropriate techniques using a decision matrix, planning sample preparation for each technique, sequencing analyses from non-destructive to destructive, and defining

How to use this skill

Skill file

Plan Spectroscopic Analysis

Design a spectroscopic analysis campaign that selects the right techniques, sequences them efficiently, and defines success criteria for answering a specific analytical question about a sample.

When to Use

Inputs

Procedure

Step 1: Define the Analytical Question

Clarify exactly what information is needed before selecting any technique:

  1. Classify the question type:
  1. Define the success criteria: State explicitly what constitutes a satisfactory answer. For structure identification: "a single structural proposal consistent with all spectroscopic data." For quantitation: "concentration determined with < 5% relative error."
  1. Assess what is already known: Compile any existing information about the sample (elemental analysis, reaction scheme, expected product, literature precedent). This constrains the problem and reduces the number of techniques needed.

Got: A clearly stated analytical question with defined success criteria and a summary of existing knowledge about the sample.

If fail: If the analytical question is vague ("characterize this sample"), work with the requestor to narrow it down. A vague question leads to unfocused analysis and wasted instrument time.

Step 2: Assess Sample Characteristics

Evaluate the sample to determine which techniques are feasible:

  1. Physical state: Solid (crystalline, amorphous, powder), liquid, solution, gas, thin film, or biological tissue. Each state constrains which sample preparation methods and techniques are applicable.
  2. Quantity available: Estimate the total sample mass or volume. Some techniques require milligrams (NMR), others work with micrograms (MS) or nanograms (SERS).
  3. Solubility: Test or estimate solubility in common solvents (water, methanol, DMSO, chloroform, hexane). NMR requires a deuterated solvent; UV-Vis requires a transparent solvent.
  4. Stability: Assess thermal stability (for GC-MS, which requires volatilization), photostability (for Raman, which uses laser excitation), air/moisture sensitivity (for KBr pellet preparation), and solution stability (for time-dependent measurements).
  5. Safety hazards: Note toxicity, flammability, reactivity, and radioactivity. These affect handling protocols and may exclude certain techniques (e.g., volatile toxic compounds should not be analyzed by open-atmosphere Raman without containment).
  6. Expected molecular weight range: Small organics (< 1000 Da) vs. polymers/biomolecules (> 1000 Da) require different MS ionization methods and different NMR acquisition strategies.

Got: A sample characterization summary listing state, quantity, solubility, stability, hazards, and molecular weight range.

If fail: If the sample cannot be characterized adequately (e.g., quantity is too small to test solubility), adopt a conservative approach: start with non-destructive, minimal-sample techniques (Raman, ATR-IR) and assess further after initial results.

Step 3: Select Techniques Using the Decision Matrix

Choose the most informative techniques based on the analytical question and sample characteristics:

| Technique | Best For | Sample Needs | Destructive? | Sensitivity | Key Limitations |

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

| 1H NMR | H connectivity, integration, coupling | 1--10 mg in deuterated solvent | No | mg | Requires solubility, insensitive |

| 13C NMR | Carbon skeleton, functional groups | 10--50 mg in deuterated solvent | No | mg | Very insensitive, long acquisition |

| 2D NMR | Full connectivity, stereochemistry | 5--20 mg in deuterated solvent | No | mg | Hours of instrument time |

| IR (ATR) | Functional group ID | Any solid/liquid, minimal prep | No | ug | Water interference, fingerprint overlap |

| IR (KBr) | Functional group ID, transmission | 1--2 mg solid in KBr pellet | No* | ug | Moisture sensitive, sample mixed |

| Raman | Symmetric modes, aqueous samples | Any state, no prep for solids | No | ug--mg | Fluorescence, photodegradation |

| EI-MS | Volatile small molecules, fragmentation | ug, must be volatile | Yes (GC-MS) | ng--ug | Requires volatility |

| ESI-MS | Polar/large molecules, MW determination | Solution in volatile solvent | Yes | pg--ng | Adduct complexity, ion suppression |

| MALDI-MS | Polymers, proteins, large molecules | Solid + matrix | Yes | fmol | Matrix interference below 500 Da |

| UV-Vis | Chromophores, quantitation | Solution, ug--mg | No | ug | Limited structural information |

*IR with KBr is non-destructive to the molecule but the sample cannot be easily recovered from the pellet.

  1. Match question to technique: Structure ID typically requires NMR + MS + IR at minimum. Functional group screening needs only IR. Quantitation works best with UV-Vis or NMR.
  2. Check feasibility: Cross-reference each candidate technique with the sample characteristics from Step 2. Eliminate techniques that are incompatible (e.g., GC-MS for non-volatile compounds, NMR for paramagnetic samples).
  3. Prioritize by information density: Rank the remaining techniques by how much information they provide toward answering the specific question.
  4. Consider cost and availability: If multiple techniques provide similar information, prefer the one that is faster, cheaper, or more readily available.

Got: A ranked list of selected techniques with justification for each choice and notes on any techniques excluded and why.

If fail: If no single technique is sufficient (which is common for structure identification), the plan should include complementary techniques that together answer the question. If no suitable technique is available, note the limitation and recommend alternative analytical approaches (e.g., derivatization to make the sample suitable for GC-MS).

Step 4: Plan Sample Preparation for Each Technique

Define specific preparation requirements for each selected technique:

  1. NMR preparation: Dissolve 1--50 mg sample in 0.5--0.7 mL of deuterated solvent. Choose solvent based on solubility and spectral window:

| Solvent | 1H Residual | Use When |

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

| CDCl3 | 7.26 ppm | Non-polar to moderately polar compounds |

| DMSO-d6 | 2.50 ppm | Polar compounds, broad solubility |

| D2O | 4.79 ppm | Water-soluble compounds, peptides |

| CD3OD | 3.31 ppm | Polar organic compounds |

| C6D6 | 7.16 ppm | Aromatic region overlap avoidance |

  1. IR preparation: Select method based on sample state:
  1. MS preparation: Match ionization method to sample:
  1. UV-Vis preparation: Dissolve in UV-transparent solvent. Adjust concentration so that absorbance at lambda-max is between 0.1 and 1.0. Use matched cuvettes for sample and reference.
  1. Raman preparation: Minimal preparation needed for most samples. Solids can be measured neat. Liquids in glass vials (glass has weak Raman scattering). Avoid fluorescent containers. For aqueous solutions, Raman works well because water is a weak Raman scatterer.

Got: A preparation protocol for each selected technique, including solvent choices, quantities needed, and special handling instructions.

If fail: If sample quantity is insufficient for all planned techniques, prioritize based on the information hierarchy from Step 3. If sample is insoluble in all suitable solvents, consider solid-state techniques (ATR-IR, Raman, solid-state NMR, MALDI-MS).

Step 5: Determine Analysis Sequence and Cross-Validation Strategy

Order the analyses to preserve sample and maximize information flow:

  1. Sequence by destructiveness: Non-destructive techniques first, destructive last.
  1. Information flow: Use early results to refine later analyses:
  1. Define cross-validation points: Identify where results from different techniques should agree:
  1. Plan for contingencies: Define what additional experiments to run if initial results are ambiguous:
  1. Document the plan: Produce a written analysis plan with technique sequence, sample preparation steps, expected turnaround time, and decision points for contingency experiments.

Got: A complete, ordered analysis plan with preparation protocols, cross-validation criteria, and contingency provisions documented.

If fail: If the plan cannot be completed due to sample or instrument constraints, document the limitations explicitly and propose the best achievable subset of analyses.

Validation

Pitfalls

Related Skills

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.