Skip to content

YAML parsing error on *.agent.md files #893

@bcull

Description

@bcull

While trying to install agents after cloning repository locally, none of the agents were available and logs showed that there was a YAML parsing error when trying to read the *.agent.md (analyst.agent.md, etc.) files.
Error log:

C:\Users\Bryce.copilot\agents\analyst.agent.md: failed to parse front matter: Unexpected scalar at node end at line 4, column 308:
…manager/', 'cognitionai/deepwiki/', 'context7/', 'perplexity/', 'serena/*']
                                                                           ^

I think the yaml parser cannot read this type of array used in the tools section for these agent.md files. This is format they are all currently following:

tools: ['shell', 'read', 'edit', 'search', 'cloudmcp-manager/*', 'serena/*']

By changing this to a hyphen-bulleted array, I was able to install the agents fine. Like this:

tools:
  - shell
  - read
  - edit
  - search
  - cloudmcp-manager/*
  - serena/*

Windows 11 / IDE: Copilot on VSCode & Powershell

Metadata

Metadata

Labels

agent-analystResearch and investigation agentarea-installationInstallation scriptsarea-promptsAgent prompts and templatesbugSomething isn't workingpriority:P0Critical: Blocks core functionality, security vulnerability, or data loss

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions