The use of bifunctional ligands with phenol and pyridyl groups has been found to promote the formation of lithium cubane clusters intrinsically coded with specific preference for various hydrogen-bonding geometries including tetrahedral, square-planar, and linear modes through double, or even quadruple hydrogen bonding between adjacent nodes.