Works on the same principle as a tamed animal, only difference is that this one will attack anything in range of them that a village member attacks that the guard belongs too.
i figure that there should be a limit of guards depending on the overall size of the village claim.
for creation i think it could be adapted by the cheiften set of commands to call new ones forth from the village idol, and send them back the same way.
you would move the guards around like you would any tamed animal , only they would stay where you release them.
i figure for a cost the guards with each use up a specific amount of village points per hour(like a representation of wages).
i also had an idea that the guards would be equipped with whatever armor and weapons the chieften who summons them is wearing, and the better the armor and weapon the greater the initial cost.
for stats, such as unarmed and melee.( i dont think hat ranged guards is a good idea, really hard to code) i figure they would be the same as the chieftens.
for combat menuvers a basic shield/charge/stab manuever would work just fine, in my opinion.
making it so that villages could be guarded by nothing more than a "commander" with a sling,and a few rocks(to initiate targets). And defence of ones village will be more routine. Also allowing villages to not have 90% of the population armed in case of invasion or raids.