Whisk egg, oil, 1 teaspoon vanilla and almond extract in a small bowl. With the motor running, add the mixture to the food processor. Process, then pulse, scraping down the sides, if necessary, until the mixture begins to clump, 30 to 45 seconds (it will look crumbly). Measure out 1/2 cup of the mixture and combine in a bowl with the remaining 1/4 cup chopped nuts (or oats). Set aside for the topping.