gemini
하는 일
이 스킬은 Gemini 명령줄 도구를 실행해 코드, 계획, 많은 파일 묶음을 검토합니다. 일반 채팅으로는 너무 큰 자료를 분석하거나, 다른 모델에게 작업을 한 번 더 검토받고 싶은 개발자를 위한 스킬입니다.
사용하는 경우
- ✓여러 파일에 걸친 코드 리뷰를 Gemini로 받고 싶을 때.
- ✓아키텍처 계획이나 명세서에 두 번째 검토가 필요할 때.
- ✓전체 문서 세트처럼 20만 토큰이 넘는 문맥을 다뤄야 할 때.
스킬 링크
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/gemini/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Gemini로 이 파일들의 변경 사항을 검토하고 위험한 로직이 있으면 짚어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 사용할 Gemini 모델을 먼저 묻고, 선택한 파일이나 프롬프트로 명령줄 도구를 실행합니다. 대화형 승인 창이 뜨면 백그라운드 실행이 멈출 수 있으므로, 자동 실행에는 비대화형 설정이나 시간 제한이 필요하다고 안내합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Gemini Skill Guide
When to Use Gemini
- WHEN ASKED TO BE ACTIVATED
- Code Review: Comprehensive code reviews across multiple files
- Plan Review: Analyzing architectural plans, technical specifications, or project roadmaps
- Big Context Processing: Tasks requiring >200k tokens of context (entire codebases, documentation sets)
- Multi-file Analysis: Understanding relationships and patterns across many files
⚠️ Critical: Background/Non-Interactive Mode Warning
NEVER use --approval-mode default in background or non-interactive shells (like Claude Code tool calls). It will hang indefinitely waiting for approval prompts that cannot be provided.
For automated/background reviews:
- ✅ Use
--approval-mode yolofor fully automated execution - ✅ OR wrap with timeout:
timeout 300 gemini ... - ❌ NEVER use
--approval-mode defaultwithout interactive terminal
Symptoms of hung Gemini:
- Process running 20+ minutes with 0% CPU usage
- No network activity
- Process state shows 'S' (sleeping)
Fix hung process:
# Check if hung
ps aux | grep gemini | grep -v grep
# Kill if necessary
pkill -9 -f "gemini.*gemini-3-pro-preview"
Running a Task
Ask the user (via
AskUserQuestion) which model to use in a single prompt. Available models:gemini-3-pro-preview⭐ (flagship model, best for coding & complex reasoning, 35% better at software engineering than 2.5 Pro)gemini-3-flash(sub-second latency, distilled from 3 Pro, best for speed-critical tasks)gemini-2.5-pro(legacy option, strong all-around performance)gemini-2.5-flash(legacy option, cost-efficient with thinking capabilities)gemini-2.5-flash-lite(legacy option, fastest processing)
Select the approval mode based on the task:
default: Prompt for approval (⚠️ ONLY for interactive terminal sessions)auto_edit: Auto-approve edit tools only (for code reviews with suggestions)yolo: Auto-approve all tools (✅ REQUIRED for background/automated tasks)
Assemble the command with appropriate options:
-m, --model <MODEL>- Model selection--approval-mode <default|auto_edit|yolo>- Control tool approval-y, --yolo- Alternative to--approval-mode yolo-i, --prompt-interactive "prompt"- Execute prompt and continue interactively--include-directories <DIR>- Additional directories to include in workspace-s, --sandbox- Run in sandbox mode for isolation
For background/automated tasks, ALWAYS use
--approval-mode yoloor add timeout wrapper. NEVER usedefaultin non-interactive shells.Run the command and capture the output. For background/automated mode:
# Recommended: Use yolo for background tasks gemini -m gemini-3-pro-preview --approval-mode yolo "Review this codebase for security issues" # Or with timeout (5 min limit) timeout 300 gemini -m gemini-3-pro-preview --approval-mode yolo "Review this codebase"For interactive sessions with an initial prompt:
gemini -m gemini-3-pro-preview -i "Review the authentication system" --approval-mode auto_editAfter Gemini completes, inform the user: "The Gemini analysis is complete. You can start a new Gemini session for follow-up analysis or continue exploring the findings."
Quick Reference
| Use case | Approval mode | Key flags |
|---|---|---|
| Background code review | yolo ✅ |
-m gemini-3-pro-preview --approval-mode yolo |
| Background analysis | yolo ✅ |
-m gemini-3-pro-preview --approval-mode yolo |
| Background with timeout | yolo ✅ |
timeout 300 gemini -m gemini-3-pro-preview --approval-mode yolo |
| Interactive code review | default |
-m gemini-3-pro-preview --approval-mode default (interactive terminal only) |
| Code review with auto-edits | auto_edit |
-m gemini-3-pro-preview --approval-mode auto_edit |
| Automated refactoring | yolo |
-m gemini-3-pro-preview --approval-mode yolo |
| Speed-critical background | yolo ✅ |
-m gemini-3-flash --approval-mode yolo |
| Cost-optimized background | yolo ✅ |
-m gemini-2.5-flash --approval-mode yolo |
| Multi-directory analysis | yolo (if background) |
--include-directories <DIR1> --include-directories <DIR2> |
| Interactive with prompt | auto_edit or default |
-i "prompt" --approval-mode <mode> |
Model Selection Guide
| Model | Best for | Context window | Key features | | --- | --- | ---
자주 묻는 질문
실행이 멈출 수 있는 이유는 무엇인가요?
기본 승인 모드는 입력을 기다리기 때문에, 시간 제한이나 자동 승인 설정이 없으면 백그라운드 실행이 멈출 수 있습니다.
큰 문맥 기능은 무엇에 쓰나요?
전체 코드베이스나 많은 문서처럼 매우 큰 자료를 분석할 때 사용합니다.
Gemini CLI를 설치해야 하나요?
네. 이 스킬은 Gemini 명령줄 도구를 실행하므로, 먼저 설치하고 설정해야 합니다.
상세 정보
작성자의 원본 설명
Use when the user asks to run Gemini CLI for code review, plan review, or big context (>200k) processing. Ideal for comprehensive analysis requiring large context windows. Uses Gemini 3 Pro by default for state-of-the-art reasoning and coding.
인기도
- GitHub 스타
- 33k
- 순위
- #8561
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
owasp-security
33k웹 앱, API, 모바일, 컨테이너, AI 에이전트를 위한 OWASP 보안 지침을 따르도록 해서, 흔한 약점을 찾고 수정안을 제안하게 합니다.
agent-management
33k에이전트가 AI Maestro 명령줄을 사용해 AI 에이전트를 만들고, 나열하고, 일시 정지하고, 깨우고, 이름을 바꾸고, 삭제하도록 돕습니다.
agent-messaging
33k에이전트가 Agent Messaging Protocol로 AI 에이전트 사이에 서명된 메시지를 보내고, 받고, 답하도록 돕습니다. 대부분 내 컴퓨터에서 작동합니다.
docs-search
33k에이전트가 자동 생성된 코드 문서에서 함수 시그니처, 클래스 정의, 주석을 검색하도록 해서, 코드를 바꾸기 전에 실제 API를 확인하게 합니다.