heartvoice_cloud
Installation
SKILL.md
heartvoice ECG Analysis Skill
Analyze ECG data via the heartvoice (心之声) cloud API. The agent is responsible for detecting user intent (1-lead vs 12-lead) and language (Chinese vs English), then passing the appropriate explicit flags to the CLI script. The script itself requires explicit --mode and --lang parameters — all "automatic" behavior lives in the agent layer, not the script.
When to Activate
- User wants to analyze ECG / heart rhythm / electrocardiogram data
- User provides a JSON file containing ECG signal data
- Code or conversation mentions 心电图, ECG, 心电分析, 心律分析
- Keywords: 单导联, 十二导联, 1-lead, 12-lead, single lead, twelve lead
- User asks about arrhythmia detection, QRS/QT intervals, or signal quality
- User says "analyze ECG", "分析心电", "ecg diagnosis", or similar
Environment Setup
# Required — get your key at https://www.heartvoice.com.cn/aiCloud
export HEARTVOICE_API_KEY="your_api_key"