The timber running up the stairscase is known as the stringer and is an integral part of the stairs so the best way to match this so it runs through the same would be to rip down a length of Lamb's tongue skirting, which is what you have, and fix it to the top of the stringer. With a bit of care...