diagnose

Run Python diagnostics and health checks for the AItrader trading system.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/FelixWayne0318/AItrader --skill diagnose
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagnose
Source: https://github.com/FelixWayne0318/AItrader/tree/main/.claude/skills/diagnose
Command: npx skills add https://github.com/FelixWayne0318/AItrader --skill diagnose

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides fast, automated diagnostics for the AItrader trading system. It helps verify AI analysis, validate technical indicator calculations, and troubleshoot market data or configuration issues when trading signals are not generated.

Core Features & Use Cases

  • Full Diagnostic (Default): runs the standard health check and validates configuration, market data fetch, indicator initialization, and sentiment inputs.
  • Quick Diagnostic (Skip AI calls): performs essential checks without triggering the full AI decision pipeline.
  • With Update and Restart: updates components and restarts services to apply changes.
  • Real-time Diagnostics: provides ongoing health checks for live operation using diagnose_realtime.py.
  • Order Flow Simulation: tests sequences like new positions, additions, reversals, and closes to verify order handling (v3.18).
  • Troubleshooting Guidance: outlines common failure modes (no signals, API issues, abnormal indicators) with targeted commands to diagnose.
  • Regression & Health Artifacts: references to smart_commit_analyzer and baseline configs for consistency checks.

Quick Start

cd /home/linuxuser/nautilus_AItrader source venv/bin/activate python3 scripts/diagnose.py

Quick diagnostic without AI

python3 scripts/diagnose.py --quick

Update and restart

python3 scripts/diagnose.py --update --restart

Frequently Asked Questions about diagnose

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I diagnose my trading system when no signals are generated?

Run Python diagnostics using diagnose.py to identify misconfigurations, validate market data fetch, and check indicator initialization that may be preventing your trading system from generating signals.

Can I run a quick health check on my AI trading system without triggering AI calls?

Yes, run your diagnostic script with the --quick flag to perform essential health checks and validate configurations while skipping the full AI analysis and sentiment input pipelines.

How do I troubleshoot AI analysis failures in a live trading environment?

Use diagnose_realtime.py to perform ongoing health checks on your live trading operation, identifying AI analysis failures, data issues, and indicator validation problems in real-time.

How do I test order flow sequences for new positions, reversals, and closes?

Run an order flow simulation to test sequences including new positions, additions, reversals, and closes, verifying that your trading system handles order execution correctly and consistently.

Does the Python diagnostic script support updating components and restarting services?

Yes, execute the diagnostic script with the --update and --restart flags to update system components and restart services, applying changes to your trading environment immediately after health checks.

Why does my trading system show abnormal technical indicators during data fetching?

Abnormal technical indicators during data fetching usually result from market data issues or initialization errors; run a full diagnostic to validate indicator calculations and verify data fetch pipeline integrity.