From 1b80e167f935f3facc984dbbebcc08ea9aa3e8c8 Mon Sep 17 00:00:00 2001 From: Dewain Robinson Date: Mon, 29 Jun 2026 03:45:45 +0200 Subject: [PATCH] fix: quote argument-hint values to prevent YAML array parsing The argument-hint field in clone-agent and detect-mode used unquoted square brackets, which YAML parses as an array instead of a string. This caused both skills to fail to load with: 'argument-hint must be a string' Wrapping the values in double quotes fixes the YAML type. Fixes #176 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- skills/clone-agent/SKILL.md | 2 +- skills/detect-mode/SKILL.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/skills/clone-agent/SKILL.md b/skills/clone-agent/SKILL.md index de60804..ad06a61 100644 --- a/skills/clone-agent/SKILL.md +++ b/skills/clone-agent/SKILL.md @@ -1,7 +1,7 @@ --- user-invocable: false description: Clone a Copilot Studio agent from the cloud. Guides through environment selection, agent selection, and downloads agent YAML files. -argument-hint: [agent name or environment hint] +argument-hint: "[agent name or environment hint]" allowed-tools: Bash(node *manage-agent.bundle.js *), Read, Glob, Grep context: fork agent: copilot-studio-manage diff --git a/skills/detect-mode/SKILL.md b/skills/detect-mode/SKILL.md index adb6903..4a21c57 100644 --- a/skills/detect-mode/SKILL.md +++ b/skills/detect-mode/SKILL.md @@ -1,7 +1,7 @@ --- user-invocable: false description: Detect a Copilot Studio agent's authentication mode (DirectLine vs M365) by querying Dataverse. Returns the mode and connection details needed to chat. -argument-hint: [--agent-dir ] +argument-hint: "[--agent-dir ]" allowed-tools: Bash(node *chat-with-agent.bundle.js --detect-only *), Read, Glob agent: copilot-studio-test ---