Skip to content

fix: add YAML frontmatter to AGENTS.md#123

Open
vominh1919 wants to merge 1 commit intohuggingface:mainfrom
vominh1919:fix/agents-md-frontmatter
Open

fix: add YAML frontmatter to AGENTS.md#123
vominh1919 wants to merge 1 commit intohuggingface:mainfrom
vominh1919:fix/agents-md-frontmatter

Conversation

@vominh1919
Copy link
Copy Markdown

Fixes #121

Add required YAML frontmatter (name and description fields) to agents/AGENTS.md to fix Gemini CLI ExtensionManager loading error: "Invalid agent definition: Missing mandatory YAML frontmatter".

This also addresses the issue described in #79 and proposed in #78 where users who manually patch their local AGENTS.md file have their fixes overwritten on gemini extensions update.

Changes

  • Added YAML frontmatter block with name and description fields at the top of agents/AGENTS.md

Add required YAML frontmatter (name and description fields) to agents/AGENTS.md
to fix Gemini CLI ExtensionManager loading error: 'Invalid agent definition:
Missing mandatory YAML frontmatter'.

Fixes huggingface#121
@evalstate
Copy link
Copy Markdown
Collaborator

I assume that Gemini ExtensionManager has first-class support for skills, therefore this AGENTS.md isn't actually required for it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Critical: AGENTS.md missing YAML frontmatter (Update overrides manual fixes)

2 participants