LOL!
Code:
layer(r,g,"fast").layer(b,"add",85).rgbadjust(3,3,3,1)
this was my first attempt when writing this script.
the only difference was that I used
levels(0,1,85,0,255) instead of
rgbadjust(3,3,3,1).
But your solution has the same problem: quantisation reduction by 3! you'll end up with only 85 greyscale-steps out of 255 possible.
That's, why I am using a invertion with levels and then the subtract-function. I never had artifacts using it this way. But a pure
add(clip,clip) - function would be much better