/install acronym-unpacker
Acronym Unpacker
Intelligent medical abbreviation disambiguation tool that resolves ambiguous acronyms using clinical context, specialty-specific knowledge, and document-level semantic analysis.
Features
- Context-Aware Disambiguation: Uses clinical specialty to rank expansions
- Semantic Analysis: Analyzes surrounding text for contextual clues
- Frequency-Based Ranking: Prioritizes common usage patterns
- Multi-Specialty Support: Covers medicine, nursing, pharmacy, and research
- Batch Processing: Expand acronyms in entire documents
- Learning System: Improves accuracy with usage feedback
Usage
Basic Usage
# 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
Parameters
| 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 |
Advanced Usage
# Disambiguate with specific context
python scripts/main.py PID --context gynecology
# Check all available acronyms
python scripts/main.py --list
Supported Acronyms
| 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%) | - | - | - |
Output Example
============================================================
ACRONYM: PID
Context: gynecology
============================================================
1. Pelvic Inflammatory Disease
Confidence: 90.0% ████████████████████
2. Prolapsed Intervertebral Disc
Confidence: 10.0% ██
============================================================
Technical Difficulty: LOW
⚠️ AI自主验收状态: 需人工检查
This skill requires:
- Python 3.7+ environment
- No external dependencies
Dependencies
pip install -r requirements.txt
No external dependencies required.
Risk Assessment
| 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 |
Security Checklist
- No hardcoded credentials or API keys
- No unauthorized file system access
- Output does not expose sensitive information
- Prompt injection protections in place
- Error messages sanitized
- Dependencies audited
Prerequisites
python scripts/main.py --help
Evaluation Criteria
Success Metrics
- Successfully expands known acronyms
- Context-aware ranking works correctly
- Confidence scores are meaningful
- Handles unknown acronyms gracefully
Test Cases
- Basic Expansion: Known acronym → Multiple expansions with confidence
- Context Filtering: Context flag → Contextually appropriate results
- Unknown Acronym: Unknown input → Graceful handling
- List Mode: --list flag → Shows all known acronyms
Lifecycle Status
- Current Stage: Draft
- Next Review Date: 2026-03-15
- Known Issues: Limited acronym database
- Planned Improvements:
- Expand acronym database
- Add machine learning for context detection
- Support for multi-language acronyms
References
Available in references/:
- Medical abbreviation standards
- Clinical terminology sources
- Context disambiguation methods
Limitations
- Database Size: Limited to pre-configured acronyms
- Context Detection: Requires manual context specification
- Language: English acronyms only
- Medical Focus: Optimized for medical terminology
💡 Tip: When in doubt about the context, try multiple contexts to see which expansion makes the most sense in your specific use case.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install acronym-unpacker - 安装完成后,直接呼叫该 Skill 的名称或使用
/acronym-unpacker触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Acronym Unpacker 是什么?
Disambiguate medical acronyms and abbreviations with context-aware full form lookup. Resolves ambiguous abbreviations (e.g., 'PID' = Pelvic Inflammatory Dise... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 221 次。
如何安装 Acronym Unpacker?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install acronym-unpacker」即可一键安装,无需额外配置。
Acronym Unpacker 是免费的吗?
是的,Acronym Unpacker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Acronym Unpacker 支持哪些平台?
Acronym Unpacker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Acronym Unpacker?
由 AIpoch(@aipoch-ai)开发并维护,当前版本 v0.1.0。