Is the Gibbs energy of a system equal to the potential energy of a system? The answers to this and this questions seem contradictory. Also, this does not seem to tell that Gibbs energy is equal to the potential energy. By potential energy, I mean the Electric potential energy between the atoms, electrons and nuclei.(I'm not considering other potentials due to nuclear forces or gravitational forces.)
If Gibbs energy is not potential energy, then what is the physical significance or physical interpretation of Gibbs energy at the molecular level? I know that Gibbs energy is equal to the maximum non-expansion work that can be extracted. I just want to know what does that mean at the molecular level.