oracle
What it does
This skill helps the AI package a question together with selected files and send it to another, stronger AI model for a long, careful answer. It is for developers who want a second opinion on code or documents.
When to use it
- âWhen you want a second AI model to review a question using specific files.
- âWhen you need a long, careful answer about a codebase that a quick reply would miss.
- âWhen you want to preview the size and token cost of a request before sending it.
Skill link
https://github.com/spinabot/brigade/blob/main/skills/oracle/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentâs skills folder.
Example of what to ask your AI
âBundle the files in my src folder with this question about the login bug, and send it to the second model for review.â
5 new skills a week. 1 minute to read.
How it works
The AI collects your prompt and the selected files into one request. It can preview the size and token cost first, then send the request through the browser or the API, and reattach to a saved session if it takes a long time.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
oracle â 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 output as advisory: verify against code + tests.
Main use case (browser, GPTâ5.2 Pro)
Default workflow here: --engine browser with GPTâ5.2 Pro in ChatGPT. This is the common âlong thinkâ path: ~10 minutes to ~1 hour is normal; expect a stored session you can reattach to.
Recommended defaults:
- Engine: browser (
--engine browser) - Model: GPTâ5.2 Pro (
--model gpt-5.2-proor--model "5.2 Pro")
Golden path
- Pick a tight file set (fewest files that still contain the truth).
- Preview payload + token spend (
--dry-run+--files-report). - Use browser mode for the usual GPTâ5.2 Pro workflow; use API only when you explicitly want it.
- If the run detaches/timeouts: reattach to the stored session (donât re-run).
Commands (preferred)
Help:
oracle --help- If the binary isnât installed:
npx -y @steipete/oracle --help(avoidpnpxhere; sqlite bindings).
Preview (no tokens):
oracle --dry-run summary -p "<task>" --file "src/**" --file "!**/*.test.*"oracle --dry-run full -p "<task>" --file "src/**"
Token sanity:
oracle --dry-run summary --files-report -p "<task>" --file "src/**"
Browser run (main path; long-running is normal):
oracle --engine browser --model gpt-5.2-pro -p "<task>" --file "src/**"
Manual paste fallback:
oracle --render --copy -p "<task>" --file "src/**"- Note:
--copyis a hidden alias for--copy-markdown.
Attaching files (--file)
--file accepts files, directories, and globs. You can pass it multiple times; entries can be comma-separated.
Include:
--file "src/**"--file src/index.ts--file docs --file README.md
Exclude:
--file "src/**" --file "!src/**/*.test.ts" --file "!**/*.snap"
Defaults (implementation behavior):
- Default-ignored dirs:
node_modules,dist,coverage,.git,.turbo,.next,build,tmp(skipped unless explicitly passed as literal dirs/files). - Honors
.gitignorewhen expanding globs. - Does not follow symlinks.
- Dotfiles filtered unless opted in via pattern (e.g.
--file ".github/**"). - Files > 1 MB rejected.
- Default-ignored dirs:
Engines (API vs browser)
- Auto-pick:
apiwhenOPENAI_API_KEYis set; otherwisebrowser. - Browser supports GPT + Gemini only; use
--engine apifor Claude/Grok/the agent or multi-model runs. - Browser attachments:
--browser-attachments auto|never|always(auto pastes inline up to ~60k chars then uploads).
- Remote browser host:
- Host:
oracle serve --host 0.0.0.0 --port 9473 --token <secret> - Client:
oracle --engine browser --remote-host <host:port> --remote-token <secret> -p "<task>" --file "src/**"
- Host:
Sessions + slugs
- Stored under
~/.oracle/sessions(override withORACLE_HOME_DIR). - Runs may detach or take a long time (browser + GPTâ5.2 Pro often does). If the CLI times out: donât re-run; reattach.
- List:
oracle status --hours 72 - Attach:
oracle session <id> --render
- List:
- Use
--slug "<3-5 words>"to keep session IDs readable. - Duplicate prompt guard exists; use
--forceonly when you truly want a fresh run.
Prompt template (high signal)
Oracle starts with zero project knowledge. Assume the model cannot infer your stack, build tooling, conventions, or âobviousâ paths. Include:
- Project briefing (stack + build/test commands + platform constraints).
- âWhere things liveâ (key directories, entrypoints, config files, boundaries).
- Exact question + what you tried + the error text (verbatim).
- Constraints (âdonât change Xâ, âmust keep public APIâ, etc).
- Desired output (âreturn patch plan + testsâ, âgive 3 options with tradeoffsâ).
Safety
- Donât attach secrets by default (
.env, key files, auth tokens). Redact aggressively; share only whatâs required.
âExhaustive promptâ restoration pattern
For long investigations, write a standalone prompt + file set so you can rerun days later:
- 6â30 sentence project briefing + the goal.
- Repro steps + exact errors + what you tried.
- Attach all context files needed (entrypoints, configs, key modules, docs).
Oracle runs are one-shot; the model doesnât remember prior runs. âRestoring contextâ means re-running with the same prompt + --file ⊠set (or reattaching a still-running stored session).
FAQ
Is the other model's answer final?
No. The skill treats the answer as advice that should be checked against the code and tests.
Why preview the request first?
A dry run shows the payload and token spend without sending anything, so you can choose a tight set of files.
What if the request takes a long time?
The session is stored, so the AI can reattach to it instead of running the request again.
Details
Original description by the author
Best practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
repo: spinabot/brigade
Popularity
- GitHub stars
- 11k
- Ranking position
- #11733
- License
- MIT
- Updated
- 11/2/2026
Comments
- âŠ
More skills from this repository
1password
11kTeaches your agent to set up the 1Password command line tool and sign in safely, then read or inject stored secrets when they are needed.
apple-reminders
11kLets your agent view, add, edit, complete and delete Apple Reminders from the terminal, including lists and date filters.
bluebubbles
11kLets your agent send and manage iMessages through BlueBubbles, including texts, attachments, tapback reactions, edits and group settings.
camsnap
11kLets your agent take snapshots, short clips or watch for motion from network security cameras that you have already set up.
Similar skills
writing-skills
311kTeaches your agent to write new skills and test each one first, checking that the skill actually changes how the agent behaves.
writing-for-agents
310kExplains how to write clear instructions for AI agents, including skills, AGENTS.md, and CLAUDE.md files, so the agent behaves predictably.
bengali-nlp
280kHas your agent process Bengali text. It helps understand and work with the language, normalizing text and handling its unique characteristics.