Heat the oil in a medium skillet over medium heat. Add the scallions, onions and tomato. Cook until the onions are soft and golden and the tomatoes have broken down, about 10 minutes, stirring often. Add cilantro, and salt and pepper.
Transfer to a bowl. Use warm or at room temperature.