{"data":{"slug":"github-aipoch-medical-research-skills-scientific-skills-other-medical-case-report-generator-e301f5d9fb52","title":"Generate Patient-Friendly Medical Case Report Tweet","summary":"This skill generates a structured medical case report tweet from case images and disease name. It extracts medical text, anonymizes patient info, creates disease content, and compiles a tweet-ready report.","url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-medical-case-report-generator-e301f5d9fb52","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-medical-case-report-generator-e301f5d9fb52","markdown_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-medical-case-report-generator-e301f5d9fb52.md","download_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-medical-case-report-generator-e301f5d9fb52\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Ensure the input includes a medical case image and a specified disease name. The output will be a structured report in the format: '## Case Summary...', '## Examination Results...', and 'Final diagnosis: ...'.","instructions":"---\nname: medical-case-report-generator\ndescription: Generates a patient-friendly medical case report tweet from case images and disease name. Use when the user provides a medical case image and wants a structured report or tweet.\nlicense: MIT\nauthor: AIPOCH\n---\n> **Source**: [https:\/\/github.com\/aipoch\/medical-research-skills](https:\/\/github.com\/aipoch\/medical-research-skills)\n\n## When to Use\n\n- Use this skill when the request matches its documented task boundary.\n- Use it when the user can provide the required inputs and expects a structured deliverable.\n- Prefer this skill for repeatable, checklist-driven execution rather than open-ended brainstorming.\n\n## Key Features\n\n- Scope-focused workflow aligned to: Generates a patient-friendly medical case report tweet from case images and disease name. Use when the user provides a medical case image and wants a structured report or tweet.\n- Packaged executable path(s): `scripts\/validate_skill.py`.\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- `Third-party packages`: `not explicitly version-pinned in this skill package`. Add pinned versions if this skill needs stricter environment control.\n\n## Example Usage\n\n```bash\ncd \"20260316\/scientific-skills\/Others\/medical-case-report-generator\"\npython -m py_compile scripts\/validate_skill.py\npython scripts\/validate_skill.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\/validate_skill.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\/validate_skill.py`.\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## Validation Shortcut\n\nRun this minimal command first to verify the supported execution path:\n\n```bash\npython scripts\/validate_skill.py --help\n```\n\n# Medical Case Report Generator\n\n## Workflow\n\nFollow these steps to generate the report.\n\n### 1. Image Text Extraction\n\n**Input:** case image\n**Action:**\nExtract printed and handwritten medical text from the image with high accuracy.\nFocus on medical terminology, numbers, and units.\nPerform image enhancement, correction, and validation.\n\n**Output:** extracted medical text\n\n---\n\n### 2. Patient Info Extraction\n\n**Input:** extracted medical text\n**Action:**\nExtract and anonymize patient information and examination results.\n\nInclude:\n\n* Age\n* Gender\n* Occupation (if available)\n* Chief complaint\n* Medical history\n* Examination types\n* Examination results\n* Final confirmed diagnosis\n\nRules:\n\n* Remove personal identifiers\n* Do not infer missing data\n* Merge duplicate tests\n* Mark abnormal values\n* Extract only the main diagnosis of this visit\n\n**Output format:**\n\n```\n\n## Case Summary\n...\n\n## Examination Results\n...\n\nFinal diagnosis: ...\n```\n\n---\n\n### 3. Disease Content Generation\n\n**Input:** disease name\n**Action:** Generate three sections.\n\n#### Disease Introduction\n\nInclude:\n\n* Simple definition\n* Core symptoms (\u22645)\n* Health risks\n* Risk factors (modifiable \/ non-modifiable)\n* Early warning signs\n\n---\n\n#### Treatment Options\n\nInclude:\n\n* Guideline-based treatment strategies\n* Classified by disease stage or severity\n* For each method include:\n\n  * Method name\n  * Example therapies\n  * Applicable patients\n  * Key notes (effectiveness, duration, cost)\n* Side effects and precautions\n* Optional complementary therapies\n\n---\n\n#### Health Reminders\n\nInclude:\n\n* Core management principle\n* Daily advice:\n\n  * Diet\n  * Exercise\n  * Sleep\n  * Mental health\n* Monitoring indicators\n* Emergency warning signs\n\n---\n\n### 4. Encouragement Message\n\nGenerate 1-2 sentences of professional encouragement based on disease type.\n\nRules:\n\n* Acute disease \u2192 emphasize medical progress and teamwork\n* Chronic disease \u2192 emphasize long-term management and adaptation\n* Warm but professional tone\n* Group-oriented language\n* End with exclamation mark\n\n---\n\n### 5. Title Generation\n\nGenerate 3 candidate titles.\n\nRules:\n\n* Start with prefix: \u3010Case Report\u3011\n* 18-25 characters\n* Include disease feature + patient group + awareness element\n* No exaggeration or privacy exposure\n\n---\n\n### 6. Final Output Compilation\n\nCombine all generated sections into a single Markdown report.\n\nStructure:\n\n```\n\n## Title Options\n...\n\n## Case Summary\n...\n\n## Examination Results\n...\n\n## Disease Introduction\n...\n\n## Treatment Options\n...\n\n## Health Reminders\n...\n\n## Encouragement\n...\n```\n\n---\n\n## Notes for Integration\n\nThis skill is designed for:\n\n* opencode skill pipelines\n* medical social media automation\n* research-support system case summarization modules\n\n## When Not to Use\n\n- Do not use this skill when the required source data, identifiers, files, or credentials are missing.\n- Do not use this skill when the user asks for fabricated results, unsupported claims, or out-of-scope conclusions.\n- Do not use this skill when a simpler direct answer is more appropriate than the documented workflow.\n\n## Required Inputs\n\n- A clearly specified task goal aligned with the documented scope.\n- All required files, identifiers, parameters, or environment variables before execution.\n- Any domain constraints, formatting requirements, and expected output destination if applicable.\n\n## Output Contract\n\n- Return a structured deliverable that is directly usable without reformatting.\n- If a file is produced, prefer a deterministic output name such as `medical_case_report_generator_result.md` unless the skill documentation defines a better convention.\n- Include a short validation summary describing what was checked, what assumptions were made, and any remaining limitations.\n\n## Validation and Safety Rules\n\n- Validate required inputs before execution and stop early when mandatory fields or files are missing.\n- Do not fabricate measurements, references, findings, or conclusions that are not supported by the provided source material.\n- Emit a clear warning when credentials, privacy constraints, safety boundaries, or unsupported requests affect the result.\n- Keep the output safe, reproducible, and within the documented scope at all times.\n\n## Failure Handling\n\n- If validation fails, explain the exact missing field, file, or parameter and show the minimum fix required.\n- If an external dependency or script fails, surface the command path, likely cause, and the next recovery step.\n- If partial output is returned, label it clearly and identify which checks could not be completed.\n\n## Quick Validation\n\nRun this minimal verification path before full execution when possible:\n\n```text\nNo local script validation step is required for this skill.\n```\n\nExpected output format:\n\n```text\nResult file: medical_case_report_generator_result.md\nValidation summary: PASS\/FAIL with brief notes\nAssumptions: explicit list if any\n```\n\n## Deterministic Output Rules\n\n- Use the same section order for every supported request of this skill.\n- Keep output field names stable and do not rename documented keys across examples.\n- If a value is unavailable, emit an explicit placeholder instead of omitting the field.\n\n## Completion Checklist\n\n- Confirm all required inputs were present and valid.\n- Confirm the supported execution path completed without unresolved errors.\n- Confirm the final deliverable matches the documented format exactly.\n- Confirm assumptions, limitations, and warnings are surfaced explicitly.\n","use_cases":["Generate a tweet summarizing a patient's medical case for social media","Create a structured report for research or educational purposes","Anonymize and summarize medical case data for public sharing"],"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\/medical-case-report-generator\/SKILL.md","source_commit":"686e09dfdb45d9fa1a08664f06bb93769b3c9d91","license":"MIT","version":null,"listing_approved_at":"2026-11-26","created_at":"2026-11-24T15:22:55.000000Z","updated_at":"2026-11-26T09:25:03.000000Z","seo_title":"Generate Medical Case Report Tweet","seo_description":"Create a structured medical case report tweet from case images and disease name with patient info, disease details, and health reminders.","seo_keywords":["medical case report generator","patient-friendly medical tweet","medical case summary","disease information generator","health report template"]}}