Reference. A comonad for Grothendieck fibrations [emmenegger-mesiti-rosolini-streicher-2023]

We study the 2-category theory of Grothendieck fibrations in the 2-category of functors \mathbf {Cat}^{\to }. After redrawing a few general results in that context, we show that fibrations over a given base are pseudo-coalgebras for a 2-comonad on {\mathbf {Cat}}_{/B}. We use that result to explain how an arbitrary fibration is equivalent to one with a splitting.