-- Something I once read somewhere. I can't say I've followed its advice, but I also can't say I've observed it to be false.
I do not envy the indispensible employee.
I think that for some people that would have been a trade off they'd be happy to make (and in many ways it was attractive), I think if I'd got on with the people I worked with I might still be there.
There's always, always a company out there's who will be willing to give you 5-10% extra, if only to screw up with their competition by taking their indispensable people.
A few weeks later she got an offer at a new company and quit.
If a place is so incompetent that they foster such people, they deserve to get taken for a ride.
Some companies probably don't know which employees are irreplaceable (lower level managers might, but that might not mean much [e.g. stack ranking environment]). Even worse, there are tons of employees that don't realize, track or display their value.
It's not enough to be irreplaceable.
I think of a job I quit a while ago: I was getting all the credit in the world, as I had been hired by the rare competent manager. The department had a non-public document rating each employee and contractor, and their idea of how likely they were to leave. I got to take a peek at it, and any technical employee could use it to easily identify the bad managers, if just because their team's scores were all wrong: Terrible, toxic employees being rated as great and at risk of fleeing because they behaved like Linus. Good people that were actively looking for other jobs seen as under average but with no risk of leaving... completely wrong.
In the last 15 years I have seen plenty of good and bad developers, but, for the most part, there is little disagreements among the technical staff about each other's competence. If kept in a purely technical role, a bad employee can produce nothing. Bad managers, however, are often seen as successes by their own managers, and end up killing teams and companies.
We (his co-workers) all knew it, we were asking him questions all day. Our manager had a vague idea he was good, but that was it.
The system doesn't always reward the best performers...it doesn't even know who they are (that's why performance management is a multi-billion dollar industry).
Reading your comment, it brought back to mind: employee value isn't a linear scale, from "bad" to "good". What they contribute is complex.
To me, that complexity is what makes it difficult for the system to find and reward the right people. That's what make it easy for employee value to get lost in the numbers, in exhaustion, in time crunches and stack rankings.