oracle_steipete
Use when you want a second-model review through the `@steipete/oracle` CLI by bundling a prompt with a tightly scoped set of repo files. Use for debugging, refactor review, design critique, prompt val
Files1
View on GitHubSKILL.mdskills/agentic/oracle_steipete/SKILL.md
GitHubOracle CLI
Oracle bundles your prompt plus selected files into one external-model request. Treat the answer as a strong second opinion, not ground truth: verify it against the repo and tests before acting.
Current reference checked: @steipete/oracle npm 0.9.0 and upstream steipete/oracle main docs as of 2026-05-03. The npm help may lag the README for brand-new browser flags; upstream documents GPT-5.5 Pro/GPT-5.5 and --browser-thinking-time.
Default recommendation
Use browser mode with GPT-5.5 Pro and extended thinking when Kosta asks for Oracle and the question is hard enough to justify the wait:
npx -y @steipete/oracle \
--engine browser \
--model gpt-5.5-pro \
--browser-thinking-time extended \
-p "<task>" \
--file "src/**"
Use standard thinking for faster/cheaper-ish browser passes where you mostly want a sanity check:
npx -y @steipete/oracle \
--engine browser \
--model gpt-5.5-pro \
--browser-thinking-time standard \
-p "<task>" \
--file "src/**"
If Kosta explicitly wants non-Pro GPT-5.5, use --model gpt-5.5 with the same --browser-thinking-time standard|extended choice.
Pick standard vs extended
- standard: quick second pass, small bug, prompt review, API-shape check, or when the attached file set is already very narrow.
- extended: architecture, merge conflict review, subtle debugging, multi-file refactor, release-readiness, security/reliability review, or anything where a shallow answer would waste more time than the slower run.
Default to extended for ambiguous “ask Oracle” requests. Say which mode you picked in the prompt slug or short preface.
Golden path
- Pick the smallest file set that still contains the truth. Include entrypoints, failing tests, configs, and nearby docs; exclude secrets and generated output.
- Preview first:
npx -y @steipete/oracle --dry-run summary --files-report \
-p "<task>" \
--file "src/**" --file "!**/*.snap"
- Run browser GPT-5.5 Pro with
standardorextendedthinking. - If the run detaches or times out, reattach. Do not immediately re-run the same prompt.
Useful commands
Show help:
npx -y @steipete/oracle --help
npx -y @steipete/oracle --help --verbose
npx -y @steipete/oracle --debug-help
Preview full bundle without sending:
npx -y @steipete/oracle --dry-run full \
-p "<task>" \
--file "src/**"
Manual paste fallback:
npx -y @steipete/oracle --render --copy \
-p "<task>" \
--file "src/**"
Session recovery:
npx -y @steipete/oracle status --hours 72 --limit 50
npx -y @steipete/oracle session <session-id> --render
Attaching files
--file accepts files, directories, and globs. Pass it multiple times; comma-separated paths also work.
Examples:
--file "src/**"
--file src/index.ts
--file docs --file README.md
--file "src/**" --file "!src/**/*.test.ts" --file "!**/*.snap"
Important behavior:
- Default ignored dirs include
node_modules,dist,coverage,.git,.turbo,.next,build, andtmpunless explicitly passed. - Glob expansion honors
.gitignore. - Symlinks are not followed by default.
- Dotfiles are filtered unless the pattern includes a dot-segment, e.g.
--file ".github/**". - Files over the default 1 MB cap are rejected unless
ORACLE_MAX_FILE_SIZE_BYTESor~/.oracle/config.jsonraisesmaxFileSizeBytes.
Prompt template
Oracle starts with no project memory. A good prompt includes:
- Project briefing: stack, target OS/toolchain, services, build/test commands.
- File map: which attached paths matter and what role each file plays.
- Exact question, prior attempts, and verbatim errors.
- Constraints: APIs not to change, compatibility, performance, style, rollout risk.
- Desired output: patch plan, risk list, test plan, alternatives, or final recommendation.
For long investigations, write a self-contained prompt that can be restored later: 6–30 sentences of context, concrete repro steps, exact errors, and all required files.
Engine rules
- Browser mode is the normal path for GPT-5.5 Pro without API keys.
- API mode incurs usage cost; get explicit user consent before starting API runs unless Kosta explicitly requested an API run.
- Auto engine selection uses API when
OPENAI_API_KEYis set, otherwise browser, so pass--engine browserwhen you mean ChatGPT browser automation. - Browser model selection can be controlled with
--browser-model-strategy select|current|ignore. Usecurrentwhen the browser is already on the exact desired ChatGPT model. ~/.oracle/config.jsoncan set defaults such asmodel: "gpt-5.5-pro"andbrowser.thinkingTime: "extended", but CLI flags win.
Safety
Do not attach secrets by default: .env, private keys, tokens, cookie databases, credential exports, and auth logs. Redact aggressively. Prefer fewer files plus a clearer prompt over whole-repo dumps.