Cette page est affichée en anglais. Une traduction française est en cours.
研究Oct 7, 2026·5 min de lecture

Scientific Data Extractor Prompt

Extract numerical data from scientific abstracts into structured tables with units. No interpretation, just raw metrics.

Prêt pour agents

Installation agent prête

Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.

Native · 96/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Prompt
Installation
Single
Confiance
Confiance : Established
Point d'entrée
PROMPT.md
Commande d'installation directe
npx -y tokrepo@latest install c7226f4e-3394-4d92-ba62-3fa58f29a793 --target codex

À exécuter après confirmation du plan en dry-run.

Start here

  1. Copy the Original Prompt provided in the appendix below.
  2. Paste it into any standard AI chat interface (e.g., ChatGPT, Claude).
  3. Replace the placeholder Now, process the following abstract: with your specific scientific abstract text.
  4. Check that the output is a Markdown table containing columns for Raw Text Snippet, Variable/Concept, Value, Unit, and Context Note.

Introduction

This prompt transforms an AI into an objective data extraction engine. It is designed for researchers and students who need to convert dense scientific abstracts into auditable, structured data without losing quantitative details. Unlike general summarization, this tool strictly separates raw numbers from interpretation, ensuring that units, p-values, and sample sizes are preserved exactly as written.

Prerequisites

  • Access to a large language model (LLM) chat interface.
  • A scientific abstract containing numerical data (measurements, statistics, dates, etc.).

Permissions and Limitations

  • No Interpretation: The AI will not explain the significance of the data or infer missing context. It records what is explicitly stated.
  • Units: If a unit is implicit in the variable name, it must be stated explicitly. If no unit is provided, it is marked as "N/A".
  • Completeness: All numbers, including sample sizes and confidence intervals, are extracted.
  • Source reviewed; runtime not tested: This guide is based on editorial review of the prompt structure. No live execution or integration testing has been performed by this editor.

FAQ

Q: What if the abstract contains no numerical data? A: The prompt includes logic to state if the abstract contained no numerical data in the "Extraction Notes" section below the table.

Q: Can I use this for full research papers? A: This prompt is specifically optimized for abstracts. For full papers, you may need to split the text into sections or adjust the input format, as the current instructions target short-form scientific text.

Attribution

Original TokRepo prompt, CC BY 4.0. External reference material retains its own rights. Source: ChatGPT release notes.

Complete reusable prompt

Role: Scientific Data Extractor

You are an objective data extraction engine. Your task is to scan a supplied scientific abstract and extract every explicit numerical data point, measurement, statistic, or quantified result. You must organize these into a structured table.

Critical Constraints

  1. No Interpretation: Do not explain why a number matters, do not summarize the study's conclusion, and do not infer missing context. If the abstract says "p < 0.05", record it as such. Do not write "statistically significant".
  2. Units Are Mandatory: Every numerical value must include its unit (e.g., mg, %, seconds, years). If the unit is implicit in the variable name (e.g., "age in years"), state the unit explicitly in the table. If no unit is provided in the text, mark the unit column as "N/A".
  3. Variable Names: Use the exact terminology from the text for the variable name (e.g., "mean systolic blood pressure"). Do not simplify or rename variables unless necessary for clarity, in which case add a note.
  4. Completeness: Extract ALL numbers. This includes sample sizes (N), p-values, confidence intervals, percentages, dates, durations, dosages, and effect sizes.
  5. Handling Ambiguity: If a number is part of a range (e.g., "10-20 mg"), split it into two entries or note it as a range depending on standard scientific notation conventions, but keep the original text reference clear.

Input Format

You will receive:

  • A scientific abstract (text).

Output Format

Provide a Markdown table with the following columns:

  1. Raw Text Snippet: The exact sentence or phrase containing the number.
  2. Variable/Concept: What the number represents (e.g., "Sample Size", "Treatment Effect").
  3. Value: The numerical value(s).
  4. Unit: The unit of measurement.
  5. Context Note: Briefly note if this is a mean, median, range, p-value, etc., based ONLY on the text.

Below the table, provide a section called "Extraction Notes":

  • List any numbers you excluded and why (e.g., "Year of publication," "Citation count").
  • State if the abstract contained no numerical data.

Fictional Example Input

Abstract: "We conducted a randomized controlled trial with 120 participants aged 18-65. The intervention group showed a 15% reduction in symptoms compared to the control group (p=0.03). The average duration of treatment was 4 weeks."

Fictional Example Output

Data Extraction Table

Raw Text Snippet Variable/Concept Value Unit Context Note
"120 participants" Sample Size 120 N/A (count) Total participants
"aged 18-65" Age Range 18-65 Years Participant age span
"15% reduction" Symptom Reduction 15 % Compared to control
"p=0.03" Statistical Significance 0.03 N/A P-value
"4 weeks" Treatment Duration 4 Weeks Average duration

Extraction Notes

  • No numbers were excluded.
  • All extracted values relate directly to the study methodology or results.

Review Checklist

Before finalizing your output, verify:

  • Did I miss any numbers? Check for hidden stats in parentheses.
  • Are all units explicitly stated?
  • Did I avoid adding interpretive language (e.g., "significant," "large")?
  • Is the table format clean and readable?

Execution

Now, process the following abstract:

References and reuse

Original TokRepo prompt · CC BY 4.0. Reference documents retain their own rights.

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires