Suggest triage levels (Emergency, Urgent, Outpatient) based on red flag symptoms using a rule-based engine. For AI-assisted decision support only — not a substitute for professional medical diagnosis.
58
69%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./scientific-skills/Other/symptom-checker-triage/SKILL.mdAnalyzes symptom descriptions and suggests triage levels (Emergency / Urgent / Outpatient) based on red flag identification. Provides rationale and recommended next steps. For AI-assisted decision support only.
python -m py_compile scripts/main.pypython -m py_compile scripts/main.py
python scripts/main.py --help
python scripts/main.py "Chest pain, difficulty breathing, lasting 30 minutes"
python scripts/main.py "Headache, fever 38.5 degrees, vomiting" --verbosescripts/main.py with the symptom string or use --interactive mode.If scripts/main.py fails or required fields are missing, respond with:
FALLBACK REPORT
───────────────────────────────────────
Objective : <triage goal>
Inputs Available : <symptom description provided>
Missing Inputs : <list exactly what is missing>
Partial Result : <any triage assessment that can be made safely>
Blocked Steps : <what could not be completed and why>
Disclaimer : This is AI-assisted advice only. Seek professional medical care.
Next Steps : <minimum info needed to complete>
───────────────────────────────────────For complex multi-constraint requests, always include these sections explicitly:
# Direct symptom input
python scripts/main.py "Chest pain, radiating to left arm, sweating"
# Interactive mode
python scripts/main.py --interactive
# Verbose output
python scripts/main.py "Headache, fever" --verbose
# JSON output
python scripts/main.py "Abdominal pain, right lower quadrant tenderness" --json{
"triage_level": "emergency|urgent|outpatient",
"confidence": 0.85,
"red_flags": ["Chest pain", "Difficulty breathing"],
"reason": "Chest pain with difficulty breathing may indicate myocardial infarction or pulmonary embolism",
"recommendation": "Go to emergency department immediately",
"department": "Emergency/Cardiology",
"warning": "This is AI-assisted advice and cannot replace professional medical diagnosis"
}| Level | Description | Action |
|---|---|---|
| emergency | Life-threatening red flags present | Call emergency services or go to ED immediately |
| urgent | Serious but not immediately fatal | Seek care within 2–4 hours |
| outpatient | Non-urgent | Schedule outpatient appointment |
→ Full red flags reference: references/red_flags.md
Key categories: Cardiovascular, Respiratory, Neurological, Gastrointestinal, Trauma/Poisoning, Obstetric.
Important: This tool provides AI-assisted triage suggestions only. It cannot replace professional medical diagnosis. If in doubt, seek medical care immediately. Call emergency services in life-threatening situations.
This skill accepts: natural language symptom descriptions in English or Chinese for triage level suggestion.
If the request does not involve symptom triage — for example, asking to diagnose a specific disease, prescribe medication, interpret lab results, or perform general medical Q&A — do not proceed. Instead respond:
"
symptom-checker-triageis designed to suggest triage levels based on symptom red flags. Your request appears to be outside this scope. Please provide a symptom description, or use a more appropriate tool. This tool does not provide diagnoses or treatment recommendations."
scripts/main.py fails, use the Fallback Template above.Every final response must include:
63c61d3
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.