From ad914e7ef7c9a893640661e1b3c9be4280aeb9cb Mon Sep 17 00:00:00 2001 From: Wendy Smoak Date: Sat, 21 Feb 2026 08:33:22 -0500 Subject: [PATCH] use description from metadata in custom agent launcher --- tools/cli/installers/lib/ide/codex.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/cli/installers/lib/ide/codex.js b/tools/cli/installers/lib/ide/codex.js index 9339ecfbf..abee979fd 100644 --- a/tools/cli/installers/lib/ide/codex.js +++ b/tools/cli/installers/lib/ide/codex.js @@ -411,7 +411,8 @@ class CodexSetup extends BaseIdeSetup { const skillDir = path.join(destDir, skillName); await fs.ensureDir(skillDir); - const fm = yaml.stringify({ name: skillName, description: `${agentName} agent` }).trimEnd(); + const description = metadata?.description || `${agentName} agent`; + const fm = yaml.stringify({ name: skillName, description }).trimEnd(); const skillContent = `---\n${fm}\n---\n` + "\nYou must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.\n" +