Batch extracts and verifies structured information (PMID, title, abstract, methodology, results, etc.) from clinical research literature using PMIDs. Use when the user wants to extract details from specific PMIDs.
This skill extracts structured information from clinical study literature based on provided PMIDs. It performs a search, parses the results, and uses LLM extraction with strict quality rules to produce a consolidated Markdown table.
scripts/utils.py is the most direct path to complete the request.clinical-study-info-extractor package behavior rather than a generic answer.scripts/utils.py.references/ for task-specific guidance.Python: 3.10+. Repository baseline for current packaged skills.Third-party packages: not explicitly version-pinned in this skill package. Add pinned versions if this skill needs stricter environment control.See ## Usage above for related details.
cd "20260316/scientific-skills/Evidence Insight/clinical-study-info-extractor"
python -m py_compile scripts/utils.py
python scripts/utils.py --help
Example run plan:
CONFIG block or documented parameters if the script uses fixed settings.python scripts/utils.py with the validated inputs.See ## Workflow above for related details.
scripts/utils.py.references/ contains supporting rules, prompts, or checklists.When you have a list of PMIDs and need structured details:
Normalize Input:
Use scripts/utils.py with normalize_pmids to parse the input string.
Search & Process:
Use scripts/utils.py with fetch_pubmed_data to query PubMed and get a list of document JSON strings.
Extract & Verify:
For each document, use the prompts defined in references/extraction_rules.md to extract and verify information.
Format Output:
Use scripts/utils.py with format_table to generate the final Markdown table.
See references/extraction_rules.md for detailed extraction logic and constraints.