Install
openclaw skills install wisediag-skinSkin Disease Analysis — Analyze skin photos (via local file binary upload) and identify possible conditions via WiseDiag AI. Triggered when the user asks to analyze a skin image and provides a local image file path. Can also be invoked explicitly: say 'Use WiseDiag Skin to analyze this photo'.
openclaw skills install wisediag-skinActivate this skill when any of the following conditions are met:
Note: This skill uses local file upload (binary stream). The user should provide a local file path (e.g. /home/user/skin.jpg, C:\Users\...\rash.png) and the script uploads it via binary stream (-f).
Please read before installing:
This tool transmits your skin image files to WiseDiag cloud servers (via direct binary upload) for AI analysis.
Do not upload images containing sensitive or private content unless:
The output of this tool is for reference only and does not constitute medical diagnosis. Please consult a doctor for any health concerns.
Upload a skin photo and let WiseDiag AI automatically identify possible skin conditions and provide analysis and recommendations.
pip install -r requirements.txt
Get your API Key: 👉 https://console.wisediag.com/apiKeyManage
The API key MUST be set as an environment variable. The script reads it automatically.
export WISEDIAG_API_KEY=your_api_key
Do not call any API or HTTP endpoints directly — use only the script below.
⚠️ IMPORTANT: The script makes HTTP requests to an external API and may take 30-120 seconds to complete (especially for large images). Do NOT kill or interrupt a running command — wait for it to finish. The script prints streaming output so you can see it is working.
cd scripts
# Basic usage: upload a local skin image
python3 skin.py -f "/path/to/skin.jpg"
# Ask a specific question
python3 skin.py -f "/path/to/skin.jpg" --question "这个皮疹是什么原因?"
# Specify output filename
python3 skin.py -f "/path/to/skin.jpg" -n "skin_20260324"
Results are automatically saved to ~/.openclaw/workspace/WiseDiag-Skin/{name}.md — no manual saving needed.
| Parameter | Description |
|---|---|
-f, --file | Local file path to upload as binary stream — image file (required) |
--question | Question to ask (default: analyze skin and identify possible conditions) |
-n, --name | Output filename (without extension) |
-o, --output | Output directory (default: ~/.openclaw/workspace/WiseDiag-Skin) |
"WISEDIAG_API_KEY is not set" error:
Verify the environment variable is set correctly by running echo $WISEDIAG_API_KEY.
"Authentication failed" error: Your API Key may be invalid or expired. Visit console.wisediag.com to check or regenerate it.
"File not found" error:
The local file path provided via -f does not exist. Check the path and try again.
Image not recognized: Ensure the image is in JPG, JPEG, PNG, WebP, GIF, BMP, or TIFF format. Photos should be clear and well-lit for best results.
-f): Local files are uploaded as binary streams via multipart/form-data to WiseDiag's server for processing.Image content is not permanently stored. Results are returned directly to you.
The output of this tool is for reference only and does not constitute medical diagnosis or treatment advice. Please consult a qualified healthcare professional for any health concerns.
MIT