How are the 5 Mental Abilities being developed?
There are these 5 mental
Abilities
(indriya)
:
The ability (faculty) of
faith,
The ability of
energy,
The ability of
awareness,
The ability of
concentration,
The ability of
understanding.
The
five abilities are being developed in
these 10 aspects:
When a Noble Friend is leaving sceptical doubt behind, this is development
of the faith ability.
When a Noble Friend is developing the
faith ability, then this mistrust of non-faith is left behind.
When a Noble Friend is leaving laziness behind, this is development of the
energy ability.
When a Noble Friend is developing the energy ability, this indolent idleness
is left behind.
When a Noble Friend is leaving negligence behind, this is development of the
awareness ability.
When a Noble Friend is developing the awareness
ability, this dull
inattentiveness is left behind.
When a Noble Friend is leaving distraction behind, this is development of
the concentration ability.
When a Noble Friend is developing the concentration ability, this mental
scattering is left behind.
When a Noble Friend is leaving ignorance behind, this is development of the
understanding ability.
When a Noble Friend is developing the understanding ability, this blind not
knowing is left behind.
The five abilities are being developed in these 10 aspects.
The
five abilities
have been thus
developed, thus fully developed in 10 aspects:
Because sceptical doubt has been fully left, the faith ability
has been fully developed.
Because the faith ability has been fully developed, non-faith has
been fully left.
Because laziness has been fully left, the energy ability has been fully
developed.
Because the energy ability has been fully developed, idleness has been fully
left.
Because negligence has been fully left, the awareness ability has been fully
developed.
Because the awareness ability has been fully developed, non-attention has
been fully left.
Because distraction has been fully left, the concentration ability has been
fully developed.
Because the concentration ability has been fully developed, mental scatter
has been fully left.
Because ignorance has been fully left, the understanding ability has been
fully developed.
Because the understanding ability has been fully developed, ignorance has
been fully left.
The five abilities have been developed, completely developed in these 10
aspects.

The
five abilities
have been fully
tranquillized in these four aspects:
At the path-moment of stream-entry, the five abilities are being
developed.
At the fruition-moment of stream-entry, they have been fully developed,
and fully tranquillized.
At the path-moment of once-return, the five abilities are being
developed.
At the fruition-moment of once-return, they have been fully developed,
and fully tranquillized.
At the path-moment non-return, the five abilities are being
developed.
At the fruition-moment of non-return, they have been fully developed,
and fully tranquillized.
At the path-moment of Arahatship, the five abilities are being
developed.
At the fruition-moment of Arahatship, they have been fully developed,
and fully tranquillized.
So there are four purifications in the
4 path moments, and four purifications in the
4 fruitions,
four purifications in the cuttings off,
and four purifications in the tranquillizations.
The five abilities have been fully developed and also fully
tranquillized, in these 4 aspects.
There is development of the abilities in
these 8 kinds of persons:
In what eight kind of persons is there development of the abilities?
In the 7 initiators
and in the Magnanimous Ordinary Man, is there development
of the abilities.
In what three kinds of persons have the abilities been completely developed?
In a Perfect One's disciple (a hearer) with the mental fermentations all
eliminated, who has been
enlightened as a disciple by hearing it from a Teacher, have the abilities
been completely developed.
In One who has reached enlightenment without declaring it, (Solitary Buddha)
in the sense of being
self-enlightened, without a teacher, have the abilities been completely
developed.
In a Perfect One, accomplished and fully self-enlightened, in the sense of being
immeasurable, infinite,
have the abilities been completely developed. There is development of the
abilities in these 8 kind
of persons. The
5 mental abilities have been completely developed in these three kinds
of persons...

Ven.
Sāriputta Thera
and
Ven.
Mahā Moggallāna
Thera
Source: Ven. Sariputta in: The Path of Discrimination:
Patidasambhidamagga:
https://store.pariyatti.org/Path-of-Discrimination-2nd-Edition_p_2126.html
For further Study of the 5 Mental
Abilities, which become the 5 Powers:
https://What-Buddha-Said.net/drops/III/Five_Abilities_Summary.htm