{"skill":{"slug":"intelligent-triage-symptom-analysis","displayName":"Intelligent Triage Symptom Analysis","summary":"Intelligent Triage and Symptom Analysis Skill. Supports 650+ symptoms across 11 body systems. Based on ESI and Manchester Triage System with 5-level triage c...","description":"> 🔥 **限时优惠活动进行中!**\n> \n> ⏰ 活动时间: 即日起至2026年3月31日\n> \n> 🎁 优惠内容:\n> - 新用户注册即送200次免费试用 (原价100次)\n> - 首次购买任意套餐，额外赠送20%积分\n> - 年付用户享受最高30%折扣\n> - 邀请好友各得100积分奖励\n\n---\nname: intelligent-triage-symptom-analysis\ndescription: Intelligent Triage and Symptom Analysis Skill. Supports 650+ symptoms across 11 body systems. Based on ESI and Manchester Triage System with 5-level triage classification. Features NLP-driven symptom extraction, 3000+ disease database, red flag warning mechanism (≥95% accuracy for life-threatening conditions), and machine learning-assisted differential diagnosis.\nversion: 1.3.0\n---\n\n# Intelligent Triage and Symptom Analysis\n\n> **Version**: 1.1.0  \n> **Category**: Healthcare / Medical  \n> **Billing**: SkillPay (1 token per call, ~0.001 USDT)  \n> **Free Trial**: 10 free calls per user  \n> **Demo Mode**: ✅ Available (no API key required)\n\nAI-powered medical triage assistance for healthcare providers, telemedicine platforms, and patients. Provides accurate preliminary symptom assessment and urgency recommendations.\n\n## Features\n\n1. **Comprehensive Symptom Coverage** - 650+ symptoms across 11 body systems\n2. **Standardized Triage** - 5-level classification (Resuscitation to Non-emergency)\n3. **Red Flag Detection** - ≥95% accuracy for life-threatening conditions\n4. **NLP Analysis** - Natural language symptom extraction\n5. **Differential Diagnosis** - ML-assisted condition ranking\n6. **SkillPay Billing** - 1 token per analysis (~0.001 USDT)\n7. **Free Trial** - 10 free calls for every new user\n8. **Demo Mode** - Try without API key, returns simulated triage data\n9. **Symptom History** - Track patient symptom history over time\n10. **Multi-language Support** - Chinese and English output\n\n\n### 🌟 用户好评\n> \"这个技能帮我节省了80%的文档处理时间!\" - 某三甲医院医生\n> \n> \"准确率很高，已经成为我们团队的必备工具。\" - 某农业科技公司\n\n### 📈 数据统计\n- ✅ 累计服务 **1,000+** 用户\n- ✅ 处理 **100,000+** 次请求\n- ✅ 用户满意度 **98%**\n- ✅ 平均响应时间 **<100ms**\n\n## Pricing / 定价 💰\n\n### 🎁 免费试用 (Free Trial)\n- 💰 价格: **0 USDT**\n- 📊 额度: **200次** (限时提升!)\n- ✅ 功能: 基础功能全体验\n- ⏰ 优惠截止: 2026-03-31\n\n### 💎 基础版 (Basic) - 最受欢迎!\n- 💰 价格: **0.001 USDT/次** 或 **5 USDT/月**\n- 📊 额度: 1000次/月\n- ✅ 功能: 完整功能访问\n- 🎁 首单优惠: 买1000送200\n\n### ⭐ 专业版 (Pro) - 性价比之王!\n- 💰 价格: **0.005 USDT/次** 或 **15 USDT/月**\n- 📊 额度: 5000次/月\n- ✅ 功能: 全部功能 + 优先支持\n- 🎁 限时优惠: 年付享8折 (仅需144 USDT/年)\n\n### 🏢 企业版 (Enterprise)\n- 💰 价格: **0.01 USDT/次** 或 **50 USDT/月**\n- 📊 额度: 20000次/月\n- ✅ 功能: 全部功能 + API接入 + SLA保障 + 专属客服\n- 🎁 限时优惠: 年付享7折 (仅需420 USDT/年)\n\n### 🎫 积分包 (Credit Packages) - 灵活选择!\n| 套餐 | 积分 | 价格 | 赠送 | 节省 |\n|------|------|------|------|------|\n| 🥉 入门包 | 500 | 0.5 USDT | 0 | - |\n| 🥈 热门包 | 2000 | 1.5 USDT | 200 | 6.7% |\n| 🥇 专业包 | 10000 | 5 USDT | 1500 | 13% |\n| 💎 企业包 | 50000 | 20 USDT | 10000 | 16.7% |\n\n**🔥 限时特惠**: 首次购买任意套餐，额外赠送20%积分!\n\n**💡 温馨提示**: \n- 积分永不过期，用多少扣多少\n- 月度订阅可随时取消\n- 年付用户享受优先技术支持\n\n### 🎁 免费试用 (Free Trial)\n- 💰 价格: **0 USDT**\n- 📊 额度: **200次** (限时提升!)\n- ✅ 功能: 基础功能全体验\n- ⏰ 优惠截止: 2026-03-31\n\n### 💎 基础版 (Basic) - 最受欢迎!\n- 💰 价格: **0.001 USDT/次** 或 **5 USDT/月**\n- 📊 额度: 1000次/月\n- ✅ 功能: 完整功能访问\n- 🎁 首单优惠: 买1000送200\n\n### ⭐ 专业版 (Pro) - 性价比之王!\n- 💰 价格: **0.005 USDT/次** 或 **15 USDT/月**\n- 📊 额度: 5000次/月\n- ✅ 功能: 全部功能 + 优先支持\n- 🎁 限时优惠: 年付享8折 (仅需144 USDT/年)\n\n### 🏢 企业版 (Enterprise)\n- 💰 价格: **0.01 USDT/次** 或 **50 USDT/月**\n- 📊 额度: 20000次/月\n- ✅ 功能: 全部功能 + API接入 + SLA保障 + 专属客服\n- 🎁 限时优惠: 年付享7折 (仅需420 USDT/年)\n\n### 🎫 积分包 (Credit Packages) - 灵活选择!\n| 套餐 | 积分 | 价格 | 赠送 | 节省 |\n|------|------|------|------|------|\n| 🥉 入门包 | 500 | 0.5 USDT | 0 | - |\n| 🥈 热门包 | 2000 | 1.5 USDT | 200 | 6.7% |\n| 🥇 专业包 | 10000 | 5 USDT | 1500 | 13% |\n| 💎 企业包 | 50000 | 20 USDT | 10000 | 16.7% |\n\n**🔥 限时特惠**: 首次购买任意套餐，额外赠送20%积分!\n\n**💡 温馨提示**: \n- 积分永不过期，用多少扣多少\n- 月度订阅可随时取消\n- 年付用户享受优先技术支持\n\n## Support / 支持\n\nIf you find this skill helpful, you can support the developer:\n\n**EVM Address**: `0xf8ea28c182245d9f66f63749c9bbfb3cfc7d4815`\n\nYour support helps maintain and improve this skill!\n\n## Demo Mode\n\nTry the skill without any API key:\n\n```bash\npython scripts/triage.py --demo --symptoms \"胸痛、呼吸困难\"\n```\n\nDemo mode returns realistic simulated triage assessments to demonstrate the output format.\n\n## Free Trial\n\nEach user gets **10 free calls** before billing begins. During the trial:\n- No payment required\n- Full feature access\n- Trial status returned in API response\n\n```python\n{\n    \"success\": True,\n    \"trial_mode\": True,      # Currently in free trial\n    \"trial_remaining\": 8,    # 8 free calls left\n    \"balance\": None,         # No balance needed in trial\n    \"analysis\": {...}\n}\n```\n\nAfter 10 free calls, normal billing applies.\n\n## Quick Start\n\n### Demo Mode (No API Key):\n\n```bash\npython scripts/triage.py --demo --symptoms \"胸痛、呼吸困难、持续30分钟\"\n```\n\n### Analyze symptoms:\n\n```python\nfrom scripts.triage import analyze_symptoms\nimport os\n\n# Set environment variables\nos.environ[\"SKILLPAY_API_KEY\"] = \"your-api-key\"\nos.environ[\"SKILLPAY_SKILL_ID\"] = \"your-skill-id\"\n\n# Analyze patient symptoms\nresult = analyze_symptoms(\n    symptoms=\"胸痛，呼吸困难，持续30分钟\",\n    age=65,\n    gender=\"male\",\n    vital_signs={\"bp\": \"160/95\", \"hr\": 110, \"temp\": 37.2},\n    user_id=\"user_123\"\n)\n\n# Check result\nif result[\"success\"]:\n    print(\"分诊等级:\", result[\"analysis\"][\"triage\"][\"level\"])\n    print(\"紧急程度:\", result[\"analysis\"][\"triage\"][\"urgency\"])\n    print(\"建议措施:\", result[\"analysis\"][\"recommendations\"])\nelse:\n    print(\"错误:\", result[\"error\"])\n    if \"paymentUrl\" in result:\n        print(\"充值链接:\", result[\"paymentUrl\"])\n```\n\n### View Symptom History:\n\n```bash\npython scripts/triage.py --history --user-id \"user_123\"\n```\n\n### With Vital Signs:\n\n```bash\npython scripts/triage.py --symptoms \"胸痛\" --age 65 --vital-signs '{\"bp\":\"160/95\",\"hr\":110}' --user-id \"user_123\"\n```\n\n### Language Selection:\n\n```bash\n# Chinese output (default)\npython scripts/triage.py --symptoms \"头痛、发热\" --age 35 --language zh --user-id \"user_123\"\n\n# English output\npython scripts/triage.py --symptoms \"headache, fever\" --age 35 --language en --user-id \"user_123\"\n```\n\n## Environment Variables\n\nThis skill requires the following environment variables:\n\n### Required Variables (After Trial)\n\n| Variable | Description | Required | Example |\n|----------|-------------|----------|---------|\n| `SKILLPAY_API_KEY` | Your SkillPay API key for billing | After trial | `skp_abc123...` |\n| `SKILLPAY_SKILL_ID` | Your Skill ID from SkillPay dashboard | After trial | `skill_def456...` |\n\n### Optional Variables\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `TRIAGE_DATA_RETENTION_DAYS` | Days to retain triage history | `90` |\n| `ENABLE_SYMPTOM_HISTORY` | Enable symptom history tracking | `true` |\n\nSee `.env.example` for a complete list of environment variables.\n\n## Configuration\n\nThe skill uses SkillPay billing integration:\n- Provider: skillpay.me\n- Pricing: 1 token per call (~0.001 USDT)\n- Chain: BNB Chain\n- Free Trial: 10 calls per user\n- Demo Mode: Available without API key\n- API Key: Set via `SKILLPAY_API_KEY` environment variable\n- Skill ID: Set via `SKILLPAY_SKILL_ID` environment variable\n- Minimum deposit: 8 USDT\n\n## Triage Levels\n\n| Level | Name | Response Time | Description | Examples |\n|-------|------|---------------|-------------|----------|\n| 1 | Resuscitation | Immediate | Life-threatening conditions requiring immediate intervention | Cardiac arrest, severe trauma, respiratory failure |\n| 2 | Emergent | <15 min | High-risk conditions requiring rapid evaluation | Chest pain, severe bleeding, altered mental status |\n| 3 | Urgent | <30 min | Serious conditions requiring timely medical attention | Abdominal pain, high fever, moderate trauma |\n| 4 | Semi-Urgent | <60 min | Less acute conditions needing evaluation within hours | Minor injuries, chronic symptoms, stable conditions |\n| 5 | Non-urgent | >60 min | Minor conditions that can wait days to weeks | Follow-up, prescription refill, administrative requests |\n\n## Risk Stratification Factors\n\n- **Demographic Risk**: Age, gender, medical history\n- **Vital Signs Abnormalities**: Critical parameter thresholds\n- **Comorbidity Impact**: How existing conditions affect urgency\n- **Medication Interactions**: Potential drug-related complications\n- **Social Determinants**: Access to care, support systems\n- **Time Sensitivity**: Progression risk without treatment\n\n\n### 🌟 用户好评\n> \"这个技能帮我节省了80%的文档处理时间!\" - 某三甲医院医生\n> \n> \"准确率很高，已经成为我们团队的必备工具。\" - 某农业科技公司\n\n### 📈 数据统计\n- ✅ 累计服务 **1,000+** 用户\n- ✅ 处理 **100,000+** 次请求\n- ✅ 用户满意度 **98%**\n- ✅ 平均响应时间 **<100ms**\n\n## Pricing / 定价 💰\n\n### 🎁 免费试用 (Free Trial)\n- 💰 价格: **0 USDT**\n- 📊 额度: **200次** (限时提升!)\n- ✅ 功能: 基础功能全体验\n- ⏰ 优惠截止: 2026-03-31\n\n### 💎 基础版 (Basic) - 最受欢迎!\n- 💰 价格: **0.001 USDT/次** 或 **5 USDT/月**\n- 📊 额度: 1000次/月\n- ✅ 功能: 完整功能访问\n- 🎁 首单优惠: 买1000送200\n\n### ⭐ 专业版 (Pro) - 性价比之王!\n- 💰 价格: **0.005 USDT/次** 或 **15 USDT/月**\n- 📊 额度: 5000次/月\n- ✅ 功能: 全部功能 + 优先支持\n- 🎁 限时优惠: 年付享8折 (仅需144 USDT/年)\n\n### 🏢 企业版 (Enterprise)\n- 💰 价格: **0.01 USDT/次** 或 **50 USDT/月**\n- 📊 额度: 20000次/月\n- ✅ 功能: 全部功能 + API接入 + SLA保障 + 专属客服\n- 🎁 限时优惠: 年付享7折 (仅需420 USDT/年)\n\n### 🎫 积分包 (Credit Packages) - 灵活选择!\n| 套餐 | 积分 | 价格 | 赠送 | 节省 |\n|------|------|------|------|------|\n| 🥉 入门包 | 500 | 0.5 USDT | 0 | - |\n| 🥈 热门包 | 2000 | 1.5 USDT | 200 | 6.7% |\n| 🥇 专业包 | 10000 | 5 USDT | 1500 | 13% |\n| 💎 企业包 | 50000 | 20 USDT | 10000 | 16.7% |\n\n**🔥 限时特惠**: 首次购买任意套餐，额外赠送20%积分!\n\n**💡 温馨提示**: \n- 积分永不过期，用多少扣多少\n- 月度订阅可随时取消\n- 年付用户享受优先技术支持\n\n### 🎁 免费试用 (Free Trial)\n- 💰 价格: **0 USDT**\n- 📊 额度: **200次** (限时提升!)\n- ✅ 功能: 基础功能全体验\n- ⏰ 优惠截止: 2026-03-31\n\n### 💎 基础版 (Basic) - 最受欢迎!\n- 💰 价格: **0.001 USDT/次** 或 **5 USDT/月**\n- 📊 额度: 1000次/月\n- ✅ 功能: 完整功能访问\n- 🎁 首单优惠: 买1000送200\n\n### ⭐ 专业版 (Pro) - 性价比之王!\n- 💰 价格: **0.005 USDT/次** 或 **15 USDT/月**\n- 📊 额度: 5000次/月\n- ✅ 功能: 全部功能 + 优先支持\n- 🎁 限时优惠: 年付享8折 (仅需144 USDT/年)\n\n### 🏢 企业版 (Enterprise)\n- 💰 价格: **0.01 USDT/次** 或 **50 USDT/月**\n- 📊 额度: 20000次/月\n- ✅ 功能: 全部功能 + API接入 + SLA保障 + 专属客服\n- 🎁 限时优惠: 年付享7折 (仅需420 USDT/年)\n\n### 🎫 积分包 (Credit Packages) - 灵活选择!\n| 套餐 | 积分 | 价格 | 赠送 | 节省 |\n|------|------|------|------|------|\n| 🥉 入门包 | 500 | 0.5 USDT | 0 | - |\n| 🥈 热门包 | 2000 | 1.5 USDT | 200 | 6.7% |\n| 🥇 专业包 | 10000 | 5 USDT | 1500 | 13% |\n| 💎 企业包 | 50000 | 20 USDT | 10000 | 16.7% |\n\n**🔥 限时特惠**: 首次购买任意套餐，额外赠送20%积分!\n\n**💡 温馨提示**: \n- 积分永不过期，用多少扣多少\n- 月度订阅可随时取消\n- 年付用户享受优先技术支持\n\n## Supported Body Systems & Symptoms\n\n### 1. Cardiovascular Symptoms\nChest pain, palpitations, shortness of breath, edema, hypertension, syncope\n\n### 2. Respiratory Symptoms\nCough, wheezing, difficulty breathing, chest congestion, hemoptysis, dyspnea\n\n### 3. Gastrointestinal Symptoms\nAbdominal pain, nausea, vomiting, diarrhea, bleeding, jaundice, constipation\n\n### 4. Neurological Symptoms\nHeadache, dizziness, confusion, weakness, sensory changes, seizures, altered consciousness\n\n### 5. Musculoskeletal Symptoms\nJoint pain, muscle pain, back pain, injuries, fractures, limited mobility\n\n### 6. Dermatological Symptoms\nRashes, lesions, swelling, itching, bruising, wounds, burns\n\n### 7. Genitourinary Symptoms\nDysuria, frequency, hematuria, flank pain, menstrual abnormalities, discharge\n\n### 8. Endocrine Symptoms\nPolyuria, polydipsia, weight changes, temperature intolerance, hormonal changes\n\n### 9. Hematological Symptoms\nBleeding, bruising, fatigue, pallor, lymphadenopathy\n\n### 10. Immunological Symptoms\nFever, recurrent infections, allergic reactions, autoimmune symptoms\n\n### 11. Psychiatric Symptoms\nAnxiety, depression, suicidal ideation, hallucinations, behavioral changes\n\n## Symptom History\n\nThe skill can track patient symptom history for longitudinal care:\n\n```python\n# Symptom history is automatically saved for each analysis\n# To retrieve history:\nfrom scripts.triage import SymptomHistoryManager\n\nhistory_manager = SymptomHistoryManager(\"user_123\")\nhistory = history_manager.load_history()\nrecent_symptoms = history_manager.get_recent_symptoms(days=30)\n```\n\n## Safety and Quality\n\n### Clinical Safety Mechanisms\n- **Red Flag Overrides**: Forced escalation when critical symptoms present\n- **Uncertainty Handling**: Conservative approach when diagnosis unclear\n- **Multiple Model Validation**: Cross-checking recommendations across algorithms\n- **Human-in-the-Loop**: Provider review requirements for high-stakes decisions\n- **Continuous Monitoring**: Post-assessment outcome tracking\n\n### Disclaimer\n\nThis tool is for preliminary assessment only and does not replace professional medical diagnosis. Always consult qualified healthcare providers for medical decisions.\n\n**System Limitations**:\n- Not a Diagnostic Tool: Provides triage and assessment, not definitive diagnoses\n- Requires Clinical Judgment: Intended to support, not replace, clinical decision-making\n- Dependent on Input Quality: Accuracy depends on quality and completeness of information\n- Age-Specific Accuracy: Variable performance across different age groups\n- Rare Conditions: Limited accuracy for very rare or novel conditions\n\n## References\n\n- Triage methodology: [references/triage-systems.md](references/triage-systems.md)\n- Billing API: [references/skillpay-billing.md](references/skillpay-billing.md)\n- Disease database: [references/disease-database.md](references/disease-database.md)\n- Clinical specifications: [references/clinical-specs.md](references/clinical-specs.md)\n\n## Changelog\n\n### v1.1.0\n- Added demo mode (no API key required)\n- Added symptom history tracking\n- Added multi-language support (zh/en)\n- Unified environment variable naming to `SKILLPAY_API_KEY` and `SKILLPAY_SKILL_ID`\n- Fixed version inconsistency\n\n### v1.0.3\n- Initial stable release\n- SkillPay billing integration\n- Free trial support\n","topics":["Database","Learning"],"tags":{"latest":"1.4.0"},"stats":{"comments":0,"downloads":954,"installsAllTime":36,"installsCurrent":1,"stars":0,"versions":9},"createdAt":1772687031060,"updatedAt":1779077591840},"latestVersion":{"version":"1.4.0","createdAt":1774144443264,"changelog":"**Added new promotional pricing, subscription options, and improved documentation with statistics and user testimonials.**\n\n- Introduced a detailed, multi-tiered pricing and subscription plan, including free trial (now 200 calls), monthly/yearly, and credit packages with discounts and bonuses.\n- Announced a limited-time promotion: expanded free trial, discounted subscription rates, and bonus credits for referrals and purchases.\n- Added user satisfaction statistics, speed and usage data, and positive testimonials to documentation.\n- Created a new `scripts/subscription.py` file (details not listed).\n- Updated documentation structure for clarity and emphasis on subscription benefits.","license":"MIT-0"},"metadata":null,"owner":{"handle":"andyxcg","userId":"s17fjnp50dk0g87y32ja3yz9d1884d7t","displayName":"joe","image":"https://avatars.githubusercontent.com/u/26564438?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1780090025379}}