What I do is create a character called Macros. On the Abilities tab of the character sheet I create most of my macros which also include api commands I use. I then create a macro for each api command I need plus macros I use for DMing. Then I create a GM Macros that will open up a chat menu for all the macros I use.
This is a 5e OGL character sheet macro I use.
/w gm &{template:npcaction} {{rname=GM Macros}} {{description=[Group Save](~Macros|Group-Save)
[Invisibility](~Macros|Invisibility)
[PC Perception](~Macros|PC-Perception)
[Rolled-NPC-HP](~Macros|Rolled-NPC-HP)
[StatBlock](~Macros|Stat-Block)
[Conditions](~Macros|Conditions)
[Treasure Generator](~Macros|Treasure-Generator)
[MapSizer](~Macros|MapSizer)
[Lights & Visions](~Macros|Lights-Visions)
[Calendar](~Macros|Calendar-Menu)
[XP Calculator](~Macros|XP-#Enemies)}}
[Name of Button](~CharacterSheetName|AbilityMacroName)
This is what is output into the chat window.