Intelligent medical abbreviation disambiguation tool that resolves ambiguous acronyms using clinical context, specialty-specific knowledge, and document-level semantic analysis.
Intelligent medical abbreviation disambiguation tool that resolves ambiguous acronyms using clinical context, specialty-specific knowledge, and document-level semantic analysis.
See ## Features above for related details.
scripts/main.py.references/ for task-specific guidance.pip install -r requirements.txt
No external dependencies required.
See ## Usage above for related details.
cd "20260318/scientific-skills/Evidence Insight/acronym-unpacker"
python -m py_compile scripts/main.py
python scripts/main.py --help
Example run plan:
CONFIG block or documented parameters if the script uses fixed settings.python scripts/main.py with the validated inputs.See ## Workflow above for related details.
scripts/main.py.references/ contains supporting rules, prompts, or checklists.Use this command to verify that the packaged script entry point can be parsed before deeper execution.
python -m py_compile scripts/main.py
Use 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 --help
# Expand single acronym
python scripts/main.py PID
# Expand with context
python scripts/main.py MI --context cardiology
# List known acronyms
python scripts/main.py --list
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
acronym | str | None | Yes | Acronym to expand |
--context, -c | str | general | No | Clinical context (e.g., cardiology, gynecology) |
--list, -l | flag | False | No | List known acronyms |
# Disambiguate with specific context
python scripts/main.py PID --context gynecology
# Check all available acronyms
python scripts/main.py --list
| Acronym | General | Cardiology | Gynecology | Immunology |
|---|---|---|---|---|
| PID | Pelvic Inflammatory Disease | - | Pelvic Inflammatory Disease (90%) | Primary Immunodeficiency (95%) |
| MI | Myocardial Infarction (70%) | Myocardial Infarction (95%) | - | - |
| COPD | Chronic Obstructive Pulmonary Disease | - | - | - |
| HTN | Hypertension | Hypertension | - | - |
| DM | Diabetes Mellitus (90%) | - | - | - |
============================================================
ACRONYM: PID
Context: gynecology
============================================================
1. Pelvic Inflammatory Disease
Confidence: 90.0% ████████████████████
2. Prolapsed Intervertebral Disc
Confidence: 10.0% ██
============================================================
⚠️ AI independent acceptance status: manual inspection required This skill requires:
| Risk Indicator | Assessment | Level |
|---|---|---|
| Code Execution | Python scripts executed locally | Low |
| Network Access | No network access | Low |
| File System Access | Read-only | Low |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | No sensitive data exposure | Low |
python scripts/main.py --help
Available in references/:
💡 Tip: When in doubt about the context, try multiple contexts to see which expansion makes the most sense in your specific use case.
Every 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 acronym-unpacker 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:
acronym-unpackeronly 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.