Classify medical messages (emails, iMessages) as critical, urgent, or routine based on medical urgency indicators.
Classify medical messages into priority categories based on urgency indicators, symptoms, and patient context.
| Icon | Category | Description |
|---|---|---|
| 🔴 | critical | Life-threatening symptoms, emergency keywords, severe pain |
| 🟡 | urgent | Needs same-day attention, worsening symptoms, medication issues |
| 🟢 | routine | Follow-ups, general questions, appointment requests |
This skill analyzes message content for:
The skill expects a JSON array of messages:
[
{
"id": "msg-123",
"subject": "Chest pain",
"from": "[email protected]",
"date": "2026-02-27T10:30:00Z",
"body": "I've been having chest pain for the last hour..."
}
]
Returns a JSON array with triage results:
[
{
"id": "msg-123",
"category": "critical",
"reason": "Chest pain mentioned - potential cardiac emergency",
"confidence": 0.95
}
]
This skill is designed to be invoked programmatically via OpenClaw's skill execution API.
This skill can be invoked via the OpenClaw CLI:
openclaw skill run medical-triage --input '[{"id":"msg-1","subject":"...","body":"..."}]' --json
Or programmatically:
const result = await execFileAsync('openclaw', [
'skill', 'run', 'medical-triage',
'--input', JSON.stringify(messages),
'--json'
]);
Recommended Model: Claude Sonnet 4.5 (openclaw models set anthropic/claude-sonnet-4-5)