oracle
Skill này làm gì
Skill này gói một câu hỏi và các file dự án đã chọn để một mô hình khác có thể trả lời với ngữ cảnh thực. Dành cho lập trình viên muốn rà soát thứ hai về thiết kế, lỗi hoặc refactor.
Khi nào nên dùng
- ✓Khi bạn muốn một mô hình thứ hai rà soát một lỗi, một thiết kế hoặc một refactor.
- ✓Khi câu trả lời phụ thuộc vào nhiều file và cần ngữ cảnh đầy đủ.
- ✓Khi bạn muốn xem trước chính xác những gì sẽ được gửi trước khi gửi.
Liên kết skill
https://github.com/steipete/agent-scripts/blob/main/skills/oracle/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Gửi ba file mã nguồn này và mô tả lỗi của tôi đến một mô hình thứ hai, và cho tôi xem trước những gì sẽ được gửi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chọn một tập file nhỏ, xem trước gói bằng tùy chọn chạy thử (dry-run), rồi gửi qua công cụ, thường dùng một phiên trình duyệt. Câu trả lời được coi là lời khuyên cần kiểm tra lại với mã và test.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Tôi có thể xem trước trước khi gửi không?
Có. Tùy chọn chạy thử cho thấy những gì sẽ được gửi mà không thực sự gửi.
Các câu trả lời có phải là kết luận cuối cùng không?
Không. Skill nói hãy coi đầu ra là lời khuyên và kiểm tra lại với mã và test.
Nếu một lần chạy dài bị hết thời gian chờ thì sao?
Skill nói hãy kết nối lại với phiên đã lưu thay vì chạy lại yêu cầu.
Chi tiết
Mô tả gốc của tác giả
Oracle second-model review: bundle prompts/files, debug, refactor, design.
repo: steipete/agent-scripts
Độ phổ biến
- Sao GitHub
- 7.4k
- Vị trí xếp hạng
- #13241
- Giấy phép
- MIT
- Cập nhật
- 30/10/2026
Bình luận
- …
Thêm skill từ kho mã này
beeper
7.4kGiúp agent của bạn tìm trong lịch sử chat Beeper cục bộ để tìm tin nhắn và xác định chat hoặc liên hệ nào mà một gợi ý mơ hồ đang nhắc đến.
cloudflare-registrar
7.4kGiúp agent của bạn kiểm tra giá và tình trạng khả dụng của tên miền trên Cloudflare Registrar, và đăng ký hoặc liệt kê tên miền với bước xác nhận.
codexbar
7.4kGiúp agent của bạn kiểm tra còn bao nhiêu hạn mức sử dụng các dịch vụ AI như Codex, Claude và Kimi, gồm giới hạn, tín dụng và thời gian đặt lại.
create-cli
7.4kGiúp agent của bạn thiết kế lệnh, cờ, văn bản trợ giúp, đầu ra và lỗi của một công cụ dòng lệnh, để nó hoạt động tốt cho cả người lẫn script.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.