Heat the olive oil in a skillet over medium-high heat.
Add the chopped onion (or scallions) and minced garlic.
Cook, stirring occasionally, until the onion has softened, about 3 minutes.
Stir in the ground cumin and cook for 30 seconds until fragrant.
Add the chopped tomatoes and cook at a gentle bubble, allowing them to break down and become saucy, which should take about 10 minutes.
Stir in the edamame and season generously with salt and pepper.
Continue to cook until the edamame are tender and heated through, about 5 to 7 minutes.
Remove from heat.
Taste and adjust seasoning if necessary.
Stir in the fresh cilantro and serve immediately.