i don't have a compilable demo project now.
but its simple too.
when someone want to use clipping node in cocos, you need set "content" and "stencil"
just set content as a black sprite, stencil as spine, then adjust opacity of black sprite
u will get a shadow of spine.
ps. take care different shader between spine and stencil of clipping node.