Skip to content

fix(agents): add YAML frontmatter to AGENTS.md#80

Open
JasonOA888 wants to merge 1 commit intohuggingface:mainfrom
JasonOA888:fix/issue-79-agents-yaml-frontmatter
Open

fix(agents): add YAML frontmatter to AGENTS.md#80
JasonOA888 wants to merge 1 commit intohuggingface:mainfrom
JasonOA888:fix/issue-79-agents-yaml-frontmatter

Conversation

@JasonOA888
Copy link
Copy Markdown

Fixes #79

Problem

gemini-cli extensions install fails with:

Invalid agent definition: Missing mandatory YAML frontmatter.
Agent Markdown files MUST start with YAML frontmatter enclosed
in triple-dashes "---" (e.g., ---\nname: my-agent\n---).

Fix

Added required YAML frontmatter:

---
name: huggingface-skills
description: Hugging Face Agent Skills - specialized instructions and domain-specific knowledge for AI agents
---

Impact

  • ✅ gemini-cli can now successfully install huggingface-skills extension
  • ✅ AGENTS.md is now valid agent definition format
  • ✅ No functional changes to skills content

Fixes huggingface#79

Problem: gemini-cli extensions install fails with error:
'Invalid agent definition: Missing mandatory YAML frontmatter.
Agent Markdown files MUST start with YAML frontmatter enclosed
in triple-dashes.'

Fix: Added required YAML frontmatter:
---
name: huggingface-skills
description: Hugging Face Agent Skills
---

Impact: gemini-cli can now successfully install huggingface-skills extension.
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.

Failures during install.

1 participant