The most general first-order symmetry operator commuting with the Dirac operator in all dimensions and signatures is derived. Such an operator splits into Clifford even and Clifford odd parts which are given in terms of odd Killing-Yano and even closed conformal Killing-Yano inhomogeneous forms, respectively.