If \(\sin \left(\cot ^{-1}(x+1)\right)=\cos \left(\tan ^{-1} x\right)\) then considering positive square roots, \(x\) has the value ___________