Thrall Wars Dungeon Mod (steamcommunity.com)
You just need to look for special named taskmasters who know how to make all sorts of different things for prisoners.