Task Router Skill
Task Router
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.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install andyxcg/intelligent-triage-symptom-analysisInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
Version: 1.0.2
Category: Healthcare / Medical
Billing: SkillPay (1 token per call, ~0.001 USDT)
AI-powered medical triage assistance for healthcare providers, telemedicine platforms, and patients. Provides accurate preliminary symptom assessment and urgency recommendations.
from scripts.triage import analyze_symptoms
import os
# Set environment variables
os.environ["SKILL_BILLING_API_KEY"] = "your-api-key"
os.environ["SKILL_ID"] = "your-skill-id"
# Analyze patient symptoms
result = analyze_symptoms(
symptoms="胸痛,呼吸困难,持续30分钟",
age=65,
gender="male",
vital_signs={"bp": "160/95", "hr": 110, "temp": 37.2},
user_id="user_123"
)
# Check result
if result["success"]:
print("分诊等级:", result["triage"]["level"])
print("紧急程度:", result["triage"]["urgency"])
print("建议措施:", result["recommendations"])
else:
print("错误:", result["error"])
if "paymentUrl" in result:
print("充值链接:", result["paymentUrl"])
# Set environment variables
export SKILL_BILLING_API_KEY="your-api-key"
export SKILL_ID="your-skill-id"
# Run analysis
python scripts/triage.py \
--symptoms "胸痛,呼吸困难" \
--age 65 \
--gender male \
--user-id "user_123"
SKILL_BILLING_API_KEY environment variableSKILL_ID environment variable...These signals come from indexed source analysis and may lag behind changes. Check the current source files.
AI-powered medical triage assistance for healthcare providers, telemedicine platforms, and patients. Provides accurate preliminary symptom assessment and urgency recommendations.
cd /home/node/.openclaw/workspace/skills/
pip install -r requirements.txt # if requirements.txt exists
cp .env.example .env
# Edit .env with your actual API keys
Copy .env.example to .env and configure the following variables:
| Variable | Description | Required |
|---|---|---|
SKILL_BILLING_API_KEY |
Your SkillPay API key for billing | Yes |
SKILL_ID |
Your Skill ID from SkillPay dashboard | Yes |
| Variable | Description | Default |
|---|---|---|
OPENAI_API_KEY |
OpenAI API key for enhanced NLP | - |
ANTHROPIC_API_KEY |
Anthropic API key for enhanced NLP | - |
ICD11_API_KEY |
ICD-11 API key for disease codes | - |
SNOMED_API_KEY |
SNOMED CT API key for medical terms | - |
PHI_ENCRYPTION_KEY |
Encryption key for PHI protection | - |
DATA_RETENTION_DAYS |
Days to retain analysis data | 30 |
AUDIT_LOGGING_ENABLED |
Enable audit logging | true |
RED_FLAG_ALERTS_ENABLED |
Enable red flag alerts | true |
# Intelligent Triage and Symptom Analysis
> **Version**: 1.0.2
> **Category**: Healthcare / Medical
> **Billing**: SkillPay (1 token per call, ~0.001 USDT)
AI-powered medical triage assistance for healthcare providers, telemedicine platforms, and patients. Provides accurate preliminary symptom assessment and urgency recommendations.
## Features
1. **Comprehensive Symptom Coverage** - 650+ symptoms across 11 body systems
2. **Standardized Triage** - 5-level classification (Resuscitation to Non-emergency)
3. **Red Flag Detection** - ≥95% accuracy for life-threatening conditions
4. **NLP Analysis** - Natural language symptom extraction
5. **Differential Diagnosis** - ML-assisted condition ranking
6. **SkillPay Billing** - 1 token per analysis (~0.001 USDT)
## Quick Start
### Analyze symptoms:
```python
from scripts.triage import analyze_symptoms
import os
# Set environment variables
os.environ["SKILL_BILLING_API_KEY"] = "your-api-key"
os.environ["SKILL_ID"] = "your-skill-id"
# Analyze patient symptoms
result = analyze_symptoms(
symptoms="胸痛,呼吸困难,持续30分钟",
age=65,
gender="male",
vital_signs={"bp": "160/95", "hr": 110, "temp": 37.2},
user_id="user_123"
)
# Check result
if result["success"]:
print("分诊等级:", result["triage"]["level"])
print("紧急程度:", result["triage"]["urgency"])
print("建议措施:", result["recommendations"])
else:
print("错误:", result["error"])
if "paymentUrl" in result:
print("充值链接:", result["paymentUrl"])
```
### API Usage:
```bash
# Set environment variables
export SKILL_BILLING_API_KEY="your-api-key"
export SKILL_ID="your-skill-id"
# Run analysis
python scripts/triage.py \
--symptoms "胸痛,呼吸困难" \
--age 65 \
--gender male \
--user-id "user_123"
```
## Configuration
- Provider: skillpay.me
- Pricing: 1 token per call (~0.001 USDT)
- Minimum deposit: 8 USDT
- API Key: `SKILL_BILLING_API_KEY` environment variable
- Skill ID: `SKILL_ID` environment variable...# Intelligent Triage and Symptom Analysis AI-powered medical triage assistance for healthcare providers, telemedicine platforms, and patients. Provides accurate preliminary symptom assessment and urgency recommendations. ## Features - **Comprehensive Symptom Coverage** - 650+ symptoms across 11 body systems - **Standardized Triage** - 5-level classification (Resuscitation to Non-emergency) - **Red Flag Detection** - ≥95% accuracy for life-threatening conditions - **NLP Analysis** - Natural language symptom extraction - **Differential Diagnosis** - ML-assisted condition ranking - **SkillPay Billing** - 1 token per analysis (~0.001 USDT) ## Installation 1. Clone or download this skill to your OpenClaw workspace: ```bash cd /home/node/.openclaw/workspace/skills/ ``` 2. Install Python dependencies (if any additional packages are needed): ```bash pip install -r requirements.txt # if requirements.txt exists ``` 3. Copy the environment variables file and configure: ```bash cp .env.example .env # Edit .env with your actual API keys ``` ## Environment Variables Configuration Copy `.env.example` to `.env` and configure the following variables: ### Required Variables | Variable | Description | Required | |----------|-------------|----------| | `SKILL_BILLING_API_KEY` | Your SkillPay API key for billing | Yes | | `SKILL_ID` | Your Skill ID from SkillPay dashboard | Yes | ### Optional Variables | Variable | Description | Default | |----------|-------------|---------| | `OPENAI_API_KEY` | OpenAI API key for enhanced NLP | - | | `ANTHROPIC_API_KEY` | Anthropic API key for enhanced NLP | - | | `ICD11_API_KEY` | ICD-11 API key for disease codes | - | | `SNOMED_API_KEY` | SNOMED CT API key for medical terms | - | | `PHI_ENCRYPTION_KEY` | Encryption key for PHI protection | - | | `DATA_RETENTION_DAYS` | Days to retain analysis data | 30 | | `AUDIT_LOGGING_ENABLED` | Enable audit logging | true | | `RED_FLAG_ALERTS_ENABLED` | Enable red flag alerts | true | ## Usage Exam...
Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.