Transforms biochemical lab test results into clear, patient-friendly explanations. Covers blood routine, lipid panel, liver/kidney function, thyroid, electrolytes, and inflammation markers. Flags critical values, classifies severity, and generates structured interpretation rep...
56
64%
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/lab-result-interpretation/SKILL.mdA medical assistant tool that transforms complex biochemical laboratory test results into clear, patient-friendly explanations.
Use this command to verify that the packaged script entry point can be parsed before deeper execution.
python -m py_compile scripts/main.pyUse these concrete commands for validation. They are intentionally self-contained and avoid placeholder paths.
python -m py_compile scripts/main.py
python scripts/main.py --helpreferences/lab_reference_ranges.json → determine status (normal/high/low) → Output: status classification per test| Category | Tests |
|---|---|
| Blood Routine | WBC, RBC, Hemoglobin, Platelets, Hematocrit |
| Lipid Panel | Total Cholesterol, LDL, HDL, Triglycerides |
| Liver Function | ALT, AST, ALP, GGT, Bilirubin, Total Protein, Albumin |
| Kidney Function | Creatinine, BUN, eGFR, Uric Acid |
| Blood Sugar | Fasting Glucose, HbA1c |
| Thyroid | TSH, T3, T4, FT3, FT4 |
| Electrolytes | Sodium, Potassium, Chloride, Calcium, Magnesium |
| Inflammation | CRP, ESR |
from scripts.main import LabResultInterpreter
interpreter = LabResultInterpreter()
result = interpreter.interpret("Total Cholesterol: 5.8 mmol/L (Reference: 3.1-5.7)")
print(result.explanation)python scripts/main.py --file lab_report.txt
python scripts/main.py --interactive| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| file | string | "" | No | Path to lab report file to process |
| interactive | boolean | false | No | Enable interactive mode for manual input |
| input | string | "" | No | Direct lab test input string for interpretation |
Accepts flexible formats:
Test Name: Value Unit (Reference: Min-Max)
Test Name Value Unit Ref: Min-Max
Test Name: Value (Min-Max){
"test_name": "Total Cholesterol",
"value": 5.8,
"unit": "mmol/L",
"reference_min": 3.1,
"reference_max": 5.7,
"status": "high",
"explanation": "Your total cholesterol is slightly above the normal range...",
"severity": "mild",
"recommendation": "Consider reducing saturated fat intake..."
}Difficulty: Medium
Key Components:
Safety:
references/lab_reference_ranges.json - Standard reference rangesreferences/explanation_templates.json - Patient-friendly templatesreferences/test_metadata.json - Test descriptions and clinical notesThis tool provides educational information only and is not a substitute for professional medical advice, diagnosis, or treatment. Always consult with a qualified healthcare provider for interpretation of lab results.
| Risk Indicator | Assessment | Level |
|---|---|---|
| Code Execution | Python/R scripts executed locally | Medium |
| Network Access | No external API calls | Low |
| File System Access | Read input files, write output files | Medium |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Output files saved to workspace | Low |
# Python dependencies
pip install -r requirements.txtEvery final response should make these items explicit when they are relevant:
scripts/main.py fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.This skill accepts requests that match the documented purpose of lab-result-interpretation and include enough context to complete the workflow safely.
Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:
lab-result-interpretationonly handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
Use the following fixed structure for non-trivial requests:
If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.
f5ef65b
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.