shift-handover-summarizer

Generate structured shift handover summaries from EHR records, highlighting critical events, vital sign changes, and pending tasks for incoming clinical staff.

3,891 stars

Best use case

shift-handover-summarizer is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Generate structured shift handover summaries from EHR records, highlighting critical events, vital sign changes, and pending tasks for incoming clinical staff.

Teams using shift-handover-summarizer should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/shift-handover-summarizer/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/aipoch-ai/shift-handover-summarizer/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/shift-handover-summarizer/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How shift-handover-summarizer Compares

Feature / Agentshift-handover-summarizerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Generate structured shift handover summaries from EHR records, highlighting critical events, vital sign changes, and pending tasks for incoming clinical staff.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Shift Handover Summarizer

Generate structured shift handover summaries from EHR updates, highlighting critical events that occurred during the shift.

> **Clinical Disclaimer:** This tool generates summaries for handover support only. All clinical decisions must be verified by qualified medical staff. Patient data must comply with applicable data protection regulations (e.g., HIPAA).

## Quick Check

```bash
python -m py_compile scripts/main.py
python scripts/main.py --help
```

## When to Use

- Use this skill when generating a structured handover summary from EHR records at the end of a clinical shift.
- Use this skill when prioritizing patients by event severity for incoming staff.
- Do not use this skill as a substitute for direct clinical handover, real-time patient assessment, or emergency triage.

## Workflow

1. Confirm the patient records file, shift start/end times, and optional department filter.
2. Validate that the input records are within the declared shift time range.
3. **Timezone validation:** If `--shift-start` or `--shift-end` lacks a timezone offset (e.g., `2026-02-06T00:00:00` without `Z` or `+HH:MM`), emit a warning: "Shift times appear to lack a timezone offset. Assuming UTC. Specify timezone explicitly (e.g., `2026-02-06T00:00:00+08:00`) to avoid incorrect event filtering."
4. Run the summarizer script or apply the manual extraction path.
5. Return a structured summary with patients ranked by priority, key events, and pending tasks.
6. If inputs are incomplete, state exactly which fields are missing and request only the minimum additional information.

## Usage

```text
python scripts/main.py \
  --records data/shift_records.json \
  --shift-start "2026-02-06T00:00:00Z" \
  --shift-end "2026-02-06T08:00:00Z" \
  --department "Cardiology" \
  --output summary.json
```

## Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `--records` | file path | Yes | JSON file of EHR records for the shift |
| `--shift-start` | ISO 8601 | Yes | Shift start time |
| `--shift-end` | ISO 8601 | Yes | Shift end time |
| `--department` | string | No | Department filter |
| `--output` | file path | No | Output file path (default: stdout) |
| `--no-vitals` | flag | No | Exclude vital signs summary |

## Event Priority Levels

| Priority | Event Type |
|----------|-----------|
| High | Resuscitation, deterioration, serious complications, abnormal vitals |
| Medium | New symptoms, abnormal findings, medication adjustments, special procedures |
| Low | Routine treatment, condition improvement, daily care |

## Output

- Shift summary with total patients and critical patient count
- Per-patient priority ranking, key events, vitals summary, medication summary, and pending tasks
- Plain-text handover narrative

## Scope Boundaries

- This skill processes structured EHR records; it does not access live hospital systems.
- Event classification is based on preset thresholds and keywords; adjust thresholds for department-specific needs.
- This skill does not replace direct verbal handover or physician sign-off.

## Stress-Case Rules

For complex multi-constraint requests, always include these explicit blocks:

1. Assumptions
2. Shift Period and Inputs Used
3. Summary Output
4. Critical Flags
5. Risks and Manual Checks

## Error Handling

- If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.
- If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.
- If `scripts/main.py` fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.
- Do not fabricate patient data, clinical events, or execution outcomes.

## Input Validation

This skill accepts: a structured EHR records file with shift start and end times for handover summary generation.

If the request does not involve shift handover summary generation from EHR records — for example, asking for real-time patient monitoring, clinical diagnosis, or direct treatment recommendations — do not proceed with the workflow. Instead respond:
> "shift-handover-summarizer is designed to generate structured handover summaries from EHR records. Your request appears to be outside this scope. Please provide a records file and shift times, or use a more appropriate clinical tool."

## Response Template

Use the following fixed structure for non-trivial requests:

1. Objective
2. Inputs Received
3. Assumptions
4. Workflow
5. Deliverable
6. Risks and Limits
7. Next Checks

If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.

Related Skills

📝 智能摘要助手 (Smart Summarizer)

3891
from openclaw/skills

Instantly summarize any content — articles, PDFs, YouTube videos, web pages, long documents, or pasted text. Extracts key points, action items, and insights. Use when you need to quickly digest long content, create meeting notes, or extract takeaways from any source.

Workflow & Productivity

video-summarizer

3891
from openclaw/skills

将 B 站/YouTube/小红书/抖音视频转换为结构化 Notion 总结文档,自动上传截图,一键推送 Notion

ib-summarizer

3891
from openclaw/skills

Summarize core safety information from Investigator's Brochures for clinical researchers

youtube-anycaption-summarizer

3891
from openclaw/skills

Turn YouTube videos into dependable markdown transcripts and polished summaries — even when caption coverage is messy. This skill works with manual closed captions (CC), auto-generated subtitles, or no usable subtitles at all by using subtitle-first extraction with local Whisper fallback. Supports private/restricted videos via cookies, batch processing, transcript cleanup, language backfill, source-language or user-selected summary language, and end-to-end completion reporting. Ideal for YouTube research, technical walkthroughs, founder content, tutorials, private/internal uploads, and batch video summarization workflows.

research-summarizer

3891
from openclaw/skills

Structured research summarization agent skill for non-dev users. Handles academic papers, web articles, reports, and documentation. Extracts key findings, generates comparative analyses, and produces properly formatted citations. Use when: user wants to summarize a research paper, compare multiple sources, extract citations from documents, or create structured research briefs. Plugin for Claude Code, Codex, Gemini CLI, and OpenClaw.

abstract-summarizer

3891
from openclaw/skills

Transform lengthy academic papers into concise, structured 250-word abstracts capturing background, methods, results, and conclusions. Optimized for research papers, theses, and technical reports across scientific disciplines.

ops-shifts

3891
from openclaw/skills

View and manage shift schedules and team rosters for operations.

redshift

3891
from openclaw/skills

Manage application secrets with the Redshift CLI (https://redshiftapp.com) — decentralized, encrypted secret management built on Nostr. Use when setting, getting, deleting, listing, uploading, or downloading secrets, injecting secrets into commands, configuring projects/environments, or authenticating with Nostr keys. Covers redshift secrets, redshift run, redshift setup, redshift login, and related commands.

youtube-summarizer

3891
from openclaw/skills

Automatically fetch YouTube video transcripts, generate structured summaries, and send full transcripts to messaging platforms. Detects YouTube URLs and provides metadata, key insights, and downloadable transcripts.

manufacturing-shift-handoff

3891
from openclaw/skills

为生产班次交接整理设备状态、异常、待处理事项与安全提醒。;use for manufacturing, handoff, shift workflows;do not use for 省略安全问题, 替代正式 EHS 记录.

legal-matter-intake-summarizer

3891
from openclaw/skills

把法律相关咨询材料整理成事实、争议点、缺失材料与后续问题,不给法律结论。;use for legal, intake, case-summary workflows;do not use for 提供法律意见结论, 替代律师审查.

handover-memory-pack

3891
from openclaw/skills

为人员离岗或项目交接整理显性与隐性知识,减少信息流失。;use for handover, knowledge-transfer, memory workflows;do not use for 泄露不该交接的密钥, 省略高风险事项.