NFPA 77 does not specify a minimum conductor size for normal static electricity dissipation and control, only a maximum resistance of 1 megohm (1,000,000 ohms). NFPA 33 (spray painting) also specifies a maximum of 1 megohm for bonding and grounding. Virtually any metal wire you can buy will be satisfactory, but in practice most people select the conductor size based on resisting physical damage. A 1/16" SS stranded cable is typical, especially where flexing may be involved as in the examples you cited. The method of attachment requires consideration, especially when it will be repeatedly removed and replaced. Static electricity typically generates 10,000's of volts but only microamperes of current. A 500 volt megohm meter is the preferred instrument for measuring resistance for these types of applications.
Actually, in most instances the 1 megohm resistance is pretty conservative and 100 megohms is pretty much a dead short circuit for static. Some commonly available "conductive" paint/air hoses are more than 1 megohm total resistance, depending on length and resistivity, but may be entirely satisfactory.