Preheat oven to 375°F/190°C. Grease baking sheets.
Stir together oats, flour, cinnamon, baking soda, and salt. Beat together butter, brown sugar, and granulated sugar in a large bowl with an electric mixer until light and fluffy. Add egg and vanilla and beat until combined well. Add oat mixture and beat until just combined.