Toast chili powder and cumin in a skillet over medium heat until fragrant, about 30 seconds. Add oil to skillet and heat; add onion and cook until tender, about 3 minutes. Add garlic and cook until fragrant, about 3 minutes. Add beef and cook until cooked through, about 5 minutes. Add tomato sauce and beans; cook five minutes more or until heated through.