In an acceptable nonstick skillet, heat oil over medium-excessive. Add onion and season with salt and pepper. Cook dinner, stirring in most cases, till browned, 12 to Quarter-hour. Add cumin, red-pepper flakes, and potatoes and cook dinner, stirring in most cases, till potatoes are frivolously golden, 5 minutes. Transfer to a serving platter and top with cilantro.