The core skill missing from literature and history is curration, how do you grow, prune and organize a collection of books to meet the needs of the community.
Then you've got maintenance, repair and handling of the books themselves which is super important if you're working with rare items.
Finally, most librarians are basically running a community centre filled with children, and you have all the skills and safeguarding concerns that go along with that.