Villager Inventory Viewer
This mod adds two small features relating to Villager inventories - a GUI so you can see what they're carrying and add and remove items, and an option to let them drop their inventory items when they die.
View and Edit Villager's Inventories!
Right-click on a villager while holding shift (or a configurable key of your choice) to open a GUI to see what they're carrying, and to add and remove items to and from their inventory and yours.
Kill Them and Get Their Stuff!
With this mod, when a villager is killed by a player, they'll drop their inventory contents as items into the world.
Both these features can be enabled or disabled using an in-game configuration menu.
For more information, please visit the Minecraft Forum thread: