Add leader

From MillenniumDawn/Millennium-Dawn · View interactive version

Add leader is an AI agent skill from the GitHub repository MillenniumDawn/Millennium-Dawn. Scaffold generals, field marshals, and admirals for a country using the MD count formulas and region skill ranges, writing character and recruit_character entries. Use when asked to add leaders, generals, or admirals for a TAG, e.g. "/add-leader NIG".

How to use this skill

Skill file

Syntax: /add-leader [TAG]

Read docs/src/content/resources/new-general-guidelines.md first. Count formulas,

skill ranges, and portrait sizes are in .claude/docs/content-guidelines.md.

1. Gather country data

2. Counts and skills

when more are needed and use retire_character when fewer.

exceed it.

defense_skill, planning_skill, logistics_skill, and maneuvering_skill, each at

least 1.

3. Character file

Append to or create common/characters/TAG.txt:

characters = {

	TAG_general_firstname_lastname = {
		name = "Firstname Lastname"
		portraits = {
			army = {
				large = "GFX_portrait_TAG_firstname_lastname_large"
				small = "GFX_portrait_TAG_firstname_lastname_small"
			}
		}
		field_marshal = {           # or general = { }
			traits = { trait_name }
			skill = X
			attack_skill = N
			defense_skill = N
			planning_skill = N
			logistics_skill = N
			maneuvering_skill = N
			legacy_id = -1
		}
		advisor = {                 # optional, for high command and branch chiefs
			slot = army_chief       # or high_command, navy_chief, air_chief
			idea_token = TAG_general_firstname_lastname
			ledger = army           # only for the high_command slot
			allowed = { original_tag = TAG }
			traits = { army_chief_of_defence_1 }
			cost = 100
			ai_will_do = { factor = 1 }
		}
	}

}

4. Recruit entries

In history/countries/TAG*.txt, under the right bookmark:

recruit_character = TAG_general_firstname_lastname
retire_character = TAG_general_firstname_lastname   # 2017, when the count drops

5. Report

General, field marshal, and admiral counts with the formula breakdown, each character's

skill and traits, the files changed, and the portraits still needed.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.