I've been using this since the beginning of 2022, it's an AutoHotkey script to switch between 4 brush modes based on the permutation of 2 CSP pressure sensitivity settings:
Mode
Brush Density pressure
Color Mixing Pressure
Glaze/Soft
On
Off
Thick Paint
Off
On
Hard
Off
Off
Thin Paint
On
On
Recently I added a visualizer for me to recognize which mode I'm currently using at a glance with my peripheral vision. Looks pretty basic but get the job done.
AutoHotkey is really useful but because I'm not a coder, I had to look at the documentations, examples and took people's code all the time.
Some other scripts that I use at a lesser frequency
Disable Ctrl+Z for some practice session.
Pin a window to be always on top (although recently replaced by PowerToys)
Picking color from Krita's Advanced Color Selector.
Note taking: Quick Capture in Obsidian
I once got pretty ambitious and made an AHK script to change Density/Opacity/Hardness by dragging, similar to the Ctrl+Alt+Drag to change brush size in SAI and CSP
It worked but the performance and reliability were unusable.