Warlock
Base Class: Warlock

Archivist's Expertise: Starting at 1st Level, your Patron provides you with insight into vast reserves of information. You may add your Charisma modifier to any Intelligence skill check. If you spend at least one hour communing with The Library or are at a place of learning or research, you gain advantage on such checks. 

A Soldier and A Scholar: Starting at 6th Level, when you hit a creature with a weapon attack or your Eldritch Blast, you can choose to you as a bonus action to discern whether they have any damage resistances/immunities OR condition immunities. You can only have knowledge of one creature at a time. Once you use this feature, you must finish a short or long rest before you can use it again

A Honed Mind: Starting at 10th Level, you gain resistance to psychic damage and are immune to being charmed or frightened. 

The Librarian's Cloister- Starting at 14th Level, you provide supernatural protection to your party. By performing a special ritual over the course of 5 minutes, you shift yourself and up to ten willing creatures you can see a sequestered section of the Library. You and those creatures gain the benefits of a short rest while in the Library. You then return to the spaces you all occupied when you used this ability, with no time having passed in the world. Alternatively, you can use this to have a long rest within the confines of a short rest. During this short rest, you and the creatures you sequester can make use of any options available during a rest that affect only you and the creatures you sequester.Once you use this ability, you cannot use it again until you complete a long rest.

Archivist's Expertise

Starting at 1st Level, your Patron provides you with insight into vast reserves of information. You may add your Charisma modifier to any Intelligence skill check. If you spend at least one hour communing with The Library or are at a place of learning or research, you gain advantage on such checks.

A Soldier and A Scholar

A Soldier and A Scholar: Starting at 6th Level, when you hit a creature with a weapon attack or your Eldritch Blast, you can choose to you as a bonus action to discern whether they have any damage resistances/immunities OR condition immunities. You can only have knowledge of one creature at a time. Once you use this feature, you must finish a short or long rest before you can use it again

A Honed Mind

A Honed Mind: Starting at 10th Level, you gain resistance to psychic damage and are immune to being charmed or frightened.

The Librarian's Cloister

The Librarian's Cloister- Starting at 14th Level, you provide supernatural protection to your party. By performing a special ritual over the course of 5 minutes, you shift yourself and up to ten willing creatures you can see a sequestered section of the Library. You and those creatures gain the benefits of a short rest while in the Library. You then return to the spaces you all occupied when you used this ability, with no time having passed in the world. Alternatively, you can use this to have a long rest within the confines of a short rest. During this short rest, you and the creatures you sequester can make use of any options available during a rest that affect only you and the creatures you sequester.Once you use this ability, you cannot use it again until you complete a long rest.

Expanded Spell list

You will see..