Oracle
Best practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
Install
Quick install
npx skills add https://github.com/firecrawl/openclaw/tree/HEAD/skills/oraclenpx skills add firecrawl/openclaw --skill oracle --agent claude-codenpx skills add firecrawl/openclaw --skill oracle --agent cursornpx skills add firecrawl/openclaw --skill oracle --agent codexnpx skills add firecrawl/openclaw --skill oracle --agent opencodenpx skills add firecrawl/openclaw --skill oracle --agent github-copilotnpx skills add firecrawl/openclaw --skill oracle --agent windsurfMore install options
Shorthand — useful for multi-skill repos:
npx skills add firecrawl/openclaw --skill oracleManual — clone the repo and drop the folder into your agent's skills directory:
git clone https://github.com/firecrawl/openclaw.gitcp -r openclaw/skills/oracle ~/.claude/skills/oracle
Best practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
oracleby firecrawl
Best practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).npx skills add https://github.com/firecrawl/openclaw --skill oracleDownload ZIPGitHub
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.
Engines (API vs browser)
- Auto-pick:
apiwhenOPENAI_API_KEYis set; otherwisebrowser.
- Browser supports GPT + Gemini only; use
--engine apifor Claude/Grok/Codex 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/*"
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
- 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).
More skills from firecrawl
ordercliby firecrawlFoodora-only CLI for checking past orders and active order status (Deliveroo WIP).peekabooby firecrawlCapture and automate macOS UI with the Peekaboo CLI.sagby firecrawlElevenLabs text-to-speech with mac-style say UX.session-logsby firecrawlSearch and analyze your own session logs (older/parent conversations) using jq.sherpa-onnx-ttsby firecrawlLocal text-to-speech via sherpa-onnx (offline, no cloud)sentryby firecrawlsentry — an installable skill for AI agents, published by firecrawl/skills.wordpress-routerby firecrawlUse when the user asks about WordPress codebases (plugins, themes, block themes, Gutenberg blocks, WP core checkouts) and you need to quickly classify the repo…wp-abilities-apiby firecrawlUse when working with the WordPress Abilities API (wp_register_ability, wp_register_ability_category, /wp-json/wp-abilities/v1/*, @wordpress/abilities)…---
Source: https://github.com/firecrawl/openclaw/tree/HEAD/skills/oracle
Author: firecrawl
Discovered via: mcpservers.org
SKILL.md source
--- name: oracle description: Best practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns). --- # oracle Best practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns). # oracleby firecrawl Best practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns). `npx skills add https://github.com/firecrawl/openclaw --skill oracle`Download ZIPGitHub ## 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-pro` or `--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` (avoid `pnpx` here; 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: `--copy` is 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 `.gitignore` when expanding globs. * Does not follow symlinks. * Dotfiles filtered unless opted in via pattern (e.g. `--file ".github/**"`). * Files > 1 MB rejected. ## Engines (API vs browser) * Auto-pick: `api` when `OPENAI_API_KEY` is set; otherwise `browser`. * Browser supports GPT + Gemini only; use `--engine api` for Claude/Grok/Codex 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/**"` ## Sessions + slugs * Stored under `~/.oracle/sessions` (override with `ORACLE_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` * Use `--slug "<3-5 words>"` to keep session IDs readable. * Duplicate prompt guard exists; use `--force` only 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). ## More skills from firecrawl ordercliby firecrawlFoodora-only CLI for checking past orders and active order status (Deliveroo WIP).peekabooby firecrawlCapture and automate macOS UI with the Peekaboo CLI.sagby firecrawlElevenLabs text-to-speech with mac-style say UX.session-logsby firecrawlSearch and analyze your own session logs (older/parent conversations) using jq.sherpa-onnx-ttsby firecrawlLocal text-to-speech via sherpa-onnx (offline, no cloud)sentryby firecrawlsentry — an installable skill for AI agents, published by firecrawl/skills.wordpress-routerby firecrawlUse when the user asks about WordPress codebases (plugins, themes, block themes, Gutenberg blocks, WP core checkouts) and you need to quickly classify the repo…wp-abilities-apiby firecrawlUse when working with the WordPress Abilities API (wp_register_ability, wp_register_ability_category, /wp-json/wp-abilities/v1/*, @wordpress/abilities)… --- **Source**: https://github.com/firecrawl/openclaw/tree/HEAD/skills/oracle **Author**: firecrawl **Discovered via**: mcpservers.org
Related skills 6
caveman
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
secure-linux-web-hosting
Use when setting up, hardening, or reviewing a cloud server for self-hosting, including DNS, SSH, firewalls, Nginx, static-site hosting, reverse-proxying an app, HTTPS with Let's Encrypt or ACME clients, safe HTTP-to-HTTPS redirects, or optional post-launch network tuning such as BBR.
readme-i18n
Use when the user wants to translate a repository README, make a repo multilingual, localize docs, add a language switcher, internationalize the README, or update localized README variants in a GitHub-style repository.
lark-shared
Use when first setting up lark-cli, running auth login, switching user/bot identity (--as), handling permission denied or scope errors, needing to update lark-cli, or seeing _notice in JSON output.
improve-codebase-architecture
Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.
paper-context-resolver
Optional RigorPilot helper for README-first deep learning repo reproduction. Use only when the README and repository files leave a narrow reproduction-critical gap and the task is to resolve a specific paper detail such as dataset split, preprocessing, evaluation protocol, checkpoint mapping, or runtime assumption from primary paper sources while recording conflicts. Do not use for general paper summary, repo scanning, environment setup, command execution, title-only paper lookup, or replacin...