oracle
できること
このスキルは、質問と選んだプロジェクトのファイルをまとめ、別のモデルが十分な文脈で答えられるようにします。設計、バグ、リファクタリングについて、二度目のレビューがほしい開発者向けです。
使う場面
- ✓別のモデルに、バグ、設計、リファクタリングを確認させたいとき。
- ✓答えが複数のファイルに依存し、文脈を完全に渡す必要があるとき。
- ✓送信される内容を、送る前に正確に確認したいとき。
スキルのリンク
https://github.com/steipete/agent-scripts/blob/main/skills/oracle/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この3つのソースファイルと私のバグの説明を、別のモデルに送ってください。送る前に、何が送られるかを見せてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、少数のファイルを選び、ドライランのオプションで送られる一式をプレビューします。その後、ツールを通して送ります。多くの場合、ブラウザのセッションを使います。答えは助言として扱い、コードとテストで確かめます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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.
Main use case (browser, GPT‑5.5 Pro)
Default workflow here: --engine browser with GPT‑5.5 Pro in ChatGPT. This is the “human in the loop” path: it can take ~10 minutes to ~1 hour; expect a stored session you can reattach to.
Recommended defaults:
- Engine: browser (
--engine browser) - Model: GPT‑5.5 Pro (either
--model gpt-5.5-proor a ChatGPT picker label like--model "5.5 Pro") - Attachments: directories/globs + excludes; avoid secrets.
Golden path (fast + reliable)
- Pick a tight file set (fewest files that still contain the truth).
- Preview what you’re about to send (
--dry-run+--files-reportwhen needed). - Run in browser mode for the usual GPT‑5.5 Pro ChatGPT 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)
Show help (once/session):
npx -y @steipete/oracle --help
Preview (no tokens):
npx -y @steipete/oracle --dry-run summary -p "<task>" --file "src/**" --file "!**/*.test.*"npx -y @steipete/oracle --dry-run full -p "<task>" --file "src/**"
Token/cost sanity:
npx -y @steipete/oracle --dry-run summary --files-report -p "<task>" --file "src/**"
Startup/perf trace:
npx -y @steipete/oracle --perf-trace --perf-trace-path /tmp/oracle-perf.json --dry-run summary -p "<task>" --file "src/**"- Use when CLI startup or time-to-first-output feels slow; inspect
first-outputandexit.
Browser run (main path; long-running is normal):
npx -y @steipete/oracle --engine browser --model gpt-5.5-pro -p "<task>" --file "src/**"
Manual paste fallback (assemble bundle, copy to clipboard):
npx -y @steipete/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/**"(directory glob)--file src/index.ts(literal file)--file docs --file README.md(literal directory + file)
Exclude (prefix with
!):--file "src/**" --file "!src/**/*.test.ts" --file "!**/*.snap"
Defaults (important behavior from the implementation):
- Default-ignored dirs:
node_modules,dist,coverage,.git,.turbo,.next,build,tmp(skipped unless you explicitly pass them as literal dirs/files). - Honors
.gitignorewhen expanding globs. - Does not follow symlinks (glob expansion uses
followSymbolicLinks: false). - Dotfiles are filtered unless you explicitly opt in with a pattern that includes a dot-segment (e.g.
--file ".github/**"). - Default cap: files > 1 MB are rejected unless you raise
ORACLE_MAX_FILE_SIZE_BYTESormaxFileSizeBytesin~/.oracle/config.json.
- Default-ignored dirs:
Budget + observability
- Target: keep total input under ~196k tokens.
- Use
--files-report(and/or--dry-run json) to spot the token hogs before spending. - Use
--perf-trace/ORACLE_PERF_TRACE=1for startup and first-output timing. Traces redact prompts, tokens, keys, cookies, and inline cookie payloads; detached API children write a session-suffixed sidecar trace. - If you need hidden/advanced knobs:
npx -y @steipete/oracle --help --verbose.
Engines (API vs browser)
- Auto-pick: uses
apiwhenOPENAI_API_KEYis set, otherwisebrowser. - Browser engine supports GPT + Gemini only; use
--engine apifor Claude/Grok/Codex or multi-model runs. - API runs require explicit user consent before starting because they incur usage costs.
- Browser attachments:
--browser-attachments auto|never|always(auto pastes inline up to ~60k chars then uploads).- Add
--browser-bundle-files --browser-bundle-format zipto upload many text files as one ZIP while preserving file names.
- Remote browser host (signed-in machine runs automation):
- 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:
API preflight
- API runs require explicit user consent and cost money.
- Before API runs, check provider readiness without printing secrets:
- `ora
よくある質問
送る前にプレビューできますか?
はい。ドライランのオプションで、送らずに送られる内容を確認できます。
答えは最終的なものですか?
いいえ。スキルは、出力を助言として扱い、コードとテストに照らして確認するよう指示しています。
長い実行がタイムアウトしたらどうしますか?
リクエストを再度実行するのではなく、保存されたセッションに再接続するよう、スキルは述べています。
詳細
作者による元の説明
Oracle second-model review: bundle prompts/files, debug, refactor, design.
repo: steipete/agent-scripts
人気
- GitHubのスター
- 7.4k
- ランキング
- #13241
- ライセンス
- MIT
- 更新日
- 2026/10/30
コメント
- …
このリポジトリの他のスキル
beeper
7.4kローカルの Beeper のチャット履歴を検索して、メッセージを見つけ、あいまいなヒントがどのチャットや連絡先を指すかを特定するようエージェントを支援します。
cloudflare-registrar
7.4kCloudflare Registrar のドメインの価格と空き状況を確認し、確認の手順を経てドメインを登録または一覧表示するようエージェントを支援します。
codexbar
7.4kCodex、Claude、Kimi などの AI サービスの、残りの利用量を、上限、クレジット、リセット時刻を含めて確認するようエージェントを支援します。
create-cli
7.4k人にもスクリプトにも使いやすいように、コマンドラインツールのコマンド、フラグ、ヘルプの文章、出力、エラーを設計するようエージェントを支援します。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。