NEW Browse AI tools across categories — updated daily. See what's new →

Oracle

Best practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).

Authorfirecrawl
Version1.0.0
LicenseMIT
Token count~1,459
UpdatedJun 5, 2026

Install

Quick install

via npx skills · works with 57+ agents
npx skills add https://github.com/firecrawl/openclaw/tree/HEAD/skills/oracle
Or pick agent:
npx skills add firecrawl/openclaw --skill oracle --agent claude-code
npx skills add firecrawl/openclaw --skill oracle --agent cursor
npx skills add firecrawl/openclaw --skill oracle --agent codex
npx skills add firecrawl/openclaw --skill oracle --agent opencode
npx skills add firecrawl/openclaw --skill oracle --agent github-copilot
npx skills add firecrawl/openclaw --skill oracle --agent windsurf
More install options

Shorthand — useful for multi-skill repos:

npx skills add firecrawl/openclaw --skill oracle

Manual — clone the repo and drop the folder into your agent's skills directory:

git clone https://github.com/firecrawl/openclaw.git
cp -r openclaw/skills/oracle ~/.claude/skills/
How to use: Once installed, ask your agent to "use the oracle skill" or describe what you want (e.g. "Best practices for using the oracle CLI (prompt + file bundling, engines, sessio"). Requires Node.js 18+.

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-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

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

★ Featured

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.

juliusbrussee 167k
Development

secure-linux-web-hosting

★ Featured

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.

xixu-me 155k
Development

readme-i18n

★ Featured

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.

xixu-me 155k
Development

lark-shared

★ Featured

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.

larksuite 155k
Development

improve-codebase-architecture

★ Featured

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.

mattpocock 151k
Development

paper-context-resolver

★ Featured

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...

lllllllama 127k
Development