The Crimson Binome
Hero
If you notice, the HD are always greater than the caster level (or effective class level). That's because Hit Dice (as a pseudo-equivalent for level) aren't a thing anymore. Instead, they just tell you how many Hit Points something has. An acolyte has 2d8 Hit Dice - about 9 Hit Points - and casts spells like a level 1 Cleric.Acolyte: 2 HD, 1st level caster. Has one too many HD.
Assassin: 12 HD, but sneak attack of a 7th level rogue. Has two attacks.
Cult Fantatic: 6 HD, 4th level caster.
Druid: 5 HD, 4th level caster. No wild shape.
Spy: 6 HD, SA of a 3rd level rogue.
Do you know what kind of PC also has about 9 Hit Points, and casts spells like a level 1 Cleric?
NPC abilities are simplified mechanics for representing the same underlying reality for which PCs have complex mechanics. It's a presentation issue.