With Cryptomatte Tools addon there is no need to manually pick objects in Compositor and it is possible to pick objects or materials even if they are not visible in current frame. The addon also keeps track of objects and materials in Cryptomatte nodes, and if you change object/material name, it will automatically update the Cryptomatte ID in all Cryptomatte nodes where it is used. It also offers automatic update of Render Result even if the Compositor is not open when adding or removing objects/materials from the active Cryptomatte node. And it is possible to append all objects from the active Cryptomatte node to selection (if selection is empty, it is a quick and easy way to see what objects are chosen in the Cryptomatte node).
Please watch the video to see it in action and how to use it.
The addon works with Cycles and Eevee (Cryptomatte for Eevee requires Blender 2.92 or newer).
If you are looking to automate things, Cryptomatte Tools implements Python API to get Cryptomatte IDs, add them to Cryptomatte nodes and do many other useful things (this video does not demonstrate Python API).