Finely chop the green chili and onion.
Dice the tomato.
Pour olive oil into a pan and sauté the onion and green chili.
Add tomato, season with salt and pepper, and simmer.
Top with cheddar cheese and melt over medium-low heat.
Crack an egg into the center, cover with a lid, and cook.