Add chili powder, cumin, garlic powder, cocoa powder, and black pepper to onions. Cook about 2 minutes, until fragrant. Add brewed coffee and stir, scraping up any browned bits on the bottom of the pot. Allow liquid to reduce until the mixture forms a thick paste. Reduce heat to low until beef is finished smoking.