Heat oil in a small skillet over medium heat. Cook garlic and onion until tender, about 2 minutes. Add cumin and chili powder, stir, and remove from heat.
In a food processor, pulse beans until chopped. Add onion mixture and 1/4 cup water and pulse to combine. Season with salt and pepper. Stir in parsley. Store in the refrigerator for up to 5 days.