Leaders — your ruler, scientists, admirals and governors — carry traits that shape what they're good at. The add_trait_leader command lets you hand any leader any trait instantly. It needs two things: the leader's ID and the trait's ID. First, open the command console (~).
The add_trait_leader command
The syntax is add_trait_leader [leader id] [trait id]. For example, to give the leader with ID 1 the Adaptionist trait:
Full syntax and more examples live on the add_trait_leader command page.
Finding leader and trait IDs
- Leader ID — run
debugtooltipand hover over the leader to read their ID. See how to find IDs for the full method. - Trait ID — every leader trait ID (they start with
leader_trait_) is on the Stellaris leader traits list.
Removing a trait
To take a trait away again, remove_trait_leader uses the exact same arguments:
Tips
- Leaders have a limited number of trait slots; adding past the cap can behave oddly, so remove an existing trait first if needed.
- To change a species' innate traits instead, see how to add species traits.
- Cheats disable achievements for the session and don't work in Ironman.
Frequently asked questions
How do you add a trait to a leader in Stellaris?
Use add_trait_leader followed by the leader ID and the trait ID, e.g. add_trait_leader 1 leader_trait_adaptable. Find leader IDs by turning on debugtooltip.
How do you find a leader's ID?
Run debugtooltip in the console, then hover over the leader — their numeric leader ID shows in the tooltip.
Can you remove a leader trait?
Yes. remove_trait_leader uses the same arguments, e.g. remove_trait_leader 1 leader_trait_adaptable.