본문으로 건너뛰기
Skillpedia
에이전트7.4k · #13241

oracle

하는 일

이 스킬은 질문과 선택한 프로젝트 파일을 묶어서 다른 모델이 실제 맥락을 바탕으로 답하도록 합니다. 설계, 버그, 리팩터링에 대해 두 번째 검토를 받고 싶은 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓버그, 설계, 리팩터링을 두 번째 모델에게 검토받고 싶을 때.
  • ✓답변이 여러 파일에 걸쳐 있어서 전체 맥락이 필요할 때.
  • ✓보내기 전에 정확히 무엇이 전송될지 미리 보고 싶을 때.

스킬 링크

https://github.com/steipete/agent-scripts/blob/main/skills/oracle/SKILL.md

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

사용 방법

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

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

Use this skill to help me: https://github.com/steipete/agent-scripts/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에게 요청하는 예시

“이 소스 파일 세 개와 제 버그 설명을 두 번째 모델에게 보내 주세요. 보내기 전에 무엇이 전송될지 먼저 보여 주세요.”

매주 새 스킬 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-pro or a ChatGPT picker label like --model "5.5 Pro")
  • Attachments: directories/globs + excludes; avoid secrets.

Golden path (fast + reliable)

  1. Pick a tight file set (fewest files that still contain the truth).
  2. Preview what you’re about to send (--dry-run + --files-report when needed).
  3. Run in browser mode for the usual GPT‑5.5 Pro ChatGPT workflow; use API only when you explicitly want it.
  4. 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-output and exit.
  • 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: --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/**" (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 .gitignore when 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_BYTES or maxFileSizeBytes in ~/.oracle/config.json.

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=1 for 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 api when OPENAI_API_KEY is set, otherwise browser.
  • Browser engine supports GPT + Gemini only; use --engine api for 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 zip to 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/**"

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.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬