Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

oracle-geminiOracle Gemini 搜索

Agent Skill

oracle-gemini 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

218

周安装

9

GitHub Stars

公开资料未说明

下载量

71
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:oracle-gemini(Oracle Gemini 搜索)
来源仓库:https://github.com/paulrberg/dot-claude
仓库路径:skills/oracle-gemini
安装命令:
npx skills add paulrberg/dot-claude --skill "oracle-gemini"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add paulrberg/dot-claude --skill "oracle-gemini"

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于研究检索类任务,支持多宿主环境集成,可结合来源仓库进一步核验具体用法。
  • 通过 npx skills add paulrberg/dot-claude --skill "oracle-gemini" 命令安装。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Gemini Oracle

Use Google Gemini CLI as a planning oracle and code reviewer. Gemini provides analysis and recommendations; Claude synthesizes and presents to the user.

Critical: This skill is for planning and review ONLY. Never use Gemini to implement changes.

Prerequisites

Before invoking Gemini, validate availability:

~/.claude/skills/oracle-gemini/scripts/check-gemini.sh

If the script exits non-zero, display the error message and stop. Do not proceed without Gemini CLI.

Configuration Defaults

SettingDefaultUser Override
Modelgemini-2.5-pro"use flash"
Sandbox--sandboxNot overridable (safety)
Timeout5 minutes minimumBased on complexity
Outputtext"use json output"

Timeout Guidelines

When invoking gemini via the Bash tool, always set an appropriate timeout:

  • Minimum: 5 minutes (300000ms) for any Gemini operation
  • Simple queries (single file review, focused question): 5 minutes (300000ms)
  • Moderate complexity (multi-file review, feature planning): 10 minutes (600000ms)
  • High complexity (architecture analysis, large codebase planning): 15 minutes (900000ms)

Model Selection

Choose model based on task requirements:

ModelBest ForSpeed
gemini-2.5-proComplex analysis, architecture, comprehensive reviewSlower
gemini-2.5-flashQuick feedback, single-file review, rapid iterationFastest

Selection heuristics:

  • gemini-2.5-pro: Task involves multiple files, requires deep analysis, or architectural thinking
  • gemini-2.5-flash: Simple queries, single file review, or when speed is prioritized

For detailed model capabilities, consult references/gemini-flags.md.

Workflow

1. Validate Prerequisites

Run the check script. On failure, report the installation instructions and abort.

2. Determine Mode

  • Planning mode: User wants architecture, implementation approach, or design decisions
  • Review mode: User wants code analysis, bug detection, or improvement suggestions

3. Construct Prompt

Build a focused prompt for Gemini based on mode:

Planning prompt template:

Analyze this codebase and provide a detailed implementation plan for: [user request]

Focus on:
- Architecture decisions and trade-offs
- Files to create or modify
- Implementation sequence
- Potential risks or blockers

Do NOT implement anything. Provide analysis and recommendations only.

Review prompt template:

Review the following code for:
- Bugs and logic errors
- Security vulnerabilities
- Performance issues
- Code quality and maintainability
- Adherence to best practices

[code or file paths]

Provide specific, actionable feedback with file locations and line references.

4. Select Model and Execute Gemini

Before executing, assess task complexity to select appropriate model:

  1. Count files involved in the query
  2. Evaluate scope (single module vs cross-cutting)
  3. Consider depth (surface review vs architectural analysis)

Use positional prompt syntax (Gemini CLI does NOT support HEREDOC/stdin). Always use the Bash tool's timeout parameter (minimum 300000ms / 5 minutes).

For short prompts, pass directly as a positional argument:

# Short prompt - direct positional argument
gemini -m gemini-2.5-pro --sandbox -o text "Your prompt here" 2>/dev/null

For long prompts, write to a temp file first, then use command substitution:

# Step 1: Generate unique temp file paths and write prompt
GEMINI_PROMPT="/tmp/gemini-${RANDOM}${RANDOM}.txt"
GEMINI_OUTPUT="/tmp/gemini-${RANDOM}${RANDOM}.txt"
cat > "$GEMINI_PROMPT" <<'EOF'
[constructed prompt with code context]
EOF

# Step 2: Execute Gemini with prompt from file
# Bash tool timeout: 300000-900000ms based on complexity
gemini \
  -m "${MODEL:-gemini-2.5-pro}" \
  --sandbox \
  -o text \
  "$(cat "$GEMINI_PROMPT")" \
  2>/dev/null > "$GEMINI_OUTPUT"

Important flags:

  • -m: Model selection (gemini-2.5-pro or gemini-2.5-flash)
  • --sandbox: Prevents any file modifications (non-negotiable)
  • -o text: Plain text output (use json if user requests structured output)
  • 2>/dev/null: Suppresses error messages and stderr noise

Bash tool timeout: Estimate based on task complexity (see Timeout Guidelines above). Never use the default 2-minute timeout for Gemini operations.

5. Present Gemini Output

Read the analysis from the temp file and display to the user with clear attribution:

cat "$GEMINI_OUTPUT"

Format the output with clear attribution:

## Gemini Analysis

[Gemini output from /tmp/gemini-analysis.txt]

---
Model: gemini-2.5-pro

For very large outputs (>5000 lines), summarize key sections rather than displaying everything.

6. Synthesize and Plan

After presenting Gemini output:

  1. Synthesize key insights from Gemini analysis
  2. Identify actionable items and critical decisions
  3. If Gemini's analysis presents multiple viable approaches or significant trade-offs, consider using AskUserQuestion to clarify user preferences before finalizing the plan
  4. Write a structured plan to ~/.claude/plans/[plan-name].md
  5. Call ExitPlanMode to present the plan for user approval

When to use AskUserQuestion:

  • Gemini proposes multiple architectures with different trade-offs
  • Technology or library choices need user input
  • Scope decisions (minimal vs comprehensive) are ambiguous

Skip clarification when:

  • Gemini's recommendations are clear and unambiguous
  • User's original request already specified preferences
  • Only one viable approach exists

Error Handling

ErrorResponse
Gemini not installedShow installation instructions from check script
Gemini timeoutInform user, suggest simpler query or use flash model
API rate limitWait and retry, or inform user of limit
Empty responseRetry once, then report failure

Usage Examples

Planning Request

User: "Ask Gemini to plan how to add authentication to this app"

  1. Validate Gemini CLI available
  2. Gather relevant codebase context
  3. Assess complexity → auth spans multiple modules → use gemini-2.5-pro
  4. Construct planning prompt with auth requirements
  5. Execute Gemini with gemini-2.5-pro model
  6. Present Gemini's architecture recommendations
  7. Synthesize into Claude plan format
  8. Write to ~/.claude/plans/ and call ExitPlanMode

Code Review Request

User: "Have Gemini review the changes in src/auth/"

  1. Validate Gemini CLI available
  2. Read files in src/auth/ directory
  3. Assess complexity → single directory, focused review → use gemini-2.5-flash for speed
  4. Construct review prompt with file contents
  5. Execute Gemini review
  6. Present findings with file/line references
  7. Summarize critical issues and recommendations

Model Override Request

User: "Ask Gemini with flash model to review this function"

  1. Validate Gemini CLI available
  2. Read the target function
  3. User explicitly requested flash model → use gemini-2.5-flash
  4. Construct focused review prompt
  5. Execute Gemini with flash model
  6. Present quick feedback

Additional Resources

Reference Files

  • references/gemini-flags.md - Complete model and flag documentation

Scripts

  • scripts/check-gemini.sh - Prerequisite validation (run before any Gemini command)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

trae

63.92%
按下载量换算45

Claude Code

31.13%
按下载量换算22

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills