Skip to main content

Context Health Analyzer - CODITECT Adapter

Wraps the degradation detection utilities from Agent-Skills-for-Context-Engineering for CODITECT framework integration.

Usage: python3 scripts/context-engineering/context_health_analyzer.py --analyze "context text" python3 scripts/context-engineering/context_health_analyzer.py --file path/to/context.txt python3 scripts/context-engineering/context_health_analyzer.py --session SESSION_ID

Source: external/Agent-Skills-for-Context-Engineering/skills/context-degradation/scripts/

File: context_health_analyzer.py

Classes

CoditechContextHealthAnalyzer

CODITECT-integrated context health analyzer.

Functions

main()

No description

analyze(context, critical_positions, session_id)

Perform comprehensive context health analysis.

detect_degradation_patterns(context)

Detect specific degradation patterns in context.

Usage

python context_health_analyzer.py