Reads the per-list limits from merged agent-type prompt params. Anything but a number of at
least 1 is 0, which leaves the list whole: the default of -1 turns narrowing off.
When maxSkillsInPrompt is explicitly supplied as a number, it controls Skills independently;
when omitted (undefined), Skills falls back to maxActionsInPrompt.
Reads the per-list limits from merged agent-type prompt params. Anything but a number of at least 1 is
0, which leaves the list whole: the default of -1 turns narrowing off. WhenmaxSkillsInPromptis explicitly supplied as a number, it controlsSkillsindependently; when omitted (undefined),Skillsfalls back tomaxActionsInPrompt.