If the compressor clutch is disengaging repeatedly, it might be happening due to some electrical fault.
To diagnose, either get a clamp meter to record the current flow to the compressor clutch or get a simple multimeter/voltmeter to measure voltage right on top of the compressor, attach one probe with the metallic chasis or comoressor's body and second one to the nearest connector supplying power to the compressor.
Please ensure to take these readings as close to the conpressor as possible.
Check what happens to voltage when then comoressor disengages unexpectedly.
If the connector is absent on the wire supplying power to the compressor and wires are splice jointed, open the joint clean all the wire strands, scrub them to remove all the residue from insulation tape or other oily substance. Make a fresh joint and see if it makes any difference.
If you are getting proper voltage at this point then trace back the circuit and check the relay inside the fuse box.
If you can provide the electrical connection diagram of your car's AC, we will be able to guide you in a better way.