{"data":{"slug":"github-aipoch-medical-research-skills-scientific-skills-other-literatureimages-interpretation-67baab4fe1f8","title":"Interpret Figures in Academic Papers","summary":"Generate a structured Markdown report interpreting figures in academic papers converted to Markdown, including alignment of images with figure numbers using captions and in-text citations.","url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-literatureimages-interpretation-67baab4fe1f8","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-literatureimages-interpretation-67baab4fe1f8","markdown_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-literatureimages-interpretation-67baab4fe1f8.md","download_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-literatureimages-interpretation-67baab4fe1f8\/download","category":{"slug":"data-research","name":"Data & Research"},"editor_note":"Ensure the input is a PDF-to-Markdown document with page markers and image links. Use the `pdf-extract` tool to convert PDFs to Markdown first if needed. Images must be in a folder named `*-images\/` matching the literature filename.","instructions":"---\nname: literatureimages-interpretation\ndescription: Interpret figures in academic papers and their captions when the input is a PDF-to-Markdown document with page markers and image links, producing a structured Markdown report for extracting variables, trends, and conclusions.\nlicense: MIT\nauthor: AIPOCH\n---\n> **Source**: [https:\/\/github.com\/aipoch\/medical-research-skills](https:\/\/github.com\/aipoch\/medical-research-skills)\n\n\n## When to Use\n\n- You have a paper converted from PDF to Markdown (including `## Page XX` markers and image links) and need a figure-by-figure interpretation report.\n- You need to extract key variables, trends, comparisons, and conclusions primarily from charts\/plots rather than from the main text.\n- You want to align images in a `*-images\/` folder with figure numbers (e.g., Figure 1A, Figure 2) using captions and in-text citations.\n- You need a standardized, UTF-8 Markdown output suitable for downstream summarization, data extraction, or knowledge base ingestion.\n- You must filter out non-figure images (e.g., scanned body text blocks) and interpret only chart-like content.\n\n## Key Features\n\n- Parses Markdown image links and locates the corresponding `*-images\/` directory (e.g., `RateSOX2.md` \u2192 `RateSOX2-images\/`).\n- Opens **every** image in the images folder without skipping and classifies each as chart \/ table \/ schematic \/ flowchart \/ body-text block.\n- Builds an internal (non-exported) alignment list to map images to figure numbers using captions and body-text citations.\n- Interprets **only chart-type** images (and other figure-like visuals when required), excluding body-text blocks.\n- Produces a single structured \u201cImage Interpretation\u201d Markdown report per input file, saved to `outputs\/`.\n- Enforces evidence-based interpretation: rely only on captions, body text, and visible image content; do not speculate.\n\n## Dependencies\n\n- `pdf-extract` (version: not specified) \u2014 used only when the source is PDF and must be converted to Markdown first.\n- Markdown template: `assets\/figure_interpretation_template.md` (version: not specified)\n- Quality\/requirements reference: `references\/guide.md` (version: not specified)\n\n## Example Usage\n\n### Input layout\n\n```\nskill\/\n  literatureimages-interpretation\/\n    inputs\/\n      RateSOX2.md\n    RateSOX2-images\/\n      image_001.png\n      image_002.png\n      ...\n    assets\/\n      figure_interpretation_template.md\n    references\/\n      guide.md\n    outputs\/\n```\n\n### Run (conceptual workflow)\n\n1. If starting from PDF, convert to Markdown first:\n   ```bash\n   pdf-extract RateSOX2.pdf > skill\/literatureimages-interpretation\/inputs\/RateSOX2.md\n   ```\n\n2. Ensure the images folder exists and matches the literature name:\n   - `inputs\/RateSOX2.md`\n   - `RateSOX2-images\/`\n\n3. Execute the interpretation process:\n   - Read `inputs\/RateSOX2.md` (captions + in-text citations + image links).\n   - Open every image in `RateSOX2-images\/` sequentially.\n   - Classify images; keep only chart\/figure-like items for interpretation.\n   - Align images to figure numbers (e.g., Figure 1A) when possible; otherwise mark as **Unassigned**.\n   - Fill `assets\/figure_interpretation_template.md`.\n   - Write exactly one UTF-8 Markdown output to:\n     - `outputs\/RateSOX2_figure_interpretation.md` (example name; keep it concise)\n\n### Output (must be a single Markdown file)\n\n- Location: `outputs\/`\n- Content: **only** the \u201cImage Interpretation\u201d section (do **not** include the internal image list table)\n- Encoding: UTF-8\n\n## Implementation Details\n\n- **Input assumptions**\n  - Default input is a PDF-to-Markdown file (`.md`) containing:\n    - page markers like `## Page XX`\n    - image links\n    - captions and surrounding body text\n  - If only a PDF is provided, convert it to Markdown using `pdf-extract` before interpretation.\n\n- **Image discovery**\n  - Images are typically stored in a folder named `*-images\/` matching the literature filename.\n  - Use Markdown image links and\/or folder naming to locate the correct images.\n\n- **Mandatory full pass over images**\n  - Open **every** image in the `*-images\/` folder without skipping.\n  - Classify each image into one of:\n    - chart\/plot\n    - table\n    - schematic\n    - flowchart\n    - body text block (to be excluded from interpretation)\n\n- **Figure attribution (alignment)**\n  - Use captions and in-text citations to assign figure identifiers (e.g., Figure 2, Fig. 3B).\n  - If attribution cannot be determined, label the item as **Unassigned**.\n  - Maintain an internal alignment list for processing only; **do not** generate or export any image list file.\n\n- **Interpretation scope and constraints**\n  - Interpret **only** chart-type (and other figure-like) images that require analysis; exclude body-text blocks.\n  - Interpretations must be grounded in:\n    - visible content in the image (axes, legends, labels, values, trends)\n    - caption text\n    - relevant body text citations\n  - Do not infer beyond the evidence; if information is missing, write **\u201cNot specified\u201d**.\n\n- **Output rules**\n  - Use `assets\/figure_interpretation_template.md` as the structure.\n  - Output exactly **one** Markdown file per input document.\n  - Save to `outputs\/` with a concise filename (avoid redundant phrases).\n  - Do not include the internal image list table; output only the final \u201cImage Interpretation\u201d content.\n  - Ensure UTF-8 encoding to prevent character corruption.\n\n- **Quality checks**\n  - Follow detailed requirements and checkpoints in `references\/guide.md`.\n\n## When Not to Use\n\n- Do not proceed when required input files, identifiers, parameters, or context are missing \u2014 ask the user to provide them first.\n- Do not assume capabilities beyond this skill's declared scope when the user requests external operations or inferences.\n- Do not proceed without user confirmation when overwriting existing results, executing high-cost batch operations, or expanding task scope.\n\n## Required Inputs\n\n| Field | Required | Format\/Source | Example | If Missing |\n|---|---|---|---|---|\n| User task description | Yes | Text | Research question, writing goal, analysis objective | Stop and ask user to provide |\n| 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 |\n| Output preference | No | Text | Language, format, target journal, template | Use skill default format |\n\n## Output Contract\n\n- Primary output: Structured result or target file aligned with this skill's objective.\n- Optional output: Intermediate check notes, issue list, supplementary suggestions, or generated file paths.\n- Format requirement: Unless the user specifies otherwise, prefer stable, reviewable Markdown or JSON; if the skill's bundled script requires a fixed format, use that format.\n- If partially complete: Must explicitly mark as PARTIAL and state which steps are completed and which remain.\n\n## Failure Handling\n\n- Missing critical input: Explicitly state which fields, files, or identifiers are missing and pause.\n- Script, template, or resource execution failure: Report the failing step, likely cause, and recovery suggestions \u2014 do not silently degrade.\n- Partial completion only: Return the verified portion first, then list remaining blockers and suggested next steps.\n\n## User Checkpoints\n\n- Before executing batch processing, overwriting files, long-running searches, or multi-stage generation, confirm scope and output format with the user.\n- Before proceeding when a key judgment is ambiguous, evidence is insufficient, or the workflow is entering the next stage, confirm with the user.\n\n\n## Input Validation\n\nThis skill accepts requests that match the documented purpose of `literatureimages-interpretation` and include enough context to complete the workflow safely.\n\nDo not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:\n\n> `literatureimages-interpretation` only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.\n\n## Quick Validation\n\n- Check that key scripts, templates, or reference file paths this skill depends on exist.\n- Check that the final output contains the core fields, sections, or files specified for this task.\n- Check that results clearly mark assumptions, limitations, and incomplete items.\n","use_cases":["Extract key variables, trends, and conclusions from charts in academic papers.","Align images with figure numbers using captions and in-text citations.","Create a structured Markdown report for figure interpretation."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/aipoch\/medical-research-skills\/blob\/686e09dfdb45d9fa1a08664f06bb93769b3c9d91\/scientific-skills\/Other\/literatureimages-interpretation\/SKILL.md","source_commit":"686e09dfdb45d9fa1a08664f06bb93769b3c9d91","license":"MIT","version":null,"listing_approved_at":"2026-11-26","created_at":"2026-11-24T15:18:12.000000Z","updated_at":"2026-11-26T09:25:03.000000Z","seo_title":"Interpret Figures in Academic Papers","seo_description":"Generate a structured Markdown report interpreting figures in academic papers converted to Markdown, including alignment of images with figure numbers using captions and","seo_keywords":["interpret academic paper figures","extract trends from charts","align images with figure numbers","generate markdown figure report"]}}