Skip to content

Gemini CLI Formatter

PropertyValue
TierCustom
Main outputGEMINI.md
Dot directory.gemini/
SkillsYes (.gemini/skills/<name>/skill.md)
AgentsNo
CommandsYes (.gemini/commands/<name>.toml)
Local filesNo

Output Files

FilePathPurpose
Main instructionsGEMINI.mdPrimary rule file
Lifecycle hooks.gemini/settings.jsonProject hooks in multifile and full modes
Skills.gemini/skills/<name>/skill.mdReusable skill definitions in multifile and full modes
Commands.gemini/commands/<name>.tomlSlash commands
MCP servers.gemini/mcp_config.jsonMCP server config in multifile and full modes

Supported Features

FeatureSupported
Markdown OutputYes
MDC FormatNo
Code BlocksYes
Mermaid DiagramsYes
Single File OutputYes
Multiple Rule FilesYes
Workflow FilesNo
Nested Directory StructureNo
YAML FrontmatterYes
Description in FrontmatterYes
Globs in FrontmatterNo
Activation TypeNo
Glob Pattern TargetingNo
Always Apply RulesYes
Manual ActivationNo
Auto/Model ActivationNo
Structured ExamplesYes
Character Limit ValidationNo
Content Section SplittingYes
Guard DependenciesYes
Context File InclusionNo
@-MentionsNo
Tool IntegrationNo
Path-Specific RulesNo
Prompt FilesNo
Slash CommandsYes
SkillsYes
Agent InstructionsNo
Local MemoryNo
Nested MemoryPlanned

Limitations & Quirks

  • Main file is GEMINI.md at project root
  • Commands use TOML format (.gemini/commands/<name>.toml), not markdown
  • Skills use lowercase skill.md (not SKILL.md) at .agents/skills/<name>/skill.md
  • Does not support agents
  • Three output modes: simple, multifile, full

Example Output

project-root/
├── GEMINI.md # Main instructions
├── .gemini/
│ └── commands/
│ └── review.toml # Command (TOML format)
└── .agents/
└── skills/
└── my-skill/
└── skill.md # Skill definition

Official Documentation