Result figure consistencycheck

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

Result figure consistencycheck is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Checks consistency between paper result descriptions and figure legends (text-only) when the input is a PDF-to-Markdown full text containing page breaks (e.g., `## Page XX`) and legend text; outputs a Markdown consistency report and a UTF-8 CSV issue list.

How to use this skill

Skill file

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

When to Use

Key Features

Dependencies

Example Usage

Input

Place the converted full text Markdown in your working location (example: inputs/paper_fulltext.md). The file should include page headers like:

## Page 12
... Results text ...

Figure 3. ...
(A) ...
(B) ...

Run (conceptual workflow)

  1. Read the full Markdown input (PDF conversion output).
  2. Identify:
  1. Compare legend statements against Results statements and record discrepancies.
  2. Write outputs to outputs/:

Output files

outputs/consistency_issues.csv (UTF-8) columns:

Figure Number,Location/Reference,Issue Description,Suggested Revision,Priority

Notes:

outputs/consistency_report.md (UTF-8) must follow:

Implementation Details

When Not to Use

Required Inputs

| Field | Required | Format/Source | Example | If Missing |

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

| User task description | Yes | Text | Research question, writing goal, analysis objective | Stop and ask user to provide |

| Primary input material | Depends on task | Text, file path, ID, table, or literature | PMID, PDF, CSV, DOCX, keywords, etc. | Specify which material type is missing |

| Output preference | No | Text | Language, format, target journal, template | Use skill default format |

Output Contract

Failure Handling

User Checkpoints

Input Validation

This skill accepts requests that match the documented purpose of result-figure-consistencycheck and include enough context to complete the workflow safely.

Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:

result-figure-consistencycheck only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.

Quick Validation

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.