Write the shared helper toolkit (first 3 functions) · 1x1labs.ai