Skip to content
oracle logo

Oracle (CLI) — best use

oracle

Use the @steipete/oracle CLI to bundle a prompt plus the right files and get a second-model review (API or browser) for debugging, refactors, design checks, or cross-validation.

SKILL.md

Full skill instructions

Oracle (CLI) — best use

Oracle bundles your prompt + selected files into one "one-shot" request so another model can answer with real repo context (API or browser automation). Treat outputs as advisory: verify against the codebase + tests.

Recommended Modes (in order of preference)

Option 1: Gemini Browser Mode (RECOMMENDED)

Most reliable browser mode. Uses cookie-based HTTP client (no Chrome automation needed).

# Pre-authorize Keychain first (one-time, enter password and click "Always Allow")
security find-generic-password -s "Chrome Safe Storage" -w

# Run with Gemini
oracle --engine browser --model gemini-3-pro -p "<task>" --file "src/​**"

Requirements: Logged into gemini.google.com in Chrome. Close Chrome before first run.

Option 2: ChatGPT Manual Paste

ChatGPT browser automation is unreliable (DevTools connection issues, session token problems). Use --render --copy instead:

# Bundle and copy to clipboard
oracle --render --copy -p "<task>" --file "src/​**"

Then manually paste into ChatGPT. This bypasses all browser automation issues.

Option 3: API Mode

Requires API keys but most reliable for programmatic use:

# Set API keys
export OPENAI_API_KEY="your-key"      # For GPT-5.x
export GEMINI_API_KEY="your-key"      # For Gemini
export ANTHROPIC_API_KEY="your-key"   # For Claude

# Run with API
oracle --engine api --model gpt-5.2-pro -p "<task>" --file "src/​**"
oracle --engine api --model gemini-3-pro -p "<task>" --file "src/​**"
oracle --engine api --model claude-4.5-sonnet -p "<task>" --file "src/​**"

Note: API runs require explicit user consent due to usage costs.

Quick Reference

ModelModeCommand
Gemini 3 ProBrowseroracle --engine browser --model gemini-3-pro -p "..." --file "..."
GPT-5.2 ProManualoracle --render --copy -p "..." --file "..." → paste in ChatGPT
Any modelAPIoracle --engine api --model <model> -p "..." --file "..."

Commands

# Preview (no tokens spent)
oracle --dry-run summary -p "<task>" --file "src/​**"

# Token/​cost check
oracle --dry-run summary --files-report -p "<task>" --file "src/​**"

# Gemini browser (recommended)
oracle --engine browser --model gemini-3-pro -p "<task>" --file "src/​**"

# Manual paste for ChatGPT
oracle --render --copy -p "<task>" --file "src/​**"

# API mode
oracle --engine api -p "<task>" --file "src/​**"

Attaching files (--file)

--file accepts files, directories, and globs. Pass multiple times; comma-separated also works.

Include:

--file "src/​**"           # directory glob
--file src/​index.ts       # literal file
--file docs --file README.md

Exclude (prefix with negation):

--file "src/​**" --file '!src/​**/​*.test.ts' --file '!**/​*.snap'

Defaults:

  • Ignores: node_modules, dist, coverage, .git, .turbo, .next, build, tmp
  • Honors .gitignore
  • Files > 1 MB rejected

Budget

  • Target: keep total input under ~196k tokens
  • Use --files-report to spot token hogs

Sessions

Sessions stored under ~/​.oracle/​sessions. If a run detaches:

oracle status --hours 72        # List sessions
oracle session <id> --render    # Reattach

Use --slug "<3-5 words>" for readable session IDs.

Prompt Tips

Oracle starts with zero project knowledge. Include:

  • Project briefing (stack, build/​test commands)
  • Key directories and entrypoints
  • Exact error text (verbatim)
  • Constraints ("don't change X", "must keep public API")
  • Desired output format

Safety

  • Don't attach secrets (.env, credentials, auth tokens)
  • Prefer minimal context: fewer files + better prompt beats whole-repo dumps

Troubleshooting

macOS Keychain blocks Gemini browser mode

Symptom: Failed to read macOS Keychain (Chrome Safe Storage): Timed out after 3000ms

Fix: Pre-authorize Keychain:

security find-generic-password -s "Chrome Safe Storage" -w
# Enter password, click "Always Allow"

Chrome cookies not found (Gemini)

Symptom: missing __Secure-1PSID/​__Secure-1PSIDTS

Fixes:

  1. Log into gemini.google.com in Chrome
  2. Close Chrome completely before running Oracle
  3. Specify profile path if using multiple profiles:
    oracle --engine browser --model gemini-3-pro \
      --browser-cookie-path ~/​Library/​Application\ Support/​Google/​Chrome/​Profile\ 2/​Cookies \
      -p "..." --file "..."
    

ChatGPT browser mode not working

Symptom: Cannot GET /​json/​list, Inspected target navigated or closed, DevTools errors

Cause: ChatGPT browser automation uses Chrome DevTools Protocol which is unreliable. It launches a new Chrome instance with a temp profile, and session tokens often don't transfer properly.

Solution: Don't use ChatGPT browser mode. Use one of:

  1. --render --copy then manually paste into ChatGPT
  2. API mode with OPENAI_API_KEY
  3. Gemini browser mode instead

More skills from diegosouzapw

accessibility logo
diegosouzapw/awesome-omni-skill

accessibility

Accessibility guidelines for VS Code features — covers accessibility help dialogs, accessible views, verbosity settings, accessibility signals, ARIA alerts/status announcements, keyboard navigation, and ARIA labels/roles. Applies to both new interactive UI surfaces and updates to existing feature...

62 1
View
mermaid-diagrams logo
diegosouzapw/awesome-omni-skill

mermaid-diagrams

Mermaid diagram creation for flowcharts, sequences, ERDs, and more. Generate diagrams from text in markdown files. Use for documentation, architecture diagrams, and visual representations. Triggers on mermaid, flowchart, sequence diagram, ERD, entity relationship, gantt chart, pie chart, class di...

62 1
View
tauri2-react-rust logo
diegosouzapw/awesome-omni-skill

tauri2-react-rust

Guides development of cross-platform desktop apps with Tauri 2, TypeScript, React, and Rust. Use when building Tauri apps, implementing IPC, designing Rust backend or TypeScript/React frontend, when researching or cloning a website (open site, snapshot elements), when verifying local dev or built...

62 1
View
fp-ts-errors logo
diegosouzapw/awesome-omni-skill

fp-ts-errors

Handle errors as values using fp-ts Either and TaskEither for cleaner, more predictable TypeScript code. Use when implementing error handling patterns with fp-ts.

62 0
View
ring:pre-dev-research logo
diegosouzapw/awesome-omni-skill

ring:pre-dev-research

Gate 0 research phase for pre-dev workflow. Dispatches 3 parallel research agents to gather codebase patterns, external best practices, and framework documentation BEFORE creating PRD/TRD. Outputs research.md with file:line references.

62 0
View
create-assistant logo
diegosouzapw/awesome-omni-skill

create-assistant

Create and configure Vapi voice AI assistants with models, voices, transcribers, tools, hooks, and advanced settings. Use when building voice agents, phone bots, customer support assistants, or any conversational AI that handles phone or web calls.

62 0
View
codex-headless logo
diegosouzapw/awesome-omni-skill

codex-headless

Delegiere Aufgaben an OpenAI Codex CLI im Headless-Mode. Nutzt ChatGPT Subscription (KEIN API Key). Nur Workspace-Zugriff, KEIN System-Zugriff. Auto-Accept mit --full-auto. Web-Recherche mit --search.

62 0
View
social-media-scheduler logo
diegosouzapw/awesome-omni-skill

social-media-scheduler

Generate a full week of social media content for any topic. Outputs platform-optimized posts for Twitter/X, LinkedIn, and Instagram with hashtags and posting times.

62 0
View
Data Privacy Compliance logo
diegosouzapw/awesome-omni-skill

Data Privacy Compliance

Data privacy and regulatory compliance specialist for GDPR, CCPA, HIPAA, and international data protection laws. Use when implementing privacy controls, conducting data protection impact assessments, ensuring regulatory compliance, or managing data subject rights. Expert in consent management, da...

62 0
View
triple-review logo
diegosouzapw/awesome-omni-skill

triple-review

Reviews a task using the TRIPLE protocol, as the review agent.

62 0
View
Tech Stack & Architecture Decision logo
diegosouzapw/awesome-omni-skill

Tech Stack & Architecture Decision

Define and document the technology stack and architecture decisions for a project. Use when the user needs to choose a tech stack, make architecture decisions, define infrastructure choices, or document technology selections. Triggers on requests like "define the tech stack", "choose technologies...

62 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View