What problem does it solve?
It helps you quickly detect missing SenseNova-Skills installation components, verify Python dependencies, and configure required environment variables so the image-generation skill stack can run reliably.
Core Features & Use Cases
- Installation verification: Confirms that the required base-layer skill directory and key files (including SKILL.md, requirements, and runner script) exist.
- Dependency validation: Checks the Python version and verifies that all packages listed in sn-image-base/requirements.txt can be imported.
- Environment variable diagnostics + guided fixes: Uses sn-image-base Configs to validate configuration, prompts you for missing required variables, saves them to a .env file, reloads the environment, and suggests restarting the agent if needed.
- Use Case: Before generating or composing office images, run this doctor to ensure SN_BASE_URL/SN_API_KEY (or capability-specific overrides like SN_IMAGE_GEN_API_KEY) are set correctly and that your runtime won’t fail later with avoidable configuration errors.
Quick Start
Run the doctor by executing the environment check script in skills/sn-image-doctor/scripts/check_environment.py.