Pdf extract experimental materials

From aipoch/medical-research-skills · View interactive version

Pdf extract experimental materials is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Extract experimental materials and instrument information from PDFs (or PDF-derived text/Markdown) into three CSV tables; use when a paper/report contains sections like Materials and Methods, Key Resources Table, Reagents, Antibodies, Consumables, Software, Equipment, Instruments, or Reagent Prepara

How to use this skill

Skill file

Source: https://github.com/aipoch/medical-research-skills

Validation Shortcut

Run this minimal command first to verify the supported execution path:

python scripts/validate_skill.py --help

When to Use

Key Features

Dependencies

Example Usage

1) Convert PDF to Markdown (preferred)

Reuse the existing script to generate parseable Markdown; only use OCR for scanned PDFs.

python d:\SKILL\project\pdf-extract\scripts\extract_pdf.py -i input.pdf -o out.md

2) Extract and write CSV outputs

After you have PDF-derived text/Markdown, extract the target fields and write exactly these three files:

CSV schemas (must match exactly):

main_reagents.csv

name,brand,catalog_number

main_instruments.csv

instrument,brand,model

reagent_preparation.csv

reagent,preparation_method

Implementation Details

1) Input decision logic

2) Target region detection (table-first)

Prioritize extraction in this order:

  1. Key Resources Table (or any structured materials table)
  2. Materials and Methods tables
  3. Prose sections identified by headings/keywords, such as:

When a table exists, parse it first; then scan prose to fill missing items.

3) Field extraction rules

A. Main reagents (name, brand, catalog_number)

B. Main instruments (instrument, brand, model)

C. Reagent preparation (reagent, preparation_method)

4) Output constraints and quality checks

When Not to Use

Required Inputs

Recommended Workflow

  1. Validate the request against the skill boundary and confirm all required inputs are present.
  2. Select the documented execution path and prefer the simplest supported command or procedure.
  3. Produce the expected output using the documented file format, schema, or narrative structure.
  4. Run a final validation pass for completeness, consistency, and safety before returning the result.

Output Contract

Validation and Safety Rules

Failure Handling

Quick Validation

Run this minimal verification path before full execution when possible:

No local script validation step is required for this skill.

Expected output format:

Result file: pdf_extract_experimental_materials_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any

Deterministic Output Rules

Completion Checklist

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.