Sohla El-Waylly has a recipe for this on the Serious Eats website, https://www.seriouseats.com/homemade-spicy-chili-crisp.
I've made it a couple times. The heat is supplied by the chiles so pick what you want there. I love this stuff...it's an umami bomb that goes well with practically everything.
Edit for spelling