Gemini CLI Learning
Learn to configure and optimize Gemini CLI
Topics
1. GEMINI.md Configuration
The context file that provides instructions to Gemini:
# Project Context
## Overview
This project uses Next.js 14 with App Router.
## Coding Standards
- Use TypeScript
- Follow ESLint rules
- Use Prettier for formatting
## Architecture
[Describe your architecture here]
2. Extensions
Install and manage extensions:
# Install from GitHub
gemini extensions install username/extension-name
# List installed
gemini extensions list
# Update all
gemini extensions update
3. Hooks
Customize Gemini CLI behavior:
{
"hooks": {
"SessionStart": [...],
"BeforeAgent": [...],
"BeforeTool": [...],
"AfterTool": [...]
}
}
4. Agent Skills
Create custom skills:
---
name: my-skill
description: Does something useful
license: Apache-2.0
---
# My Skill
Instructions for the skill...
5. MCP Servers
Connect to external services:
{
"mcpServers": {
"github": {
"command": "docker",
"args": ["run", "ghcr.io/github/github-mcp-server"]
}
}
}
Commands
# Learn about specific topic
/gemini-cli-learning hooks
# Setup new project
/gemini-cli-learning setup
# Get help
/gemini-cli-learning help
Resources
Converted and distributed by TomeVault — claim your Tome and manage your conversions.