virtual-patient-roleplay

Simulate standardized patient encounters for medical training, supporting OSCE-style history-taking practice, communication skills rehearsal, and educational debriefing.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "virtual-patient-roleplay" with this command: npx skills add aipoch-ai/virtual-patient-roleplay

Virtual Patient Roleplay

Structured standardized-patient simulation for medical training and clinical interview practice.

Educational Disclaimer: All output is for training simulation only. This skill does not provide real clinical diagnosis, treatment selection, or emergency instructions. Faculty supervision is required for formal assessment use.

Quick Check

python -m py_compile scripts/main.py
python -c "from scripts.main import PatientSimulator; sim=PatientSimulator('chest_pain'); print(sim.ask('Where does the pain go?')['patient_response'])"

When to Use

  • Use this skill for OSCE-style history-taking practice, communication skills rehearsal, or debrief planning.
  • Use this skill when a learner needs to practice clinical interviewing with a simulated patient response.
  • Do not use this skill for real patient triage, clinical diagnosis, treatment selection, or emergency guidance.

Workflow

  1. Confirm the training goal, scenario type, learner level, and output focus (questioning, bedside manner, or debriefing).
  2. Check whether the request is for live roleplay, case setup, feedback, or post-encounter summary.
  3. Use the packaged simulator for supported scenarios; otherwise provide a manual roleplay scaffold without inventing unsupported medical certainty.
  4. Return the patient response or teaching artifact with assumptions, missed-question prompts, and debrief notes.
  5. If the request exceeds educational scope, stop and restate the boundary explicitly.

Usage

python -c "from scripts.main import PatientSimulator; sim=PatientSimulator('chest_pain'); print(sim.ask('Where does the pain go?')['patient_response'])"
python -c "from scripts.main import PatientSimulator; sim=PatientSimulator('headache'); print(sim.ask('Did the pain start suddenly?')['patient_response'])"

Parameters

ParameterTypeRequiredDefaultDescription
scenariostringNochest_painScenario: chest_pain, headache, abdominal_pain
student_questionstringYes (for interaction)Learner question posed to the patient
difficultystringNointermediateScenario difficulty level

Output

  • Simulated patient response
  • Scenario-specific cues and debrief elements
  • Explicit reminder that output is educational, not clinical advice

Scope Boundaries

  • This skill supports training simulations, not real clinical triage.
  • This skill does not provide diagnosis, treatment selection, or emergency instructions.
  • This skill should not be used as a substitute for faculty supervision or patient care.

Stress-Case Rules

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

  1. Training Objective
  2. Scenario Assumptions
  3. Roleplay Output
  4. Educational Limits
  5. Debrief and Next 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 clinical certainty, real patient data, or verified diagnostic outcomes.

Input Validation

This skill accepts: a scenario identifier and a learner question for standardized patient simulation in a medical training context.

If the request does not involve educational patient simulation — for example, asking for real clinical diagnosis, treatment recommendations, emergency triage, or non-medical roleplay — do not proceed with the workflow. Instead respond:

"virtual-patient-roleplay is designed for medical training simulations only. Your request appears to be outside this scope. Please provide a scenario and learner question for educational practice, or use a more appropriate tool."

References

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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

通义晓蜜 - 智能外呼

触发阿里云晓蜜外呼机器人任务,自动批量拨打电话。适用于批量外呼、客户回访、满意度调查、简历筛查约面试等场景。可从前置工具或节点获取外呼名单。

Registry SourceRecently Updated
General

Letterboxd Watchlist

Scrape a public Letterboxd user's watchlist into a CSV/JSONL list of titles and film URLs without logging in. Use when a user asks to export, scrape, or mirror a Letterboxd watchlist, or to build watch-next queues.

Registry SourceRecently Updated
General

Seedance Video Generation

Generate AI videos using ByteDance Seedance. Use when the user wants to: (1) generate videos from text prompts, (2) generate videos from images (first frame, first+last frame, reference images), or (3) query/manage video generation tasks. Supports Seedance 1.5 Pro (with audio), 1.0 Pro, 1.0 Pro Fast, and 1.0 Lite models.

Registry SourceRecently Updated
4.2K17jackycser
General

Universal Skills Manager

The master coordinator for AI skills. Discovers skills from multiple sources (SkillsMP.com, SkillHub, and ClawHub), manages installation, and synchronization...

Registry SourceRecently Updated