Grid + Clique and Well of existence/refreshment

Simplify the following macro to your needs: