bootstrap-realtime-eval

작성자: openai

이 쿡북 리포지토리 내에 examples/evals/realtime_evals에서 적절한 하네스를 선택하고, 프롬프트/도구/데이터를 스캐폴딩하여 새로운 실시간 평가 폴더를 부트스트랩합니다.

npx skills add https://github.com/openai/openai-cookbook --skill bootstrap-realtime-eval

Bootstrap Realtime Eval

Use this skill when the user wants a new realtime eval scaffold under examples/evals/realtime_evals/.

This skill is repo-specific. Do not copy harness code into the generated folder. The generated eval should point at the shared harnesses already in:

  • examples/evals/realtime_evals/crawl_harness
  • examples/evals/realtime_evals/walk_harness
  • examples/evals/realtime_evals/run_harness

Inputs To Collect

Always ask the user for the minimum set needed to choose and scaffold the eval before you create files, run the scaffold script, or author starter data. Do not skip this just because you can infer a default.

Ask for:

  • Eval name
  • Goal or scenario
  • Harness choice, or enough context to recommend one
  • System prompt path or inline text
  • Tools JSON path or tool descriptions
  • Data path or source materials
  • Desired graders

If the user does not know which harness they want, explain the options briefly and recommend one. See references/harness-selection.md.

When the user asks for synthetic audio but does not specify a harness, default to crawl text-to-TTS unless they need the generated audio to carry particular noise, telephony artifacts, speaker characteristics, or other replay-specific properties. Use walk for those cases.

Keep the questions concise and grouped into one short batch whenever possible.

If the user only provides user_text or a short task description, still ask the questions above first. If they answer only partially, then infer the remaining low-risk details, call out the assumptions, and make the scaffold easy to revise later.

Workflow

  1. Ask the user for the required inputs first.

    • Do this before making files or selecting a final harness.
    • If the user already supplied some of the inputs, ask only for the missing ones.
    • If you recommend a harness, wait for the user response before scaffolding.
  2. Pick the harness.

    • crawl: single-turn text-to-TTS.
    • walk: replay saved audio or generate audio from text rows.
    • run: multi-turn simulation with tool mocks and judge criteria.
    • If the user wants synthetic audio but does not care about replay-specific audio characteristics, prefer crawl over walk.
  3. Normalize the inputs.

    • If the user gives inline prompt or tool content, write it into the generated folder.
    • If the user gives CSV data, inspect it with pandas before wiring it in.
    • If the data is not yet harness-ready, scaffold the files and then have you author the starter dataset directly in those files.
    • If the user only gives user_text, infer example_id values and leave optional grading fields blank unless you have enough signal to fill them.
    • Ground the starter data in the use case, prompts, tools, and any other material the user provided.
    • Make the starter data realistic. Put yourself in the shoes of the end user in that use case and craft datapoints that a real user would plausibly say or do.
  4. Be proactive when data is missing.

    • crawl: you should author 3 starter rows covering one happy path and a couple of nearby variants or edge cases.
    • walk: you should author 3 source CSV rows and prepare the audio-generation step so the user can create audio immediately.
    • run: you should author 2 starter simulations, not 1.
    • Do not rely on deterministic script-generated samples for use-case-specific starter data.
    • Show the generated starter samples to the user, ask for a quick greenlight or correction, then expand only after feedback when the task calls for more coverage.
  5. Run the scaffold script:

python examples/evals/realtime_evals/skills/bootstrap-realtime-eval/scripts/bootstrap_realtime_eval.py --name "<eval_name>" --harness "<crawl|walk|run>"

Add flags for prompt, tools, data, graders, and run-specific fields as needed. Read the script help if you need the exact flag names.

  1. Review the generated folder.

    • Confirm the README is accurate for the selected harness.
    • Confirm the system prompt, tools, and data files point at the generated folder.
    • If the user provided real data, make sure it is wired in instead of leaving starter placeholders.
    • If you authored inferred starter data, show the user the generated rows or simulations before scaling up.
  2. Enrich the scaffold.

    • For crawl and walk, make the CSV realistic and ensure the expected tool columns are present.
    • For walk, if the dataset lacks audio_path, use the shared walk_harness/generate_audio.py flow described in the README.
    • For run, make sure simulations.csv and the starter sim_*.json file reflect the user’s scenario, tool mocks, and graders.
  3. Validate before returning.

    • Run a smoke eval for the generated folder.
    • If the smoke eval succeeds, automatically run the full eval for the generated folder in the same turn.
    • If the smoke eval fails, stop and fix or report the blocker before attempting the full eval.
    • Run pytest examples/evals/realtime_evals/tests -q.
    • Inspect the generated README and at least one generated data file.

Hard Rules

  • Keep the generated folder inside examples/evals/realtime_evals/.
  • Ask the user for the missing setup information before scaffolding. Do not jump straight to building a default eval when the request is to create a new eval.
  • Do not duplicate the main harness scripts into the generated folder.
  • Do not write generic placeholder starter data when the use case provides enough context to do better.
  • Use the prompt, tools, and scenario details to make the initial datapoints feel like a real user interaction.
  • The README must include:
    • why this harness was chosen
    • which files to edit first
    • smoke and full run commands
    • data contract notes
    • troubleshooting notes
  • Prefer assistant-specific flags for run harness commands:
    • --assistant-system-prompt-file
    • --assistant-tools-file

Completion Criteria

Treat the task as complete only when:

  • the folder exists under examples/evals/realtime_evals/<name>_realtime_eval/
  • README.md, system_prompt.txt, and tools.json exist
  • harness-specific starter data exists, authored by you when the user did not provide it
  • the smoke command has been run or is blocked for a clear reason
  • if the smoke command succeeded, the full eval command has also been run or is blocked for a clear reason
  • pytest examples/evals/realtime_evals/tests -q has been run

Learnings

When this skill uncovers a reusable workflow or harness constraint that should guide future bootstrap work, add a short note here.

Keep learnings concise and action-oriented:

  • Problem -> Fix -> Why

Only add items that are likely to help future realtime-eval scaffolding in this repo. Remove stale items when they no longer apply.

  • gpt-realtime temperature is unsupported -> Do not add a temperature field or CLI flag when scaffolding gpt-realtime evals -> Avoids invalid config and keeps runs aligned with the realtime harness constraints.
  • Starter samples should come from the model, not the scaffold script -> Use the script to create the folder structure and template files, then have you author the initial rows or simulations from the user’s use case -> Produces more relevant starter data and makes iteration easier with the user.
  • Synthetic audio can be overfit to the wrong harness -> Default unspecified synthetic-audio requests to crawl text-to-TTS and reserve walk for replay-specific audio characteristics like noise or telephony artifacts -> Keeps the bootstrap path simpler unless audio realism is the actual target.
  • Smoke-only validation can leave scaffolds half-proven -> After a successful smoke run, automatically run the full eval before declaring the bootstrap complete -> Catches dataset-wide or late-row failures that a one-example smoke test misses.

openai의 다른 스킬

user-context
openai
데이터 분석 플러그인의 지속적인 소스 라우팅 기본 설정, 온보딩 로직, 설정 진행 상황 및 의미 계층 레지스트리를 로드하거나 관리합니다.
official
notion-research-documentation
openai
Notion 콘텐츠를 조사하고 인용문과 함께 구조화된 브리핑, 보고서 또는 비교 자료로 종합합니다. 대상 질의를 사용해 Notion 페이지를 검색하고 가져온 후, 인라인 출처 인용과 참고 문헌 섹션을 포함해 주제별로 결과를 정리합니다. 범위와 사용자 목표에 따라 네 가지 출력 형식(빠른 브리핑, 연구 요약, 비교, 종합 보고서) 중에서 선택합니다. 내장 템플릿을 사용해 Notion 페이지를 생성 및 업데이트하고, 새 정보가 도착하면 출처를 직접 연결하고 변경 사항을 추적합니다...
official
rcsb-pdb-skill
openai
핵심 메타데이터, Search API 쿼리 및 FASTA 다운로드를 위한 간결한 RCSB PDB 요청을 제출합니다. 사용자가 간결한 RCSB 요약을 원할 때 사용하며, 원시 JSON 또는…을 저장합니다.
official
pdf
openai
PDF 읽기, 생성 및 검증 기능을 제공하며, 시각적 렌더링과 프로그래매틱 생성을 지원합니다. Poppler(pdftoppm)를 사용하여 PDF 페이지를 PNG로 렌더링하여 레이아웃, 간격, 타이포그래피를 시각적으로 검사할 수 있습니다. reportlab을 사용하여 프로그래매틱 방식으로 PDF를 생성하여 안정적인 포맷을 보장하며, pdfplumber 또는 pypdf를 통해 텍스트와 메타데이터를 추출합니다. 품질 기준을 준수합니다: 잘린 텍스트, 겹치는 요소, 깨진 표, 렌더링 아티팩트가 없어야 하며, ASCII 하이픈만 사용하고 사람이 읽을 수 있는 인용을 사용합니다.
official
test-coverage-improver
openai
Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose…
official
playwright
openai
터미널 기반 브라우저 자동화로 요소 스냅샷 및 대화형 UI 워크플로우 지원. playwright-cli 래퍼 스크립트를 통해 작동하며(npx 필요), 헤드리스 및 헤드 모드 모두 지원하여 시각적 디버깅 가능. 핵심 워크플로우: 페이지 열기, 안정적인 요소 참조를 위한 스냅샷 생성, 참조를 사용한 상호작용, 탐색 또는 DOM 변경 후 재스냅샷. 양식 작성, 클릭, 타이핑, 다중 탭 관리, 스크린샷/PDF 캡처, 흐름 디버깅을 위한 트레이스 기록 포함. 요소 참조(예: e3, e15)...
official
ukb-topmed-phewas-skill
openai
단일 변이에 대한 간결한 UKB-TOPMed PheWAS 요약을 가져오며, rsID, GRCh37 또는 GRCh38 입력을 받아 필요한 GRCh38 쿼리로 변환합니다. 다음과 같은 경우에 사용하세요…
official
code-review-context
openai
모델 가시 컨텍스트
official