Reminds me of getting the shanks back in 2020. It is a truly wild and uncomfortable feeling to be standing over a ball with the shanks and not being able to feel the difference between a swing that will flush it vs one that will endanger other people around you.
I felt like my putting went to shit a couple years ago. It was not on the level of what I'd call the yips, just that my total putts and three putts per round spiked to the point where I was dreading the thought of anything outside of 25 feet. I realized my issue was poor lag putting leaving myself too many 5+ footers instead of 2-3 footers, and statistically, this is a flaw that will wreak silent havoc on your scores over the long haul. Since then I have made the following three adjustments (one equipment, one practice, and one swing thought) and have noticed dramatic improvement:
1) I switched to a lighter putter with a smaller grip. I had been using a heavy tank of a putter with an equally heavy jumbo grip. It practically swung itself and I "felt" super confident that I could get my ball started on line which gave me a chance on every putt inside 10 feet. However, this cost me dearly in speed control, which is critical on any putt that starts outside the hole, no matter how long it is. Everything else about the putter (shape, offset/neck, alignment marking) stayed the same. I didn't go crazy getting all wristy with a pop stroke, but I just wanted the distance to be more about the feel of hitting the ball instead of a mechanical thought about how far back I should take the putter or whatever.
2) My putting practice and putting warmup before a round is almost entirely focused on putts inside 5 feet. In practice sessions I will do the circle or compass drill at 3-5 feet almost exclusively. Before a round I will stroke a couple random long putts uphill and downhill to gauge the speed and rollout of the greens, but aside from that I am hitting nothing but 2, 3, 4 and 5 footers. I probably look like a psycho practicing nothing but short putts before a round, but it's a great way to build confidence over a shot you're going to have on pretty much every hole, and confidence extends to the 6-8 foot range, as well. Missing short ones on the course, whether it's for birdie, par, or bogey, will fuck with your head and ruin your round. Getting good enough at these to be truly confident in making them is a game changer. Furthermore, having confidence that I am going to put a good stroke on the ball frees me up to focus my brain on the speed and break of a putt. I didn't develop this confidence because I never miss these putts. I certainly do. Rather, the confidence comes from having made a ton of them in practice.
3) The only think I think about when making a stroke is keeping my eyes focused intently on a single small point like a dot or dimple on my ball. I usually mark my ball with a dot and place it so the dot is facing up towards the rear of the ball, near where my putter will make contact with it but visible from above, or if I haven't marked my ball I will pick a specific dimple or a part of the logo in that area and basically just try to stare a hole through it while putting. I have tried looking at the front edge of the hole on short straight putts, and that works as well. I have even tried closing my eyes just before pulling the trigger. Each of those methods is significantly better than just looking at the ball generally because if I do not focus on a single point my eyes will wander, I will invariably watch my putter on the backswing and instantly I am thinking about whether or not I took it back inside, outside, square, closed, whatever, and it is at that point that I am truly fucked. This has worked so well that I have started doing it on full swings. With my driver I like to pick a dimple towards the rear and inside of the ball to promote a good inside-out slightly upwards path. On irons I stare at a spot at the very front of the ball to promote a downward strike. Looking at the front or back of the ball may be bullshit, but what's key for me is that I am fixed on a specific spot. This keeps my eyes from wandering and I think the level of effort it takes to maintain this simple focus helps keep my mind from wandering to some random other swing thought that is likely to flutter into my head at the top of my backswing.
I wouldn't necessarily recommend (1) or (3) above to everyone, but I will go to bat for the universal benefit of (2). I think the real value in these and other potential fixes lies in trying to simplify the mental and physical component of the game. If not focusing on a dimple or getting more feel/less robotic in your stroke, find some other small thing like a preshot routine or a particular set up/grip feel that you can just drill in practice and crush on the course, because thinking about the yips isn't going to help at all.