본문으로 건너뛰기
Skillpedia
일반 코딩394k · #73

oracle

하는 일

AI 에이전트가 Oracle 명령으로 선택한 파일과 작업을 두 번째 AI 모델에 보내 검토, 디버깅, 설계 조언을 받도록 안내합니다. 까다로운 변경에 외부 점검을 받으려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓까다로운 코드 변경이나 설계를 두 번째 모델이 검토하기를 원할 때.
  • ✓선택한 여러 파일에 걸친 문제를 디버깅하는 도움이 필요할 때.
  • ✓검토를 실행하기 전에 얼마나 많은 토큰을 쓸지 확인하고 싶을 때.

스킬 링크

https://github.com/openclaw/openclaw/blob/main/skills/oracle/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/openclaw/openclaw/blob/main/skills/oracle/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“auth 폴더의 인증 변경 사항을 두 번째 모델에 검토시키고, 실행 전에 크기를 먼저 보여 준 뒤 위험 요소를 나열해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 범위가 좁은 파일 묶음을 고르고, 전달 내용과 토큰 비용을 미리 보여 줍니다. 그다음 브라우저나 API를 통해 검토를 실행합니다. 답변은 자신의 코드와 테스트로 확인해야 하는 조언입니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

oracle

Oracle bundles a prompt + selected files for one second-model pass. Treat output as advisory; verify against code + tests.

Main path

Current CLI default model: gpt-5.5-pro. Browser engine is useful for long ChatGPT Pro runs; API engine is useful when OPENAI_API_KEY or Azure config is ready.

Recommended defaults:

  • Preview first: --dry-run summary --files-report
  • Browser long run: --engine browser --model gpt-5.5-pro
  • API explicit: --engine api --model gpt-5.5

Golden path

  1. Pick a tight file set (fewest files that still contain the truth).
  2. Preview payload + token spend (--dry-run + --files-report).
  3. Use browser mode for long Pro thinking; API mode for explicit API calls.
  4. If the run detaches/timeouts: reattach to the stored session. Do not blindly 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.5-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 + Pro often does). If the CLI times out: do not 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").

Attachments

  • Leave .env, key files, and auth tokens out of attachments unless the user asks to include them.

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

자주 묻는 질문

비용이 경고 없이 늘어나나요?

아닙니다. 드라이런으로 요청을 먼저 미리 보므로, 실제 실행 전에 토큰 비용을 확인할 수 있습니다.

답변을 완전히 믿어도 되나요?

아닙니다. 출력은 참고용이므로 코드와 테스트에 비추어 확인해야 합니다.

긴 실행이 시간 초과되면 어떻게 하나요?

요청 전체를 처음부터 다시 시작하지 말고, 저장된 세션에 다시 연결하세요.

상세 정보

작성자의 원본 설명

Oracle CLI second-model review/debug/refactor/design with selected files, dry-run token checks, API or browser engine.

repo: openclaw/openclaw

인기도

GitHub 스타
394k
순위
#73
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬