Bring a small pot of water to a gentle boil. Lower in the eggs with a spoon and simmer for 7 minutes for jammy yolks. Move them to a bowl of cold water for 2 minutes, then peel.
While the eggs cook, warm 1 teaspoon of olive oil in a skillet over medium heat. Add the minced garlic, cumin, smoked paprika and chipotle and stir for 30 seconds until fragrant.
Add the black beans, water and a pinch of salt. Simmer for 3 to 4 minutes, mashing a few beans with the back of your spoon, until thick and glossy. Slide the beans onto your plate.
Add the second teaspoon of olive oil and the sliced garlic to the same skillet. After 30 seconds, add the spinach and a pinch of salt and toss for 1 to 2 minutes until just wilted. Finish with 1 teaspoon of lime juice.
Toast the sourdough in a toaster or a dry skillet. Smash the avocado on top with 1 teaspoon of lime juice, the red pepper flakes and flaky salt.
Add the greens and the toast to the plate. Halve the eggs and set them on top, then finish with scallion, cilantro and a lime wedge.