How to make a bone picker panel?

I do a rig and I want him to have a panel in the left tools

On this panel there will have to be buttons with the name of the bones to which they correspond
A bit like here:

If someone will have a script that I can copy and then match my bones and duplicate the line

Will already be super

Alos if somebody have a script or can tell me how to make a ik/fk snapping that would be great because I search since a while