oracle

oracle

This skill should be used when the user asks to 'ask the oracle', 'use the oracle', 'get a second opinion', 'consult oracle', 'deep analysis', or when facing difficult bugs, reviewing critical code, designing complex refactors, or needing architectural analysis. Invokes a powerful reasoning model via Codex MCP for complex analysis tasks.

3Sterne
0Forks
Aktualisiert 1/21/2026
SKILL.md
readonlyread-only
name
oracle
description

"This skill should be used when the user asks to 'ask the oracle', 'use the oracle', 'get a second opinion', 'consult oracle', 'deep analysis', or when facing difficult bugs, reviewing critical code, designing complex refactors, or needing architectural analysis. Invokes a powerful reasoning model via Codex MCP for complex analysis tasks."

Oracle - Second Opinion Model

Overview

The oracle invokes a powerful reasoning model (OpenAI's gpt-5.2) via Codex MCP, optimized for complex analysis tasks. It excels at debugging, code review, architecture analysis, and finding better solutions.

Trade-offs: Slower and more expensive than the main agent, but significantly better at complex reasoning. Use deliberately, not for every task.

When to Use

Good use cases:

  • Debugging complex or elusive bugs
  • Reviewing critical code changes for correctness
  • Analyzing architecture and suggesting improvements
  • Refactoring planning with backward compatibility
  • Finding better solutions to hard problems
  • Verifying logic hasn't changed after modifications
  • Understanding complex codebases or algorithms

Poor use cases (use main agent instead):

  • Simple edits or typo fixes
  • Straightforward feature implementation
  • File operations and basic searches
  • Tasks where speed matters more than depth

Codex Instructions

Prefix every prompt with these instructions to enable Codex's full capabilities:

Instructions: You have access to powerful tools to help with analysis. Read additional files from the codebase as needed to understand context. Use web search to look up documentation, best practices, or solutions when helpful. Proactively use these tools to provide thorough, well-informed analysis.

Invocation Pattern

mcp__codex__codex with:
  prompt: |
    Instructions: You have access to powerful tools to help with analysis. Read additional files from the codebase as needed to understand context. Use web search to look up documentation, best practices, or solutions when helpful. Proactively use these tools to provide thorough, well-informed analysis.

    <task with optional @file references>
  profile: "oracle"

Use @ syntax to include specific files directly in prompts (e.g., @src/auth/login.ts).

Example Prompts

Code Review

Review @src/auth/jwt.ts for security vulnerabilities.
Provide specific fixes for any issues found.

Debugging

Analyze @src/components/DataFetcher.tsx to find why the memory leak occurs.
The component fetches data but doesn't clean up properly on unmount.

Architecture Analysis

Analyze how @src/services/payment.ts and @src/services/order.ts interact.
Propose a refactoring plan that maintains backward compatibility.

Complex Bug Investigation

Bug: Users intermittently see stale data after updates.
Related files: @src/api/update.ts @src/cache/invalidation.ts @src/hooks/useData.ts

1. Trace the data flow through these files
2. Identify race conditions or cache invalidation issues
3. Provide a fix with explanation

Workflow

  1. Gather context first: Identify relevant files and the specific problem
  2. Formulate a focused prompt: Include file references with @
  3. Invoke the oracle: Use Codex MCP with appropriate sandbox settings
  4. Act on the analysis: Implement recommendations from the oracle's response

Best Practices

  • Use @ syntax for files: Include relevant files directly in the prompt
  • Provide full context: Include error messages, reproduction steps, and constraints
  • Ask specific questions: "Does this handle null edge cases?" beats "Is this correct?"
  • Request actionable output: Ask for specific recommendations, not just analysis
  • Chain with main agent: Use oracle for analysis, main agent for implementation

Integration Reference

Parameter Description Default
prompt The analysis request (required). Use @file syntax -
profile Configuration profile from config.toml oracle
cwd Working directory for the session Current directory

For continued conversations, use mcp__codex__codex-reply with the threadId from the initial response.

You Might Also Like

Related Skills

summarize

summarize

179Kresearch

Summarize or extract text/transcripts from URLs, podcasts, and local files (great fallback for “transcribe this YouTube/video”).

openclaw avataropenclaw
Holen
prompt-lookup

prompt-lookup

143Kresearch

Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.

skill-lookup

skill-lookup

143Kresearch

Activates when the user asks about Agent Skills, wants to find reusable AI capabilities, needs to install skills, or mentions skills for Claude. Use for discovering, retrieving, and installing skills.

sherpa-onnx-tts

sherpa-onnx-tts

88Kresearch

Local text-to-speech via sherpa-onnx (offline, no cloud)

moltbot avatarmoltbot
Holen
openai-whisper

openai-whisper

87Kresearch

Local speech-to-text with the Whisper CLI (no API key).

moltbot avatarmoltbot
Holen
seo-review

seo-review

66Kresearch

Perform a focused SEO audit on JavaScript concept pages to maximize search visibility, featured snippet optimization, and ranking potential

leonardomso avatarleonardomso
Holen