» Fri Jun 01, 2012 5:04 am
Open the console, click on NPC. You'll see their ID number displayed in the middle of the screen. Type, for example, "getavinfo twohanded" to see their skill level with two handed weapons. This works for every attribute, here's a list: http://www.uesp.net/wiki/Tes5Mod:Actor_Value_Indices
Of course, if you're not playing on PC, then no, there's no way to see NPC attributes.