The easiest way to do this is a backward loop cast on. This sounds like a small buttonhole.
This tutorial shows the way it might look mid row:
You’ll be casting on the extra stitch onto the needle that has the workng yarn hanging off the tip, then continue working the row. On the next row, you’ll knit that cast on stitch.