To my surprise though, as I got more and more general the rates I could demand got lower and lower, even though I had all these successful projects and good references etc. I finally picked up on the fact that the only companies who would consider a generalist either didn’t know what they were doing, or couldn’t afford an expert in the specific skills they needed.
Decided to specialize in something in-demand, and life got a lot easier.