GM-AG-003: Unknown Gemini Agent Frontmatter Key
Summary
- Rule ID:
GM-AG-003 - Severity:
HIGH - Category:
Gemini Agents - Normative Level:
MUST - Auto-Fix:
No - Verified On:
2026-10-17
Applicability
- Tool:
gemini-cli - Version Range:
unspecified - Spec Revision:
unspecified
Evidence Sources
- https://raw.githubusercontent.com/google-gemini/gemini-cli/main/packages/core/src/agents/agentLoader.ts
- https://geminicli.com/docs/core/subagents
Test Coverage Metadata
- Unit tests:
true - Fixture tests:
true - E2E tests:
false
Examples
The following examples demonstrate what triggers this rule and how to fix it.
Invalid
---
name: spanner-agent
description: Queries Spanner
tools: [read_file]
system_prompt: You are a Spanner agent.
---
Valid
---
name: spanner-agent
description: Queries Spanner
tools: [read_file]
---
You are a Spanner agent.