bootstrap-realtime-eval
Skill76k starsChanged 5 months agoMITView on GitHub
Bootstrap a new realtime eval folder inside this cookbook repo by choosing the right harness from examples/evals/realtime_evals, scaffolding prompt/tools/data files, generating a useful README, and validating it with smoke, full eval, and test runs. Use when a user wants to start a new crawl, walk, or run realtime eval in this repository.
Trending
Quiet since July.about the whole repository
Who's talking about openai/openai-cookbook
- A Hacker News story“Techniques to improve reliability”Hacker News · Jan 21, 2023 · 302 points
- ChatGPTNextWeb/NextChat“Zero, One and Few Shot Prompting”GitHub · Mar 29, 2023 · 59 reactions
- A Hacker News story“OpenAI Cookbook”Hacker News · Jan 10, 2023 · 51 points
- guidance-ai/guidance“Support OpenAI function calling”GitHub · Jun 13, 2023 · 28 reactions
- openai/tiktoken“added two new embedding model's encoding”GitHub · Jan 26, 2024 · 25 reactions
The biggest 5 of 61 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 61
Talked about on GitHub, Hacker News and Bluesky (61 times).
On GitHub · 27
- Mar 29, 2023Zero, One and Few Shot Prompting — ChatGPTNextWeb/NextChat59 reactions · 75 comments
- Jun 13, 2023Support OpenAI function calling — guidance-ai/guidance28 reactions · 10 comments
- Jan 26, 2024added two new embedding model's encoding — openai/tiktoken25 reactions · 11 comments
- Mar 20, 2025[Bug]: Major issues with guided generation / structured output in vLLM (up to and including v0.8.1); many examples provided by vllm in /examples and structured_outputs.html doc do not work — vllm-project/vllm10 reactions · 5 comments
- Oct 7, 2023OpenAI Streaming — microsoft/autogen7 reactions · 1 comment
22 more on GitHub
- Apr 21, 2023[Feature] 整合类似chatpdf的功能 — ChatGPTNextWeb/NextChat6 reactions · 33 comments
- Mar 5, 2023Add im_start / im_end in cl100k_base — openai/tiktoken6 reactions · 5 comments
- Aug 14, 2025[Feature Request] Enable new GPT-5 Parameters — agno-agi/agno5 reactions · 2 comments
- Jun 5, 2023Support streaming for LLMs and Chat models — davidmigloz/langchain_dart5 reactions · 7 comments
- Jun 1, 2023Want a link from the OpenAI Cookbook? — dottxt-ai/outlines5 reactions · 2 comments
- Jan 6, 2024Add function calling ability to openai extension — oobabooga/textgen4 reactions · 20 comments
- Jul 24, 2023Mind if the OpenAI Cookbook repo points to your Tiktokenizer app? — dqbd/tiktokenizer4 reactions · 3 comments
- Nov 5, 2023Finetuning in chat-mode and with input-output not yet supported — ggml-org/llama.cpp2 reactions · 1 comment
- Aug 8, 2023[FEATURE] OpenAI Chat Completion response streaming support — pathwaycom/serviette2 reactions · 1 comment
- Mar 15, 2023Add support for the optional "name" into the ChatMessage class. — betalgo/openai2 reactions · 3 comments
- Jan 2, 2023Add Fine Tuning Example — 64bit/async-openai2 reactions · 2 comments
- Jul 1, 2026optimize context usage and compaction algorith, — zew1me/fitness-coach-agent1 reaction · 5 comments
- May 5, 2026This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days. — Rastakhcarbon/Rastakhmind1 reaction
- Mar 16, 2026*: add ExecPlans guidance and PLANS.md — pingcap/tidb1 reaction · 9 comments
- Mar 10, 2026hossein ghasemi — perf-ai-example-org/openai-cookbook1 reaction · 1 comment
- Mar 2, 2026Improve Support for Long-Horizon, Multi-Session Development Tasks — openai/codex1 reaction · 6 comments
- Dec 26, 2025Add explicit content=None to assistant tool-call messages in Chat Completions converter — openai/openai-agents-python1 reaction
- Dec 18, 2025RSTK pll — Rastakhcarbon/Rastakhmind1 reaction · 1 comment
- Feb 19, 2024高级 RAG 技术图解概览 [译] — guevara/read-it-later1 reaction
- Sep 15, 2023Visualize NFCorpus embeddings — castorini/ura-projects1 reaction · 5 comments
- Aug 14, 2022Provide detailed Client API commands in ExplainaBoard Web Platform — neulab/explainaboard_web1 reaction
- Dec 11, 2024Tool-Calling 全链路:模型只提议,其余都是工程 — QingyaFan/blog0 reactions
On Hacker News · 21
- Jan 21, 2023Techniques to improve reliability302 points · 61 comments
- Jan 10, 2023OpenAI Cookbook51 points · 1 comment
- Oct 21, 2025What Makes Documentation Good6 points
- Aug 14, 2023Enhancing Whisper transcriptions: pre- & post-processing techniques5 points
- Apr 19, 2025Examples and guides for using the OpenAI API4 points
16 more on Hacker News
- Feb 28, 2024OpenAI Cookbook: Techniques to improve reliability4 points
- Aug 17, 2023OpenAI cookbook: using GPT-4 as “reference-free” evaluator3 points
- Mar 2, 2023OpenAI Cookbook: How to format inputs to ChatGPT models3 points · 1 comment
- Feb 13, 2023OpenAI Cookbook Weaviate Examples3 points
- Feb 10, 2026An Open Letter on the Epistemic Loss of Retiring GPT‑4o2 points · 3 comments
- Aug 15, 2023Question answering using a Search API2 points
- Jul 31, 2023OpenAI: How to Handle Rate Limits2 points
- Jun 2, 2023Question Answering Using Embeddings2 points
- Apr 14, 2023Question answering using embeddings-based search (OpenAI Cookbook)2 points
- Jan 8, 2023Examples and guides for using the OpenAI API2 points
- Dec 23, 2022Question Answering Using GPT Embeddings2 points
- Dec 19, 2022OpenAI Cookbook2 points
- Dec 3, 2025GPT-5.1 Apply_patch.py Implementation1 point · 1 comment
- Mar 28, 2025Vulnerability Issue related to AI response Markdown conversion1 point · 2 comments
- Mar 19, 2023API Request Parallel Processor1 point
- Dec 19, 2022Recommendation using embeddings and nearest neighbor search1 point
On Bluesky · 13
- Nov 22, 2024📦 openai / openai-cookbook ⭐ 59,906 (+28) 🗒 MDX Examples and guides for using the OpenAI API — @github-trending.bsky.social17 likes and reposts
- Feb 8, 2025📦 openai / openai-cookbook ⭐ 61,585 (+32) 🗒 MDX Examples and guides for using the OpenAI API — @github-trending.bsky.social2 likes and reposts
- Nov 22, 2024Trending today, the OpenAI Cookbook with plenty of code samples and more. github.com/openai/opena... — @trendingrepos.bsky.social2 likes and reposts
- May 16, 2024📦 openai / openai-cookbook ⭐ 56,409 (+69) 🗒 MDX Examples and guides for using the OpenAI API — @github-trending.bsky.social2 likes and reposts
- May 10, 2026OpenAI's collection of working production recipes. RAG, evals, fine-tuning, agent loops. Repo → https://github.com/openai/openai-cookbook… — @adityamitra.bsky.social1 likes and repost · 1 reply
8 more on Bluesky
- Mar 1, 2026Ever wish AI integration was less intimidating? The openai-cookbook flips the script with hands-on Python recipes and stepwise guides for… — @iam.slys.dev1 likes and repost
- Jun 10, 2025OpenAI Cookbook has a great section on preparing docs for LLM ingestion under Retrieval-Augmented Generation. It’s a helpful guide if… — @seogoddess.bsky.social1 likes and repost
- Apr 15, 2025📦 openai / openai-cookbook ⭐ 62,849 (+31) 🗒 MDX Examples and guides for using the OpenAI API — @github-trending.bsky.social1 likes and repost
- Nov 22, 2024今日のGitHubトレンド openai/openai-cookbook このリポジトリはOpenAI APIを使ったコード例とガイドを提供しています。 Python中心ですが、他の言語にも応用可能です。… — @dailygithubtrends.bsky.social1 likes and repost
- Nov 8, 2023🔥 Hot Repo! 🔥 (100+ new stars) 📦 openai / openai-cookbook ⭐ 50,070 (+102) 🗒 MDX Examples and guides for using the OpenAI API — @github-trending.bsky.social1 likes and repost · 1 reply
- Jun 15, 2023🚀 Skyrocketing!(200+ new stars today) 🚀 📦 openai / openai-cookbook ⭐ 39,451 (+355) 🗒 Jupyter Notebook Examples and guides for using the… — @github-trending.bsky.social1 likes and repost
- Aug 17, 2023🚀 Skyrocketing! 🚀 (200+ new stars) 📦 openai / openai-cookbook ⭐ 45,952 (+283) 🗒 Jupyter Notebook Examples and guides for using the… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Aug 3, 2023🔥 Hot Repo! 🔥 (100+ new stars) 📦 openai / openai-cookbook ⭐ 44,527 (+125) 🗒 Jupyter Notebook Examples and guides for using the OpenAI… — @github-trending.bsky.social0 likes and reposts · 1 reply
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- examples/agents_sdk/sandboxed-code-migration/migration_agent/AGENTS.mdAGENTS.md
- docs-editorSkill
- expense-review-policySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
34 rules. About 0 are common, 27 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈27
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill when the user wants a new realtime eval scaffold under examples/evals/realtime_evals/.
- Distinctive: line 18
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 …
- Very specific: line 30
If the user does not know which harness they want, explain the options briefly and recommend one.
- Very specific: line 32
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 …
- Distinctive: line 34
Keep the questions concise and grouped into one short batch whenever possible.
- Very specific: line 36
If the user only provides user_text or a short task description, still ask the questions above first.
- Distinctive: line 40
Ask the user for the required inputs first.
- Distinctive: line 41
Do this before making files or selecting a final harness.
- Distinctive: line 42
If the user already supplied some of the inputs, ask only for the missing ones.
- Distinctive: line 43
If you recommend a harness, wait for the user response before scaffolding.
- Very specific: line 49
If the user wants synthetic audio but does not care about replay-specific audio characteristics, prefer crawl over walk.
- Distinctive: line 52
If the user gives inline prompt or tool content, write it into the generated folder.
- Distinctive: line 53
If the user gives CSV data, inspect it with pandas before wiring it in.
- Distinctive: line 54
If the data is not yet harness-ready, scaffold the files and then have you author the starter dataset directly in those files.
- Very specific: line 55
If the user only gives user_text, infer example_id values and leave optional grading fields blank unless you have enough signal to fill …
- Distinctive: line 63
Do not rely on deterministic script-generated samples for use-case-specific starter data.
- Distinctive: line 66
Run the scaffold script:
- Distinctive: line 72
Add flags for prompt, tools, data, graders, and run-specific fields as needed.
- Distinctive: line 77
If the user provided real data, make sure it is wired in instead of leaving starter placeholders.
- Distinctive: line 78
If you authored inferred starter data, show the user the generated rows or simulations before scaling up.
- Distinctive: line 86
Run a smoke eval for the generated folder.
- Distinctive: line 87
If the smoke eval succeeds, automatically run the full eval for the generated folder in the same turn.
- Distinctive: line 88
If the smoke eval fails, stop and fix or report the blocker before attempting the full eval.
- Very specific: line 94
Keep the generated folder inside examples/evals/realtime_evals/.
- Distinctive: line 95
Ask the user for the missing setup information before scaffolding.
- Distinctive: line 96
Do not duplicate the main harness scripts into the generated folder.
- Distinctive: line 97
Do not write generic placeholder starter data when the use case provides enough context to do better.
- Distinctive: line 98
Use the prompt, tools, and scenario details to make the initial datapoints feel like a real user interaction.
- Distinctive: line 105
Prefer assistant-specific flags for run harness commands:
- Distinctive: line 111
Treat the task as complete only when:
- Distinctive: line 117
if the smoke command succeeded, the full eval command has also been run or is blocked for a clear reason
- Distinctive: line 122
When this skill uncovers a reusable workflow or harness constraint that should guide future bootstrap work, add a short note here.
- Distinctive: line 124
Keep learnings concise and action-oriented:
- Distinctive: line 128
Only add items that are likely to help future realtime-eval scaffolding in this repo.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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_harnessexamples/evals/realtime_evals/walk_harnessexamples/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
- 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.
- 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
crawloverwalk.
- 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, inferexample_idvalues 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.
- 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.
- 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.
- 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.
- Enrich the scaffold.
- For
crawlandwalk, make the CSV realistic and ensure the expected tool columns are present. - For
walk, if the dataset lacksaudio_path, use the sharedwalk_harness/generate_audio.pyflow described in the README. - For
run, make suresimulations.csvand the startersim_*.jsonfile reflect the user’s scenario, tool mocks, and graders.
- For
- 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, andtools.jsonexist- 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 -qhas 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-realtimetemperature is unsupported -> Do not add atemperaturefield or CLI flag when scaffoldinggpt-realtimeevals -> 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
crawltext-to-TTS and reservewalkfor 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

