The teachings of the ancient have tremendous value and dimension and mindfulness or concentration is a central theme in an old text called Vijnana Bhairava Tantra.
Osho described this very extensively in his Book of Secrets. The book is comprehensive and this book like many things that this controversial-ingenious-unique creature on the planet has ever said, edited, done or written, many people will find as “difficult” and incomprehensible. That huge book is worth a try.
Yoga Sutra or knowing yourself is also a very practical text on how to cope with life.
The third chapter of the Yoga Sutra explains the Power, or higher levels of Yoga and their practice. These are Dharana or concentration, dhyana or meditation and Samadhi (self-realization which is equal to self-knowledge, knowledge and cognition of the Higher Being or Self).
Patanjali Yoga is the path of self-realization. It belongs to Kapila’s Sankhya philosophy which says that pure consciousness (purusha) is separated from energy (prakriti).
Buddhism and other spiritual systems are also based on Kapila’s thought.
In Vedanta (“the end of knowledge”, supreme knowledge) pure consciousness is separated from maya or illusion.