The Artisan Cave (located on Route 113, accessible after obtaining the Go-Goggles) is a single-room cave populated exclusively by wild Smeargle. It is not a crafting hub and has no connection to the move Secret Power.
Secret Power is taught by a man in Slateport City's marketplace (after earning the Balance Badge). It has no link to Artisan Cave.
Visit Artisan Cave to catch Smeargle and build a versatile moveset via Sketch.