Hermann von Helmholtz introduced freie Energie in 1882, showing that is the maximum work extractable from a system in contact with a heat bath at fixed temperature. Josiah Willard Gibbs, in his 1873–1878 monograph On the Equilibrium of Heterogeneous Substances, independently built the same machinery for the constant- case, introducing the potential that now bears his name.
Gibbs’s monograph — published in three instalments in the obscure Transactions of the Connecticut Academy of Arts and Sciences — laid out essentially the entire modern thermodynamics of phase equilibria: the chemical potential, the phase rule, and the analysis of multiphase systems. It was so far ahead of its time that it went largely unread for two decades, until Wilhelm Ostwald translated it into German in 1892.
The Clausius–Clapeyron relation predates both: Émile Clapeyron wrote it in 1834, and Clausius gave it a clean derivation in 1850 — the historical bridge between the empirical observation of latent heat and the modern thermodynamic potentials.
Read the original: On the Equilibrium of Heterogeneous Substances (J. Willard Gibbs, 1876)