Hypothesis Generation
spacering-net/codeg
Structured hypothesis formulation from observations. An agent skill from spacering-net/codeg.
Generate hospital discharge summaries from admission data, hospital course, diagnoses, procedures, and follow-up plans; use when a structured discharge document is required from clinical notes.
$ npx skills add aipoch/medical-research-skills --skill discharge-summary-writer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aipoch/medical-research-skills discharge-summary-writer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'scientific-skills/Academic Writing/discharge-summary-writer' .claude/skills/discharge-summary-writer && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "discharge-summary-writer" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Academic%20Writing/discharge-summary-writer into .claude/skills/discharge-summary-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discharge-summary-writer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Academic%20Writing/discharge-summary-writerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add aipoch/medical-research-skills --skill discharge-summary-writer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aipoch/medical-research-skills discharge-summary-writer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/'scientific-skills/Academic Writing/discharge-summary-writer' .agents/skills/discharge-summary-writer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "discharge-summary-writer" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Academic%20Writing/discharge-summary-writer into .agents/skills/discharge-summary-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discharge-summary-writer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aipoch/medical-research-skills --skill discharge-summary-writer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aipoch/medical-research-skills discharge-summary-writer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/'scientific-skills/Academic Writing/discharge-summary-writer' .cursor/skills/discharge-summary-writer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "discharge-summary-writer" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Academic%20Writing/discharge-summary-writer into .cursor/skills/discharge-summary-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discharge-summary-writer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/aipoch/medical-research-skills.git --path 'scientific-skills/Academic Writing/discharge-summary-writer'--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add aipoch/medical-research-skills --skill discharge-summary-writer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aipoch/medical-research-skills discharge-summary-writer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/'scientific-skills/Academic Writing/discharge-summary-writer' .gemini/skills/discharge-summary-writer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "discharge-summary-writer" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Academic%20Writing/discharge-summary-writer into .gemini/skills/discharge-summary-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discharge-summary-writer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install aipoch/medical-research-skills discharge-summary-writerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add aipoch/medical-research-skills --skill discharge-summary-writer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/'scientific-skills/Academic Writing/discharge-summary-writer' .github/skills/discharge-summary-writer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "discharge-summary-writer" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Academic%20Writing/discharge-summary-writer into .github/skills/discharge-summary-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discharge-summary-writer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add aipoch/medical-research-skills --skill discharge-summary-writer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aipoch/medical-research-skills discharge-summary-writer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aipoch/medical-research-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/'scientific-skills/Academic Writing/discharge-summary-writer' .opencode/skills/discharge-summary-writer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "discharge-summary-writer" agent skill from https://github.com/aipoch/medical-research-skills/tree/main/scientific-skills/Academic%20Writing/discharge-summary-writer into .opencode/skills/discharge-summary-writer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discharge-summary-writer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
discharge-summary-writerGenerate hospital discharge summaries from admission data, hospital course, diagnoses, procedures, and follow-up plans; use when a structured discharge document is required from clinical notes.
Discharge Summary Writer is an agent skill from aipoch/medical-research-skills. Generate hospital discharge summaries from admission data, hospital course, diagnoses, procedures, and follow-up plans; use when a structured discharge document is required from clinical notes.
Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `POLISH_CHANGELOG.md`, `eval_report_discharge-summary-writer_result.json` and `references/discharge_template.md`).
It sits in Research & Science. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 686e09d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Discharge Summary Writer loads about 2.7k tokens when it runs, and up to ~7.7k if it reads all its reference files. Until then it costs about 55 tokens; SKILL.md has 1,134 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 1,134 words, ~2,741 tokens.
.claude/skills/discharge-summary-writer/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.Generate standardized, clinically accurate hospital discharge summaries by integrating all inpatient medical data.
Use this command to verify that the packaged script entry point can be parsed before deeper execution.
python -m py_compile scripts/main.pyUse these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.
python -m py_compile scripts/main.py
python scripts/main.py --help
python scripts/main.py -h
python scripts/main.py --help{
"patient_info": {
"name": "string",
"gender": "string",
"age": "number",
"medical_record_number": "string",
"admission_date": "YYYY-MM-DD",
"discharge_date": "YYYY-MM-DD",
"department": "string",
"attending_physician": "string"
},
"admission_data": {
"chief_complaint": "string",
"present_illness_history": "string",
"past_medical_history": "string",
"physical_examination": "string",
"admission_diagnosis": ["string"]
},
"hospital_course": {
"treatment_summary": "string",
"procedures_performed": ["string"],
"significant_findings": "string",
"complications": ["string"],
"consultations": ["string"]
},
"discharge_status": {
"discharge_diagnosis": ["string"],
"discharge_condition": "string",
"hospital_stay_days": "number"
},
"medications": {
"discharge_medications": [
{
"name": "string",
"dosage": "string",
"frequency": "string",
"route": "string",
"duration": "string"
}
]
},
"follow_up": {
"instructions": "string",
"follow_up_appointments": ["string"],
"warning_signs": ["string"],
"activity_restrictions": "string",
"diet_instructions": "string"
}
}python scripts/main.py --input patient_data.json --output discharge_summary.md --format standard| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
--input | string | - | Yes | Path to JSON file containing patient data |
--output | string | discharge_summary.md | No | Output file path |
--format | string | standard | No | Output format (standard, structured, json) |
--template | string | - | No | Custom template file path |
--language | string | zh | No | Output language (zh or en) |
Human-readable markdown document following clinical discharge summary structure:
Sectioned markdown with clear headers for EMR integration.
Machine-readable structured data for system integration.
⚠️ HIGH - Manual Review Required
This skill handles critical medical documentation. Output requires:
references/discharge_template.md - Standard discharge summary templatereferences/medical_terms.json - Standardized medical terminologyreferences/section_guidelines.md - Guidelines for each section| Risk Indicator | Assessment | Level |
|---|---|---|
| Code Execution | Python/R scripts executed locally | Medium |
| Network Access | No external API calls | Low |
| File System Access | Read input files, write output files | Medium |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Output files saved to workspace | Low |
No additional Python packages required.
Every final response should make these items explicit when they are relevant:
scripts/main.py fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.This skill accepts requests that match the documented purpose of discharge-summary-writer 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:
discharge-summary-writeronly handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
Use the following fixed structure for non-trivial requests:
If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.
| 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 |
© aipoch, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 7 other files (scripts, references) in scientific-skills/Academic Writing/discharge-summary-writer of aipoch/medical-research-skills.
Open the folder on GitHubat commit 686e09d
Discharge Summary Writer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Discharge Summary Writer this skillaipoch/medical-research-skills | 1.9k | — | ~2.7k | Automated safety check: Pass | MIT | |
| Hypothesis Generationspacering-net/codeg | 3.9k | 14 repos | ~3.6k | Automated safety check: Notes | MIT | |
| GitHub Deep Researchbytedance/deer-flow | 84k | 4 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Nature Paper CardYuan1z0825/nature-skills | 47k | 2 repos | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Content Research Writerweapp-tailwindcss/weapp-tailwindcss | 1.9k | 25 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Last30daysmvanhorn/last30days-skill | 64k | — | ~7.9k | Automated safety check: Notes | MIT |
spacering-net/codeg
Structured hypothesis formulation from observations. An agent skill from spacering-net/codeg.
bytedance/deer-flow
Researches a GitHub repository over four rounds using the GitHub API and web search, then writes a structured markdown report with timeline, metrics and Mermaid diagrams.
Yuan1z0825/nature-skills
Builds a structured deep-reading card for one scientific paper, covering methods, how experiments support claims, limitations and research ideas, with a script to prepare the source.
weapp-tailwindcss/weapp-tailwindcss
Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section.
mvanhorn/last30days-skill
Research what people actually say about any topic in the last 30 days.
spacering-net/codeg
Structured manuscript/grant review with checklist-based evaluation.
aipoch/medical-research-skills
Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…
aipoch/medical-research-skills
Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.
aipoch/medical-research-skills
Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.
aipoch/medical-research-skills
A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.
aipoch/medical-research-skills
Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…
aipoch/medical-research-skills
Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.
Categories
Generate hospital discharge summaries from admission data, hospital course, diagnoses, procedures, and follow-up plans; use when a structured discharge document is required from clinical notes. Discharge Summary Writer is an agent skill from aipoch/medical-research-skills. Generate hospital discharge summaries from admission data, hospital course, diagnoses, procedures, and follow-up plans; use when a structured discharge document is required from clinical notes.
Discharge Summary Writer fits situations like: A structured discharge document is required from clinical notes.
Run `npx skills add aipoch/medical-research-skills --skill discharge-summary-writer -a claude-code`. Or copy the skill folder (scientific-skills/Academic Writing/discharge-summary-writer in aipoch/medical-research-skills) into .claude/skills/discharge-summary-writer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aipoch/medical-research-skills --skill discharge-summary-writer -a codex`. Or copy the skill folder (scientific-skills/Academic Writing/discharge-summary-writer in aipoch/medical-research-skills) into .agents/skills/discharge-summary-writer in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aipoch/medical-research-skills --skill discharge-summary-writer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/discharge-summary-writer, .gemini/skills/discharge-summary-writer, .github/skills/discharge-summary-writer and .opencode/skills/discharge-summary-writer in your project.
Going by SKILL.md and its folder, Discharge Summary Writer needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Discharge Summary Writer is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Discharge Summary Writer: Hypothesis Generation (spacering-net/codeg, 3.9k stars), GitHub Deep Research (bytedance/deer-flow, 84k stars), Nature Paper Card (Yuan1z0825/nature-skills, 47k stars) and Content Research Writer (weapp-tailwindcss/weapp-tailwindcss, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,937 GitHub stars. The repository holds 578 skills in this directory. The repository was last updated on September 17, 2026.
Source: aipoch/medical-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.