Drilling and completion operations in difficult formations often present significant challenges to wellbore stability. These formations are characterized by unstable geological properties, read more leading to a higher risk of wellbore collapse or deviation. To mitigate these risks, it is crucial to optimize wellbore stability through a combination