Orphan Malachy, who has lived in the monastery since the death of his parents, becomes friends with Rory, an apprentice stonecutter, and Rory's sister Mary, and the threesome try to solve the mystery of the treasure of Kilfenora using the lore of the monastery volumes.