In this cases I prefer the Quantum Mechanics notation, so from
Ad(Y)\left. |X\right>=\left. |[Y,X]\right>,
It is trivially to find the ``matrix element''
\left<Z|Ad(Y)|X\right>= \left<Z|[Y,X]\right>.
So, since the commutators of the basis elements are known, the problem is solved...