Has to be composted first. I add spent mushroom subs to either my worm bin or to an outdoor compost pile. Depends upon how nasty it is...if it stinks definitely toss it outside. If you have a lot the compost pile is probably the best place to let it break down. Once it is turned to compost you can add it to your recycling soil along with any other amendments; spent subs don't contain much in the way of NPK value but will help fungi dominate your containers.