Prompt attitude stabilization is more challenging in Nano CubeSat due to its minimal capacity, weight, energy, and volume-constrained architecture. Fixed gain non-adaptive classical proportional integral derivative control methodology is ineffective to provide optimal attitude stability in low earth orbit under significant environmental disturbances. Therefore, an artificial neural network with fuzzy inference design is developed in a simulation environment to control the angular velocity and quaternions of a CubeSat by autonomous gain tuning of the proportional-derivative controller according to space perturbations. It elucidates the dynamics and kinematics of the CubeSat attitude model with reaction wheels and low earth orbit disruptions, i.e., gravity gradient torque, atmospheric torque, solar radiation torque, and residual magnetic torque. The effectiveness of the proposed ANFIS-PD control scheme shows that the CubeSat retained the three-axis attitude controllability based on initial quaternions, the moment of inertia, Euler angle error, attitude angular rate, angular velocity rate as compared to PID, ANN, and RNN methodologies. Outcomes from the simulation indicated that the proposed controller scheme achieved minimum root mean square errors that lead towards rapid stability in roll, pitch, and yaw axis respectively within 20 s of simulation time.