gemini-commands
Installation
SKILL.md
Gemini Custom Slash Commands Skill
Overview
Gemini Custom Slash Commands allow you to extend the Gemini CLI with your own reusable workflows. These commands are
defined in .toml files and can execute complex prompts, run shell commands, and read file contents.
Key Features
- Prompt Reuse: Save frequently used prompts as commands.
- Context Injection: Use
{{args}}to pass user input into specific parts of the prompt. - Shell Execution: Run shell commands with
!{cmd}and inject their output. - File Content: Read and inject file contents with
@{path}. - User or Project Scope: Define commands globally or per-project.
File Structure
Commands are defined in TOML files located in: