oracle
Invoke a powerful reasoning model for complex analysis tasks. Use when facing difficult bugs, reviewing critical code, designing complex refactors, needing architectural analysis, or seeking consensus on decisions. Also use for 'ask the oracle', 'get a second opinion', 'consult oracle', or 'deep analysis'.
Best use case
oracle is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Invoke a powerful reasoning model for complex analysis tasks. Use when facing difficult bugs, reviewing critical code, designing complex refactors, needing architectural analysis, or seeking consensus on decisions. Also use for 'ask the oracle', 'get a second opinion', 'consult oracle', or 'deep analysis'.
Teams using oracle should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/oracle-trancong12102/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How oracle Compares
| Feature / Agent | oracle | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Invoke a powerful reasoning model for complex analysis tasks. Use when facing difficult bugs, reviewing critical code, designing complex refactors, needing architectural analysis, or seeking consensus on decisions. Also use for 'ask the oracle', 'get a second opinion', 'consult oracle', or 'deep analysis'.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
# Oracle - Second Opinion Model Invokes OpenAI's GPT-5.2 extra high reasoning model via CLI for complex analysis tasks. It excels at debugging, code review, architecture analysis, and finding better solutions. **Prerequisite:** Codex CLI installed and authenticated (`codex login`). **Trade-offs:** Slower and more expensive than the main agent, but significantly better at complex reasoning. Use deliberately, not for every task. ## Invocation Use `codex exec --profile oracle` to run the reasoning model: ```bash codex exec --profile oracle "Review @src/auth/jwt.ts for security vulnerabilities" ``` ### Examples ```bash # Security review codex exec --profile oracle "Review @src/auth/jwt.ts for security vulnerabilities. Provide specific fixes." # Debugging codex exec --profile oracle "Find why memory leak in @src/DataFetcher.tsx. Component doesn't clean up on unmount." # Architecture analysis codex exec --profile oracle "Analyze how @src/services/payment.ts and @src/services/order.ts interact. Propose refactoring plan." # Complex bug investigation codex exec --profile oracle "Bug: Users see stale data after updates. Check @src/cache/invalidation.ts for race conditions." ``` ## Prompting for Reasoning Models Reasoning models work differently from completion models. Follow these guidelines: **Keep prompts simple and direct:** - State the goal clearly without excessive context - Let the model explore and discover relevant information - Avoid step-by-step instructions - the model reasons on its own **Focus on WHAT, not HOW:** - Bad: "First read the file, then analyze each function, then check for..." - Good: "Review this code for security vulnerabilities" **Use `@` syntax for file references:** - Include relevant files directly: `@src/auth/login.ts` - The model will read and understand the code **Be specific about expected output:** - "Provide specific fixes" > "Is this correct?" - "List all race conditions" > "Are there any bugs?" ## Example Prompts ### Security Review ```text Review @src/auth/jwt.ts for security vulnerabilities. Provide specific fixes for any issues found. ``` ### Debugging ```text Find why the memory leak occurs in @src/components/DataFetcher.tsx. The component fetches data but doesn't clean up on unmount. ``` ### Architecture Analysis ```text Analyze how @src/services/payment.ts and @src/services/order.ts interact. Propose a refactoring plan that maintains backward compatibility. ``` ### Complex Bug Investigation ```text Bug: Users intermittently see stale data after updates. Related files: @src/api/update.ts @src/cache/invalidation.ts @src/hooks/useData.ts Identify race conditions or cache invalidation issues and provide a fix. ``` ## Workflow Think step-by-step: 1. **Gather context first**: Identify relevant files and the specific problem 2. **Formulate a focused prompt**: Include file references with `@`, state the goal directly 3. **Invoke the oracle**: Run `codex exec --profile oracle "prompt"` 4. **Continue if needed**: Use `codex exec resume SESSION_ID "follow-up"` to refine analysis 5. **Act on the analysis**: Implement recommendations from the oracle's response ## Continuing Conversations Use `codex exec resume SESSION_ID` to continue until satisfied. The session ID is returned from the initial invocation. ```bash # Initial analysis (returns session ID) codex exec --profile oracle "Review @src/auth/jwt.ts for security vulnerabilities" # Output includes: Session ID: abc123... # Continue with follow-up questions using the session ID codex exec resume abc123 "Also check for timing attacks in the token validation" # Keep refining with the same session codex exec resume abc123 "What about the refresh token rotation logic?" ``` | Argument | Description | | -------- | ----------- | | `SESSION_ID` | Session ID returned from the initial invocation | | `PROMPT` | Follow-up instruction to send after resuming | ## Rules - Use the oracle for complex problems that require deep reasoning - Keep prompts focused - one problem per invocation - Include file references with `@` syntax for relevant code - Request specific, actionable output - Chain with main agent: oracle for analysis, main agent for implementation - Oracle is read-only; use the main agent to implement changes
Related Skills
sports-oracle
Sports data for prediction market trading. Get live scores, team stats, schedules, and injury reports for NFL, NBA, MLB, NHL.
oracle-sentinel
Autonomous AI agent for Polymarket prediction intelligence. Real-time prices, deep news research, whale trade alerts, dual-model AI analysis.
Oracle IP Intelligence
AI-powered intellectual property analysis patterns for enterprise innovation protection
Oracle Agent Spec Expert
Design framework-agnostic AI agents using Oracle's Open Agent Specification for portable, interoperable agentic systems with JSON/YAML definitions
ask-oracle
This skill should be used when solving hard questions, complex architectural problems, or debugging issues that benefit from GPT-5 Pro or GPT-5.1 thinking models with large file context. Use when standard Claude analysis needs deeper reasoning or extended context windows.
bgo
Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.
ai-product-evaluation-design
Transition from traditional PRDs to "Evals" (evaluations) to guide AI model behavior. Use this skill when launching new AI features, debugging unpredictable model outputs, or moving from a prompted prototype to a production-ready agent.
ai-npc-dialogue-designer
Design AI-powered immersive NPC systems for escape room games using proven actor techniques from Korean immersive escape rooms (Danpyeonsun, Ledasquare). Implements adaptive dialogue, emotional simulation, player profiling, and trust dynamics using Gemini/GPT-4. Creates character profiles with lying probabilities, improvisational responses, and cost-optimized streaming. Use for murder mystery NPCs, suspect interrogation, or dynamic character interactions.
ai-native-product-building
Rapidly build, prototype, and deploy full-stack software using AI "text-to-app" tools. Use this when you need to create a greenfield application, build a high-fidelity working prototype for user testing, or bypass traditional engineering bottlenecks for internal tools.
ai-interaction-patterns
AI-specific interaction design patterns covering wayfinding, prompt UX, human-in-the-loop controls, trust & transparency, AI identity, and context management. Based on Shape of AI (shapeof.ai). Use when asking about 'AI UX', 'AI interaction', 'prompt UX', 'AI trust', 'AI disclosure', 'AI avatar', 'AI personality', 'AI memory UX', 'action plan UX', 'stream of thought', 'AI citations', 'AI controls', 'AI wayfinding', 'AI suggestions', 'gallery pattern', 'follow-up pattern', 'draft mode', 'AI variations', 'AI consent', 'AI caveat', 'human-in-the-loop', 'AI transparency', 'AI state', 'prompt design', 'AI onboarding', or 'generative UI'.
ai-insights-and-ux-copy
AI-powered insights, UX copywriting standards, and user experience guidelines for vehicle insurance platform. Use when designing insight panels, writing user-facing copy, implementing status messages, creating onboarding flows, or improving accessibility. Covers tone standards, interactive patterns, error messages, and empty states.
ai-file-analyzer
Analyze Adobe Illustrator (.ai) files to extract design information including text content, fonts, color palettes, vector paths, and generate high-resolution preview images. Use when analyzing logo files, design assets, or any Adobe Illustrator documents that need programmatic inspection.