Mining yellowstone for its geothermal power in order to prevent a volcanic eruption would be a Kardashev Scale Type I accomplishment.
In other words, such a thing is completely infeasible given our current understanding of science and technology.
The time required to develop such a capability would span so many lifetimes that is it effectively science fiction.