{"data":{"slug":"github-aipoch-medical-research-skills-scientific-skills-academic-writing-abstract-summarizer-87c47fee049c","title":"Generate Structured Academic Abstracts","summary":"Create 250-word structured abstracts from academic papers, requiring human review for accuracy. Supports input via text, file, or URL.","url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-academic-writing-abstract-summarizer-87c47fee049c","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-aipoch-medical-research-skills-scientific-skills-academic-writing-abstract-summarizer-87c47fee049c","markdown_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-academic-writing-abstract-summarizer-87c47fee049c.md","download_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-academic-writing-abstract-summarizer-87c47fee049c\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"This tool generates draft abstracts and requires human verification of numbers, statistics, and conclusions before submission. Ensure the input is in English and does not exceed 50 pages for optimal results.","instructions":"---\nname: abstract-summarizer\ndescription: Transform lengthy academic papers into concise, structured 250-word abstracts.\nlicense: MIT\nauthor: AIPOCH\n---\n> **Source**: [https:\/\/github.com\/aipoch\/medical-research-skills](https:\/\/github.com\/aipoch\/medical-research-skills)\n\n# Abstract Summarizer\n\n## When to Use\n\n- Use this skill when the task needs Transform lengthy academic papers into concise, structured 250-word abstracts.\n- Use this skill for academic writing tasks that require explicit assumptions, bounded scope, and a reproducible output format.\n- Use this skill when you need a documented fallback path for missing inputs, execution errors, or partial evidence.\n\n## Key Features\n\n- Scope-focused workflow aligned to: Transform lengthy academic papers into concise, structured 250-word abstracts.\n- Packaged executable path(s): `scripts\/main.py`.\n- Reference material available in `references\/` for task-specific guidance.\n- Structured execution path designed to keep outputs consistent and reviewable.\n\n## Dependencies\n\n- `Python`: `3.10+`. Repository baseline for current packaged skills.\n- `pypdf2`: `unspecified`. Declared in `requirements.txt`.\n- `requests`: `unspecified`. Declared in `requirements.txt`.\n\n## Example Usage\n\n```bash\ncd \"20260318\/scientific-skills\/Academic Writing\/abstract-summarizer\"\npython -m py_compile scripts\/main.py\npython scripts\/main.py --help\n```\n\nExample run plan:\n1. Confirm the user input, output path, and any required config values.\n2. Edit the in-file `CONFIG` block or documented parameters if the script uses fixed settings.\n3. Run `python scripts\/main.py` with the validated inputs.\n4. Review the generated output and return the final artifact with any assumptions called out.\n\n## Implementation Details\n\nSee `## Workflow` above for related details.\n\n- Execution model: validate the request, choose the packaged workflow, and produce a bounded deliverable.\n- Input controls: confirm the source files, scope limits, output format, and acceptance criteria before running any script.\n- Primary implementation surface: `scripts\/main.py`.\n- Reference guidance: `references\/` contains supporting rules, prompts, or checklists.\n- Parameters to clarify first: input path, output path, scope filters, thresholds, and any domain-specific constraints.\n- Output discipline: keep results reproducible, identify assumptions explicitly, and avoid undocumented side effects.\n\n## Quick Check\n\nUse this command to verify that the packaged script entry point can be parsed before deeper execution.\n\n```bash\npython -m py_compile scripts\/main.py\n```\n\n## Audit-Ready Commands\n\nUse these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.\n\n```bash\npython -m py_compile scripts\/main.py\npython scripts\/main.py --help\n```\n\n## Workflow\n\n1. Confirm the user objective, required inputs, and non-negotiable constraints before doing detailed work.\n2. Validate that the request matches the documented scope and stop early if the task would require unsupported assumptions.\n3. Use the packaged script path or the documented reasoning path with only the inputs that are actually available.\n4. Return a structured result that separates assumptions, deliverables, risks, and unresolved items.\n5. If execution fails or inputs are incomplete, switch to the fallback path and state exactly what blocked full completion.\n\n## Overview\n\nAI-powered academic summarization tool that condenses complex research papers into publication-ready structured abstracts while preserving scientific accuracy and key findings.\n\n**Key Capabilities:**\n- **Multi-Format Input**: Process PDFs, text, URLs, or clipboard content\n- **Structured Output**: Background, Objective, Methods, Results, Conclusion format\n- **Word Count Enforcement**: Strict 250-word limit with validation\n- **Quantitative Preservation**: Retains key numbers, statistics, and effect sizes\n- **Discipline Adaptation**: Optimized for STEM, medical, and social sciences\n- **Batch Processing**: Summarize multiple papers efficiently\n\n## Core Capabilities\n\n### 1. Structured Abstract Generation\n\nExtract and condense key sections into standard format:\n\n```python\nfrom scripts.summarizer import AbstractSummarizer\n\nsummarizer = AbstractSummarizer()\n\n# Generate from PDF\nabstract = summarizer.summarize(\n    source=\"paper.pdf\",\n    format=\"structured\",  # structured, plain, or executive\n    word_limit=250,\n    discipline=\"biomedical\"  # affects terminology handling\n)\n\nprint(abstract.text)\n\n# Output: Background \u2192 Objective \u2192 Methods \u2192 Results \u2192 Conclusion\n```\n\n**Output Structure:**\n```\n**Background**: [Context and problem statement]\n**Objective**: [Research goal and hypotheses]\n**Methods**: [Study design, sample, key methods]\n**Results**: [Primary findings with statistics]\n**Conclusion**: [Implications and significance]\n\n---\nWord count: 247\/250\n```\n\n### 2. Quantitative Data Preservation\n\nEnsure numbers and statistics are accurately retained:\n\n```python\n\n# Extract and verify quantitative results\nquant_results = summarizer.extract_quantitative(\n    text=paper_content,\n    priority=\"high\"  # keep all numbers vs. representative samples\n)\n\n# Validate against original\nvalidation = summarizer.verify_accuracy(\n    abstract=abstract,\n    source=paper_content\n)\n```\n\n**Preserves:**\n- Sample sizes (n=128)\n- Effect sizes (Cohen's d = 0.82)\n- P-values (p < 0.001)\n- Confidence intervals (95% CI: [0.45, 0.78])\n- Percentages and absolute numbers\n\n### 3. Multi-Disciplinary Adaptation\n\nAdjust extraction strategy by field:\n\n```text\n\n# Biomedical paper\npython scripts\/main.py --input paper.pdf --field biomedical\n\n# Physics paper  \npython scripts\/main.py --input paper.pdf --field physics\n\n# Social science paper\npython scripts\/main.py --input paper.pdf --field social-science\n```\n\n**Field-Specific Handling:**\n| Field | Focus Areas | Special Handling |\n|-------|-------------|------------------|\n| **Biomedical** | Study design, statistical significance, clinical relevance | Preserve P-values, effect sizes |\n| **Physics** | Theoretical framework, experimental setup, precision | Keep measurement uncertainties |\n| **CS\/Engineering** | Algorithm performance, benchmarks, complexity | Retain accuracy percentages |\n| **Social Science** | Methodology, sample demographics, theoretical contribution | Preserve effect descriptions |\n\n### 4. Batch Literature Processing\n\nSummarize multiple papers for systematic reviews:\n\n```python\nfrom scripts.batch import BatchProcessor\n\nbatch = BatchProcessor()\n\n# Process directory of papers\nsummaries = batch.summarize_directory(\n    directory=\"literature_review\/\",\n    output_format=\"csv\",  # or json, markdown\n    include_metadata=True  # title, authors, year\n)\n\n# Generate review matrix\nmatrix = batch.create_summary_matrix(summaries)\nmatrix.save(\"review_matrix.csv\")\n```\n\n**Output:**\n- Individual abstract files\n- Comparative summary table\n- Key findings synthesis document\n\n## Quality Checklist\n\n**Pre-Summarization:**\n- [ ] Source document is complete (not truncated)\n- [ ] PDF\/text is machine-readable (not scanned images)\n- [ ] Document is research paper (not editorial, review, or news)\n\n**During Summarization:**\n- [ ] All key sections identified (don't miss Results)\n- [ ] Quantitative data preserved accurately\n- [ ] Statistical significance indicators kept\n- [ ] No interpretation added beyond source\n\n**Post-Summarization:**\n- [ ] Word count \u2264 250\n- [ ] All 5 sections present\n- [ ] **CRITICAL**: Numbers match source document\n- [ ] Standalone comprehensibility (makes sense without paper)\n- [ ] No citations or references in abstract\n- [ ] Technical terms used correctly\n\n**Before Use:**\n- [ ] **CRITICAL**: Fact-check all numbers against original\n- [ ] Verify author names and affiliations correct\n- [ ] Ensure conclusions don't overstate findings\n\n## Common Pitfalls\n\n**Accuracy Issues:**\n- \u274c **Misrepresenting statistics** \u2192 \"Significant improvement\" when p>0.05\n  - \u2705 Preserve exact P-values and confidence intervals\n  \n- \u274c **Oversimplifying complex findings** \u2192 \"Drug works\" vs nuanced efficacy data\n  - \u2705 Include effect sizes and confidence intervals\n\n- \u274c **Missing adverse events** \u2192 Only reporting positive results\n  - \u2705 Include safety data for clinical studies\n\n**Structure Issues:**\n- \u274c **Methods too detailed** \u2192 Protocol steps in abstract\n  - \u2705 High-level study design only\n\n- \u274c **Results without context** \u2192 Numbers without interpretation\n  - \u2705 Brief clinical\/scientific significance\n\n- \u274c **Conclusion overstates** \u2192 \"Cure for cancer\" from preclinical data\n  - \u2705 Match conclusion to evidence level\n\n**Word Count Issues:**\n- \u274c **Exceeding 250 words** \u2192 Journal rejection\n  - \u2705 Strict enforcement with real-time counter\n\n- \u274c **Too short (<150 words)** \u2192 Missing key information\n  - \u2705 Minimum thresholds by section\n\n## References\n\nAvailable in `references\/` directory:\n\n- `abstract_templates.md` - Discipline-specific abstract formats\n- `quantitative_checklist.md` - Number verification guidelines  \n- `disciplinary_guidelines.md` - Field-specific conventions\n- `journal_requirements.md` - Word limits by publisher\n- `example_abstracts.md` - High-quality examples by type\n\n## Scripts\n\nLocated in `scripts\/` directory:\n\n- `main.py` - CLI interface for summarization\n- `summarizer.py` - Core abstract generation engine\n- `extractor.py` - PDF and text extraction\n- `validator.py` - Accuracy checking and verification\n- `batch_processor.py` - Multi-document processing\n- `adapter.py` - Journal-specific formatting\n\n## Limitations\n\n- **Language**: Optimized for English-language papers\n- **Length**: Papers >50 pages may need section-by-section processing\n- **Complexity**: Highly mathematical content may lose nuance\n- **Figures**: Cannot interpret images, charts, or graphs (text only)\n- **Domain**: Best for empirical research; struggles with pure theory papers\n- **Context**: May miss field-specific conventions without discipline flag\n\n---\n\n**\ud83d\udcdd Note: This tool generates draft abstracts for efficiency, but all summaries require human review before submission. Always verify that numbers, statistics, and conclusions accurately reflect the original paper.**\n\n## Parameters\n\n| Parameter | Type | Default | Description |\n|-----------|------|---------|-------------|\n| `--input` | str | Required |  |\n| `--text` | str | Required | Direct text input |\n| `--url` | str | Required | URL to fetch paper from |\n| `--output` | str | Required | Output file path |\n| `--format` | str | 'structured' | Output format |\n\n## Output Requirements\n\nEvery final response should make these items explicit when they are relevant:\n\n- Objective or requested deliverable\n- Inputs used and assumptions introduced\n- Workflow or decision path\n- Core result, recommendation, or artifact\n- Constraints, risks, caveats, or validation needs\n- Unresolved items and next-step checks\n\n## Error Handling\n\n- If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.\n- If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.\n- If `scripts\/main.py` fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.\n- Do not fabricate files, citations, data, search results, or execution outcomes.\n\n## Input Validation\n\nThis skill accepts requests that match the documented purpose of `abstract-summarizer` 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> `abstract-summarizer` only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.\n\n## Response Template\n\nUse the following fixed structure for non-trivial requests:\n\n1. Objective\n2. Inputs Received\n3. Assumptions\n4. Workflow\n5. Deliverable\n6. Risks and Limits\n7. Next Checks\n\nIf the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.\n","use_cases":["Condense a 30-page medical research paper into a 250-word abstract","Create structured abstracts for multiple academic submissions","Extract key findings from complex scientific texts"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/aipoch\/medical-research-skills\/blob\/686e09dfdb45d9fa1a08664f06bb93769b3c9d91\/scientific-skills\/Academic%20Writing\/abstract-summarizer\/SKILL.md","source_commit":"686e09dfdb45d9fa1a08664f06bb93769b3c9d91","license":"MIT","version":null,"listing_approved_at":"2026-11-24","created_at":"2026-11-23T09:09:10.000000Z","updated_at":"2026-11-24T07:13:43.000000Z","seo_title":"Generate Structured Academic Abstracts","seo_description":"Efficiently create publication-ready abstracts from research papers with structured formatting and strict word limits.","seo_keywords":["academic abstract generator","research paper summarizer","structured abstract creation","medical research abstract tool","scientific paper condenser"]}}