Agent skill

Gemini Chat

by majiayu000 in majiayu000/claude-skill-registry

Interactive chat workflows with Gemini CLI including context management, multimodal conversations, and session persistence.

MITAuto-check passedAgent Workflows

Install Gemini Chat

skills CLI
$ npx skills add majiayu000/claude-skill-registry --skill gemini-chat -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install majiayu000/claude-skill-registry gemini-chat --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/majiayu000/claude-skill-registry.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ai-llm/gemini-chat .claude/skills/gemini-chat && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gemini-chat
GitHub stars
666
Used in
1 other repo
Token cost
~2.8k tokens
SKILL.md length
189 words
Files
2
Skills in repo
1,273
Repo updated
First seen
Licence
MIT

At a glance

Interactive chat workflows with Gemini CLI including context management, multimodal conversations, and session persistence.

  • Works in 3 steps: Be Specific → Provide Context → Set Constraints
  • Extended AI conversations
  • SKILL.md covers Quick Start, YOLO Mode in Interactive…, Interactive Commands and Chat Workflows, plus 7 more sections
  • Calls gemini and git

What it does

Gemini Chat is an agent skill from majiayu000/claude-skill-registry. Interactive chat workflows with Gemini CLI including context management, multimodal conversations, and session persistence. Use for extended AI conversations, brainstorming, or collaborative problem-solving.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `metadata.json`).

It sits in Agent Workflows, covering Context engineering and Brainstorming. It works with Google Gemini. The repository describes itself as: Searchable Claude Code skills catalog with source-linked guides and generated registry artifacts. The licence is MIT.

When your agent uses it

  • Extended AI conversations
  • Collaborative problem-solving

Example prompts

  • “/gemini-chat”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Be Specific
  2. Provide Context
  3. Set Constraints

What it can do on your machine

Read from SKILL.md and the folder at commit 2d14a69. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gemini
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gemini Chat loads about 2.8k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 189 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from majiayu000/claude-skill-registry at commit 2d14a69, republished under its MIT licence (© majiayu000). 189 words, ~2,848 tokens.

Download SKILL.mdSave it as .claude/skills/gemini-chat/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
gemini-chat
description
Interactive chat workflows with Gemini CLI including context management, multimodal conversations, and session persistence. Use for extended AI conversations, brainstorming, or collaborative problem-solving.

Gemini Interactive Chat

Advanced interactive chat workflows with Gemini CLI, featuring context management, multimodal support, and session persistence.

Quick Start

bash
# Start interactive chat
gemini -i "Let's work on my project"

# Start with specific context
gemini --include-directories ./src -i "Help me refactor this code"

# Start with checkpointing and YOLO mode (toggle in session)
gemini --checkpointing -i "Complex multi-step task"

YOLO Mode in Interactive Sessions

YOLO mode can be toggled during interactive sessions for automated execution:

bash
# In interactive mode:
# Ctrl+Y              # Toggle YOLO mode on/off
# /yolo on            # Enable auto-approval
# /yolo off           # Disable auto-approval

# Start with YOLO already enabled (for automation)
gemini --yolo -i "Set up complete development environment automatically"

# Mixed mode workflow
gemini -i "Let's plan first, then execute with YOLO"
# Plan manually, then: Ctrl+Y to enable YOLO for execution

When to use YOLO in chat:

  • ✅ File operations (create, edit, organize)
  • ✅ Batch processing tasks
  • ✅ Project setup and configuration
  • ✅ Documentation generation
  • ❌ Complex system changes (review first)
  • ❌ Unknown/experimental commands

Interactive Commands

Essential Commands
bash
/help              # Show all available commands
/tools             # List available tools
/mcp               # Show MCP server status
/compress          # Compress conversation context
/copy              # Copy last response
/clear             # Clear screen and context
/checkpoint        # Save current state
/restore           # Restore previous state
/exit              # End session
Context Management
bash
# In chat, reference files
@./src/main.js     # Include file in context
@./docs/           # Include entire directory
@https://example.com  # Include web page

# Include images
@./diagram.png     # Add image to conversation
Ctrl+V             # Paste image from clipboard

# Context commands
/compress          # Summarize long conversation
/clear context     # Clear context, keep chat
/show context      # Display current context

Chat Workflows

Code Review Session
bash
#!/bin/bash
# Interactive code review

start_code_review() {
  local project_dir="${1:-.}"
  
  gemini \
    --include-directories "$project_dir/src" \
    --exclude-directories node_modules,.git \
    --checkpointing \
    -i "Let's do a code review. Start by giving me an overview of the codebase structure."
}

# Usage
start_code_review ./my-project
Brainstorming Session
bash
#!/bin/bash
# Creative brainstorming with saves

brainstorm_session() {
  local topic="$1"
  local session_name="brainstorm-$(date +%Y%m%d-%H%M%S)"
  
  # Create session directory
  mkdir -p ~/.gemini/sessions/$session_name
  
  # Start session with logging
  gemini \
    --checkpointing \
    --log ~/.gemini/sessions/$session_name/chat.log \
    -i "Let's brainstorm about: $topic
    
Please help me:
    1. Generate creative ideas
    2. Evaluate feasibility
    3. Identify challenges
    4. Suggest next steps"
  
  # Save final summary with YOLO
  gemini --yolo -p "Summarize our brainstorming session and create actionable next steps" \
    > ~/.gemini/sessions/$session_name/summary.md
  
  echo "Session saved to ~/.gemini/sessions/$session_name/"
}

# Automated brainstorming with YOLO
automated_brainstorm() {
  local topic="$1"
  local session_name="auto-brainstorm-$(date +%Y%m%d-%H%M%S)"
  
  mkdir -p ~/.gemini/sessions/$session_name
  
  # Fully automated brainstorming session
  gemini --yolo --checkpointing \
    -i "Automated brainstorming session for: $topic

Execute this workflow automatically:
1. Generate 10 creative ideas
2. Evaluate each for feasibility (1-10 scale)
3. Identify top 3 ideas with rationale
4. Create implementation roadmap for top idea
5. List potential challenges and solutions
6. Generate final summary document

Save all outputs to organized files."
}
Learning Session
bash
#!/bin/bash
# Interactive learning with examples

learn_with_gemini() {
  local subject="$1"
  
  gemini \
    --yolo \
    -i "I want to learn about $subject.
    
    Please:
    1. Start with fundamentals
    2. Provide examples
    3. Create exercises
    4. Check my understanding
    5. Suggest resources
    
    Let's begin!"
}

Advanced Features

Session Management
bash
#!/bin/bash
# Save and resume sessions

# Save session
save_session() {
  local name="${1:-session}"
  gemini checkpoint save "$name"
  echo "Session saved as: $name"
}

# List sessions
list_sessions() {
  gemini checkpoint list
}

# Resume session
resume_session() {
  local name="$1"
  gemini checkpoint restore "$name"
  gemini -i "Let's continue where we left off"
}

# Delete old sessions
cleanup_sessions() {
  local days_old="${1:-7}"
  find ~/.gemini/checkpoints -mtime +$days_old -delete
  echo "Cleaned up sessions older than $days_old days"
}
Multi-Modal Conversations
bash
#!/bin/bash
# Work with images and text

analyze_designs() {
  local design_dir="$1"
  
  gemini -i "Let's review UI designs"
  
  # In the chat:
  # @./designs/homepage.png
  # @./designs/dashboard.png
  # "Compare these designs and suggest improvements"
}

# Screenshot analysis
analyze_screenshot() {
  # Take screenshot (macOS)
  screencapture -i /tmp/screenshot.png
  
  # Or Linux
  # import /tmp/screenshot.png
  
  gemini -p "Analyze this screenshot: @/tmp/screenshot.png"
}
Context Optimization
bash
#!/bin/bash
# Manage context efficiently

optimized_chat() {
  local max_context="${1:-50000}"  # tokens
  
  # Monitor context size
  while true; do
    context_size=$(gemini context size)
    
    if [ $context_size -gt $max_context ]; then
      echo "Context limit approaching. Compressing..."
      gemini /compress
    fi
    
    # Continue chat
    gemini -i "Continue"
  done
}

# Selective context
focused_chat() {
  local focus_dir="$1"
  local task="$2"
  
  # Start with minimal context
  gemini \
    --include-directories "$focus_dir" \
    --max-depth 1 \
    -i "Focus only on: $task"
}

Prompt Engineering

Structured Prompts
bash
# Engineering prompt
gemini -i "You are a senior software engineer.

Context:
- Language: Python
- Framework: FastAPI
- Database: PostgreSQL

Task: Help me design a scalable API

Constraints:
- Must handle 10k requests/second
- Must have <100ms response time
- Must be maintainable

Let's start with the architecture."
Role-Based Sessions
bash
#!/bin/bash
# Different personas for different tasks

start_role_session() {
  local role="$1"
  
  case $role in
    architect)
      PROMPT="You are a solutions architect. Focus on system design, scalability, and best practices."
      ;;
    reviewer)
      PROMPT="You are a code reviewer. Focus on bugs, security issues, and code quality."
      ;;
    teacher)
      PROMPT="You are a patient teacher. Explain concepts simply with examples."
      ;;
    debugger)
      PROMPT="You are a debugging expert. Focus on finding and fixing issues systematically."
      ;;
    *)
      PROMPT="You are a helpful AI assistant."
      ;;
  esac
  
  gemini -i "$PROMPT
  
  How can I help you today?"
}

Automation Scripts

Daily Standup
bash
#!/bin/bash
# Automated daily standup

daily_standup() {
  local git_log=$(git log --oneline -5)
  local todos=$(cat TODO.md 2>/dev/null || echo "No TODO file")
  
  gemini -p "Based on recent commits and TODOs, generate a standup update:
  
  Recent commits:
  $git_log
  
  TODOs:
  $todos
  
  Format:
  - What I did yesterday
  - What I'm doing today
  - Any blockers"
}
Continuous Learning
bash
#!/bin/bash
# Learn from codebase changes

learn_from_changes() {
  local since="${1:-1 week ago}"
  
  # Get changes
  local changes=$(git diff --stat "@{$since}")
  local new_files=$(git ls-files --others --exclude-standard)
  
  gemini --yolo -i "Analyze these recent changes and teach me:
  
  Changes since $since:
  $changes
  
  New files:
  $new_files
  
  Please:
  1. Explain what was changed and why
  2. Identify patterns and best practices
  3. Suggest improvements
  4. Generate documentation for changes
  5. Create knowledge summary document
  6. Quiz me on the concepts"
}

# Automated development workflow session
auto_dev_workflow() {
  local task="$1"
  
  gemini --yolo --checkpointing -i "Automated development workflow: $task

Execute this complete development cycle:
1. Analyze current codebase and requirements
2. Create detailed implementation plan
3. Generate all necessary code files
4. Write comprehensive tests
5. Create documentation
6. Set up CI/CD integration
7. Generate deployment scripts
8. Create progress report

Work autonomously and save all outputs."
}

Integration Patterns

Vim Integration
vim
" .vimrc
" Send selection to Gemini
vnoremap <leader>g :w !gemini -p "Explain this code: $(cat)"<CR>

" Get suggestions
nnoremap <leader>G :r !gemini -p "Improve this function: $(cat %:p)"<CR>

" Interactive help
nnoremap <leader>? :terminal gemini -i "Help with vim and %:t"<CR>
VS Code Integration
bash
# Connect Gemini to VS Code
gemini /ide install
gemini /ide enable

# Now Gemini can see your VS Code context
gemini -i "Help me with the file I have open in VS Code"
Tmux Workflow
bash
#!/bin/bash
# Split-screen coding with Gemini

gemini_tmux() {
  tmux new-session -d -s gemini-coding
  
  # Main coding pane
  tmux send-keys -t gemini-coding "vim" C-m
  
  # Gemini chat pane
  tmux split-window -h -t gemini-coding
  tmux send-keys -t gemini-coding "gemini -i 'Help me code'" C-m
  
  # File tree pane
  tmux split-window -v -t gemini-coding
  tmux send-keys -t gemini-coding "watch -n 2 'tree -L 2'" C-m
  
  # Attach to session
  tmux attach -t gemini-coding
}

Best Practices

Effective Prompting
  1. Be Specific

    bash
    # Bad
    "Help me with code"
    
    # Good
    "Help me refactor this authentication module to use JWT tokens"
  2. Provide Context

    bash
    # Include relevant files
    gemini --include-directories ./src/auth,./tests/auth
  3. Set Constraints

    bash
    "Explain in simple terms, with examples, max 100 lines"
Session Hygiene
  1. Regular Compression

    bash
    # Compress every 30 minutes
    /compress
  2. Save Important Sessions

    bash
    /checkpoint
  3. Clear Irrelevant Context

    bash
    /clear context

Troubleshooting

Common Issues
  1. Slow Responses

    • Compress context: /compress
    • Use faster model: gemini -m gemini-2.5-flash
    • Reduce included directories
  2. Lost Context

    • Check checkpoints: /restore
    • Review history: ~/.gemini/history
  3. Tool Errors

    • Check available tools: /tools
    • Verify permissions: ls -la
  • gemini-cli: Main Gemini CLI integration
  • gemini-auth: Authentication management
  • gemini-tools: Tool execution workflows
  • gemini-mcp: MCP server management

© majiayu000, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/ai-llm/gemini-chat of majiayu000/claude-skill-registry.

  • SKILL.md
  • metadata.json

Open the folder on GitHubat commit 2d14a69

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in majiayu000/claude-skill-registry, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Gemini Chat next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gemini Chat compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gemini Chat this skillmajiayu000/claude-skill-registry6661 repos~2.8kAutomated safety check: PassMIT
Planning with FilesOthmanAdi/planning-with-files27k—~2.9kAutomated safety check: PassMIT
Geminidavila7/claude-code-templates32k4 repos~2.5kAutomated safety check: PassMIT
Gemini Video Understandingeinverne/dotfiles1211 repos~2.6kAutomated safety check: NotesMIT
Brainstormingxpinjection/test-driven-spring-boot11254 repos~2.6kAutomated safety check: PassMIT
Context Mode Output Sandboxmksglu/context-mode26k—~4.1kAutomated safety check: PassCustom licence

Similar skills

  • Planning with Files

    OthmanAdi/planning-with-files

    Keeps a task plan, findings and progress log in markdown files on disk so long agent tasks survive context resets, with Gemini hooks and helper scripts.

    27k GitHub stars~2.9k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Gemini

    davila7/claude-code-templates

    A skill your agent uses when the user asks to run Gemini CLI for code review, plan review, or big context (200k) processing.

    32k GitHub starsUsed in 4 repos~2.5k tokens
    DevelopmentAuto-check passed
  • Analyze videos using Google's Gemini API - describe content, answer questions, transcribe audio with visual descriptions, reference timestamps, clip videos, and process YouTube URLs.

    121 GitHub starsUsed in 1 repo~2.6k tokens
    AI & LLM EngineeringAuto-check: notes
  • Brainstorming

    xpinjection/test-driven-spring-boot

    You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior.

    112 GitHub starsUsed in 54 repos~2.6k tokens
    Agent WorkflowsAuto-check passed
  • Context Mode Output Sandbox

    mksglu/context-mode

    Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.

    26k GitHub stars~4.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Memori Long-Term Memory

    MemoriLabs/Memori

    Connects Claude Code to Memori Cloud for long-term memory, recalling stored context before substantive replies and saving new context afterward.

    17k GitHub stars~2k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check: notes

More from majiayu000/claude-skill-registry

All 1,273 skills in this repo
  • Deep Research

    majiayu000/claude-skill-registry

    Multi-source deep research using firecrawl and exa MCPs. An agent skill from majiayu000/claude-skill-registry.

    666 GitHub starsUsed in 6 repos~1.1k tokens
    Auto-check passed
  • Exa Search

    majiayu000/claude-skill-registry

    Neural search via Exa MCP for web, code, and company research.

    666 GitHub starsUsed in 5 repos~856 tokens
    Auto-check passed
  • Fal AI Media

    majiayu000/claude-skill-registry

    Unified media generation via fal.ai MCP — image, video, and audio.

    666 GitHub starsUsed in 5 repos~1.7k tokens
    Auto-check passed
  • Pyzotero

    majiayu000/claude-skill-registry

    Interact with Zotero reference management libraries using the pyzotero Python client.

    666 GitHub starsUsed in 5 repos~1.6k tokens
    Auto-check: notes
  • Bgpt Paper Search

    majiayu000/claude-skill-registry

    Search scientific papers and retrieve structured experimental data extracted from full-text studies via the BGPT MCP server.

    666 GitHub starsUsed in 4 repos~619 tokens
    Auto-check: notes
  • Bio Alignment Pairwise

    majiayu000/claude-skill-registry

    Perform pairwise sequence alignment using Biopython Bio.Align.PairwiseAligner.

    666 GitHub starsUsed in 4 repos~1.7k tokens
    Auto-check passed

Works with

Categories

Questions about Gemini Chat

What does Gemini Chat do?

Interactive chat workflows with Gemini CLI including context management, multimodal conversations, and session persistence. Gemini Chat is an agent skill from majiayu000/claude-skill-registry. Interactive chat workflows with Gemini CLI including context management, multimodal conversations, and session persistence.

When should I use Gemini Chat?

Gemini Chat fits situations like: extended AI conversations; collaborative problem-solving.

How do I install Gemini Chat in Claude Code?

Run `npx skills add majiayu000/claude-skill-registry --skill gemini-chat -a claude-code`. Or copy the skill folder (skills/ai-llm/gemini-chat in majiayu000/claude-skill-registry) into .claude/skills/gemini-chat in your project. Claude Code loads it when a task matches its description.

How do I install Gemini Chat in Codex?

Run `npx skills add majiayu000/claude-skill-registry --skill gemini-chat -a codex`. Or copy the skill folder (skills/ai-llm/gemini-chat in majiayu000/claude-skill-registry) into .agents/skills/gemini-chat in your project. Codex loads it when a task matches its description.

Can I use Gemini Chat in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add majiayu000/claude-skill-registry --skill gemini-chat -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gemini-chat, .gemini/skills/gemini-chat, .github/skills/gemini-chat and .opencode/skills/gemini-chat in your project.

What does Gemini Chat need to run?

Going by SKILL.md and its folder, Gemini Chat needs the command-line tools its instructions call (gemini and git). Our summary lists: Python 3.

Does Gemini Chat access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Gemini Chat safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gemini Chat use?

Gemini Chat is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gemini Chat use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gemini Chat?

Skills that share tags, products or a category with Gemini Chat: Planning with Files (OthmanAdi/planning-with-files, 27k stars), Gemini (davila7/claude-code-templates, 32k stars), Gemini Video Understanding (einverne/dotfiles, 121 stars) and Brainstorming (xpinjection/test-driven-spring-boot, 112 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gemini Chat?

majiayu000 (a GitHub user) maintains it in majiayu000/claude-skill-registry, which has 666 GitHub stars. The repository holds 1,273 skills in this directory. The repository was last updated on October 7, 2026.

Source: majiayu000/claude-skill-registry on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.