ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

virtual-patient-roleplay

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

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/aipoch-ai/virtual-patient-roleplay
Or

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

Metadata

Author@aipoch-ai
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-aipoch-ai-virtual-patient-roleplay": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.