runtime-behavior-probe
Skill3.9k starsChanged 10 months agoMITView on GitHub
Plan and, after explicit approval, execute runtime-behavior probes for local or live integrations. Use only when explicitly invoked to verify behavior that code review and normal tests cannot settle; define a controlled validation matrix, keep disposable JS probes outside tracked paths, and report observed evidence.
- Reads credentials
1 other project uses a version of this, 1 of them edited.
Trending
Quiet since September.about the whole repository
Most recently taken up by
- openai/openai-agents-pythonedited, first seen Sep 8, 2026
Who's talking about openai/openai-agents-js
- browserbase/stagehand“Support latest Vercel AI SDK (LanguageModelV3) in AISdkClient / Stagehand”GitHub · Jan 31, 2026 · 16 reactions
- @boyney123.bsky.social“Just seen OpenAI just released this.... Lightweight yet powerful framework for building multi-agent …”Bluesky · Jun 3, 2025 · 11 likes
- openai/openai-agents-python“feat: Add on_stream to agents as tools”GitHub · Dec 11, 2025 · 4 reactions
- getsentry/sentry-javascript“Add instrumentation for `@openai/agents`”GitHub · Jul 11, 2025 · 4 reactions
- A Hacker News story“OpenAI Agents SDK (TS): voice and multi-agent framework, MIT-licensed”Hacker News · Jun 28, 2025 · 3 points
The biggest 5 of 49 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 49
Talked about on GitHub, Bluesky and Hacker News (49 times).
On GitHub · 44
- Jan 31, 2026Support latest Vercel AI SDK (LanguageModelV3) in AISdkClient / Stagehand — browserbase/stagehand16 reactions · 1 comment
- Dec 11, 2025feat: Add on_stream to agents as tools — openai/openai-agents-python4 reactions · 4 comments
- Jul 11, 2025Add instrumentation for `@openai/agents` — getsentry/sentry-javascript4 reactions · 1 comment
- Sep 14, 2026chore(deps): bump the ai-and-llm group across 1 directory with 17 updates — DataDog/dd-trace-js2 reactions · 3 comments
- Aug 20, 2026chore(deps): bump the ai-and-llm group across 1 directory with 3 updates — DataDog/dd-trace-js2 reactions · 3 comments
39 more on GitHub
- Aug 19, 2026chore(deps): bump the ai-and-llm group across 1 directory with 3 updates — DataDog/dd-trace-js2 reactions · 2 comments
- Aug 17, 2026chore(deps): bump the ai-and-llm group across 1 directory with 15 updates — DataDog/dd-trace-js2 reactions · 3 comments
- Aug 10, 2026chore(deps): bump the ai-and-llm group across 1 directory with 16 updates — DataDog/dd-trace-js2 reactions · 3 comments
- Jul 31, 2026Aborting a streaming Responses API request drops the function_call item, breaking the next turn with 400 "No tool call found for function call output" — openai/openai-python2 reactions · 15 comments
- Jul 29, 2026feat(sandbox): support native host paths in path grants — openai/openai-agents-python2 reactions
- Jul 21, 2026chore(deps): bump the ai-and-llm group across 1 directory with 11 updates — DataDog/dd-trace-js2 reactions · 2 comments
- Jul 17, 2026chore(deps): bump the ai-and-llm group across 1 directory with 8 updates — DataDog/dd-trace-js2 reactions · 3 comments
- Jul 14, 2026feat: add Programmatic Tool Calling support — openai/openai-agents-python2 reactions
- Jun 4, 2026chore(deps): bump @openai/agents from 0.8.4 to 0.11.6 — moshehbenavraham/jobhunt2 reactions · 5 comments
- Jun 3, 2026chore(deps): bump the ai-and-llm group across 1 directory with 6 updates — DataDog/dd-trace-js2 reactions · 4 comments
- May 26, 2026chore(deps): bump @openai/agents from 0.8.4 to 0.11.5 — moshehbenavraham/jobhunt2 reactions · 4 comments
- May 26, 2026chore(deps): bump the ai-and-llm group across 1 directory with 4 updates — DataDog/dd-trace-js2 reactions · 4 comments
- May 25, 2026chore(deps-dev): bump the root-dev-patches group with 2 updates — danielgonzagat/Kloel2 reactions · 5 comments
- May 22, 2026feat: add pre-approval tool input guardrails — openai/openai-agents-python2 reactions · 1 comment
- May 19, 2026chore(deps-dev): bump the root-dev-patches group with 2 updates — danielgonzagat/Kloel2 reactions · 4 comments
- May 12, 2026chore(deps): bump @openai/agents from 0.8.4 to 0.11.4 — moshehbenavraham/jobhunt2 reactions · 6 comments
- May 12, 2026chore(deps-dev): bump the root-dev-patches group with 3 updates — danielgonzagat/Kloel2 reactions · 4 comments
- May 11, 2026chore(deps-dev): bump the root-dev-patches group with 2 updates — danielgonzagat/Kloel2 reactions · 4 comments
- May 8, 2026chore(deps-dev): bump the root-dev-patches group with 2 updates — danielgonzagat/Kloel2 reactions · 4 comments
- May 7, 2026chore(deps-dev): bump the root-dev-patches group with 2 updates — danielgonzagat/Kloel2 reactions · 3 comments
- May 6, 2026feat: switch the default model to a newer mini model (affecting only when a model is unset) — openai/openai-agents-python2 reactions · 1 comment
- May 6, 2026chore(deps-dev): bump the root-dev-patches group across 1 directory with 2 updates — danielgonzagat/Kloel2 reactions · 4 comments
- May 5, 2026chore(deps): bump @openai/agents from 0.8.4 to 0.11.4 — moshehbenavraham/jobhunt2 reactions · 9 comments
- Apr 21, 2026chore(deps): bump @openai/agents from 0.8.4 to 0.8.5 — moshehbenavraham/jobhunt2 reactions · 3 comments
- Apr 17, 2026fix: normalize compacted Responses user inputs before session reuse — openai/openai-agents-python2 reactions
- Mar 11, 2026feat: add opt-in model retry policies — openai/openai-agents-python2 reactions · 1 comment
- Dec 20, 2025Add AgentHookContext with turn_input for agent hooks — openai/openai-agents-python2 reactions · 3 comments
- Sep 10, 2026chore: bump @openai/agents from 0.1.11 to 0.17.0 — openai/openai-guardrails-js1 reaction · 1 comment
- Aug 15, 2026feat: add model call timeouts — openai/openai-agents-python1 reaction
- Aug 7, 2026chore(deps): bump the ai-and-llm group across 1 directory with 12 updates — DataDog/dd-trace-js1 reaction · 4 comments
- Aug 3, 2026chore(deps): bump the ai-and-llm group across 1 directory with 11 updates — DataDog/dd-trace-js1 reaction · 4 comments
- Aug 2, 2026fix(realtime): apply output guardrails to text deltas — openai/openai-agents-python1 reaction
- Jul 20, 2026chore(deps): bump the ai-and-llm group across 1 directory with 12 updates — DataDog/dd-trace-js1 reaction · 4 comments
- Jul 16, 2026chore(deps): bump the ai-and-llm group across 1 directory with 7 updates — DataDog/dd-trace-js1 reaction · 4 comments
- Jun 24, 2026chore(deps): bump the ai-and-llm group across 1 directory with 12 updates — DataDog/dd-trace-js1 reaction · 4 comments
- Jun 22, 2026chore(deps): bump the ai-and-llm group across 1 directory with 18 updates — DataDog/dd-trace-js1 reaction · 6 comments
- Jun 22, 2026chore(deps): bump the ai-and-llm group across 1 directory with 17 updates — DataDog/dd-trace-js1 reaction · 4 comments
- May 29, 2026chore(deps-dev): bump @openai/agents from 0.11.5 to 0.11.6 in the root-dev-patches group — danielgonzagat/Kloel1 reaction · 3 comments
- May 9, 2026fix: preserve GitRepo root subpath aliases — openai/openai-agents-python1 reaction
On Bluesky · 3
- Jun 3, 2025Just seen OpenAI just released this.... Lightweight yet powerful framework for building multi-agent workflows in JavaScript/TypeScript. It… — @boyney123.bsky.social11 likes and reposts · 1 reply
- Apr 17, 2026📦 openai / openai-agents-js ⭐ 2,696 (+36) 🗒 TypeScript A lightweight, powerful framework for multi-agent workflows and voice agents — @github-trending-js.bsky.social2 likes and reposts
- Oct 7, 2025📦 openai / openai-agents-js ⭐ 1,562 (+42) 🗒 TypeScript A lightweight, powerful framework for multi-agent workflows and voice agents — @github-trending-js.bsky.social1 likes and repost
On Hacker News · 2
- Jun 28, 2025OpenAI Agents SDK (TS): voice and multi-agent framework, MIT-licensed3 points
- Aug 3, 2025OpenAI Agents SDK (JavaScript/TypeScript)1 point
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- openai/openai-agents-python★ 30k88% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository19 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- changeset-validationSkill
- code-change-verificationSkill
- docs-syncSkill
- examples-run-analysisSkill
- final-release-reviewSkill
- implementation-final-reviewSkill
- implementation-kickoffSkill
- implementation-strategySkill
- maintainer-reviewSkill
- openai-knowledgeSkill
- pnpm-upgradeSkill
- pr-draft-summarySkill
- sensitive-logging-auditSkill
- test-coverage-improverSkill
- invoice-total-fixerSkill
- credit-note-fixerSkill
- csv-workbenchSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
40 rules. About 0 are common, 21 are distinctive, and 19 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈21
Distinctive · estimate
This author's own choices. Worth a look.
19
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill to investigate real runtime behavior, not to restate code or documentation.
- Distinctive: line 14
Treat this skill as manual-only.
- Distinctive: line 16
Before requesting approval, disclose the source identity, exact command, transitively executed material, known filesystem, environment, …
- Distinctive: line 17
Wait for an affirmative response before executing the probe.
- Distinctive: line 23
If your draft plan would touch a disallowed path, stop and rewrite the plan before editing anything.
- Distinctive: line 26
Default to proposing local or read-only probes.
- Distinctive: line 28
Before a live probe, apply three lightweight gates:
- Distinctive: line 33
Use temporary files or a temporary directory for one-off probe scripts.
- Very specific: line 36
Before executing a live probe that will read environment variables, tell the user the exact variable names you plan to use and why, then …
- Distinctive: line 38
Never print secrets, even when they come from standard environment variables that this skill may use.
- Very specific: line 45
Treat container_auto and container_reference as separate cases, not interchangeable setup details.
- Distinctive: line 52
Do a short preflight. Check the relevant code or docs first, decide whether the question needs local or live validation, and note any repo, …
- Distinctive: line 54
Create a validation matrix before executing probes.
- Distinctive: line 62
When the question is benchmark-like or comparative, run in phases.
- Very specific: line 63
If the question is about a suspected regression or behavior change, add at least one known-good control case such as origin/main, the …
- Very specific: line 69
If you are about to propose a checked-in script, example, benchmark, or workspace script for openai-agents-js, stop and verify that the …
- Very specific: line 72
Run TypeScript probes from the repository root with pnpm exec tsx when practical.
- Very specific: line 75
Avoid accidental imports from a different checkout or from /tmp/node_modules.
- Very specific: line 76
Prefer current-branch src/ imports when the question is "what does this branch do now?" and prefer dist/ imports only when the question is …
- Very specific: line 77
Do not run a repository-wide build just to typecheck a disposable probe.
- Distinctive: line 81
Update the matrix with actual outcomes, not guesses.
- Distinctive: line 84
If the probe isolates one clear defect, you may include a short implementation hypothesis or minimal repro direction.
- Very specific: line 88
Use a matrix that makes the news easy to scan.
- Distinctive: line 90
Use a matrix with at least these columns:
- Distinctive: line 101
Add these columns when they materially improve the investigation:
- Very specific: line 119
Treat result_flag as a fast scan field such as unexpected, negative, expected, or blocked.
- Distinctive: line 121
Always consider whether the matrix should include these categories:
- Very specific: line 137
Write one-off scripts in a temporary file or temporary directory such as one created by mktemp -d.
- Very specific: line 144
Write probe.ts and tsconfig.json into $tmpdir
- Very specific: line 146
If the quick typecheck passes, run pnpm exec tsx "$tmpdir/probe.ts"
- Very specific: line 147
Only run pnpm build if the probe intentionally imports dist/ or validates packaged output
- Very specific: line 149
Use a temporary tsconfig.json that extends the repository example settings but includes only the disposable probe, for example:
- Distinctive: line 161
If the probe needs repository code:
- Distinctive: line 163
Run it with the repository root as the working directory.
- Very specific: line 164
Use pnpm exec tsx /tmp/probe.ts from the repository root when practical.
- Very specific: line 165
Use pnpm exec tsc --noEmit -p /tmp/probe-tsconfig.json as the default quick typecheck step before executing the probe.
- Very specific: line 166
Import repository modules with a file:// URL built from process.cwd() and a repo-relative path.
- Very specific: line 167
Use src/ imports for current-branch behavior probes and dist/ imports for packaged-output probes.
- Distinctive: line 178
Keep branching minimal so each script answers a narrow question.
- Distinctive: line 180
Before deleting the temporary script or directory, keep a short run summary of the script path, command used, runtime context, and whether …
≈ “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
Runtime Behavior Probe
Overview
Use this skill to investigate real runtime behavior, not to restate code or documentation. Start by planning the investigation, then execute a case matrix, record observed behavior, and report both the findings and the method used to obtain them.
Core Rules
- Treat this skill as manual-only. Do not rely on implicit invocation.
- Invoking this skill authorizes planning only. Every runtime probe requires explicit user approval after the exact probe has been proposed. Do not infer execution approval from the skill invocation or a general request to investigate runtime behavior.
- Before requesting approval, disclose the source identity, exact command, transitively executed material, known filesystem, environment, network, and host-service capabilities, expected side effects, and control for the proposed probe. Mark unknown capabilities as unknown rather than assuming that they are unavailable.
- Wait for an affirmative response before executing the probe. Approval is bound to the disclosed source, command, executed material, and capability scope. Obtain new approval before changing any of those fields, adding another probe, or expanding the approved matrix.
- For
openai-agents-js, treat this skill as a disposable-probe workflow, not a repository implementation workflow. - Unless the user explicitly asks for a reusable repository artifact, the allowed write scope is limited to:
- a temporary directory used for probe scripts or artifacts
.agents/skills/runtime-behavior-probe/**when the user is editing this skill itself
- For disposable probes in
openai-agents-js, do not modifyexamples/**,packages/**, anypackage.json,README.md, workspace config, or build config. - If your draft plan would touch a disallowed path, stop and rewrite the plan before editing anything.
- A baseline success or smoke case is often the right entry point, but do not stop there when the real question involves edge cases, drift, or failure behavior.
- Plan before running anything. Write the case matrix first, then fill it in with observed results. The matrix can live in a scratch note, a temporary file, or the probe script header.
- Default to proposing local or read-only probes. Consider a live service only when it is clearly relevant, then apply the lightweight gates below before requesting approval.
- Size the probe to the decision. Start with the smallest matrix that can disqualify or validate the current hypothesis, then expand only when uncertainty remains.
- Before a live probe, apply three lightweight gates:
- Destination gate. Use only a live destination that is clearly allowed for the task.
- Intent gate. Propose a live probe only when the user explicitly wants runtime verification on that integration. Execution still requires separate approval after the exact probe is proposed.
- Data gate. If the probe will read environment variables, mutate remote state, incur material cost, or exercise non-public or user data, name the exact variable names or data class and get explicit approval first.
- Classify each case as read-only, mutating, or costly before execution. For mutating or costly cases, or for any live case that will read environment variables, define cleanup or rollback before running the probe.
- Use temporary files or a temporary directory for one-off probe scripts.
- In
openai-agents-js, use disposable probe files outside git-tracked paths by default. Do not add one-off probes, harnesses, benchmarks, or examples underexamples/,packages/, or other repository directories unless the user explicitly asks for a checked-in artifact. - Keep temporary artifacts until the final response is drafted. Then delete them by default unless the user asked to keep them or they are needed for follow-up. Even when artifacts are deleted, keep a short run summary of the command shape, runtime context, and artifact status in the report.
- Before executing a live probe that will read environment variables, tell the user the exact variable names you plan to use and why, then wait for explicit approval. Examples include
OPENAI_API_KEYand other expected default names for the system under test. - When the environment-variable approval gate is required and the
request_user_inputtool is available, use that tool instead of a plain-text approval question. Ask one concise question with mutually exclusive choices such asAllow once (Recommended)andDo not allow, omitautoResolutionMs, and make the approval single-probe and limited to the exact named variables and destination. If the tool is unavailable, fall back to a concise plain-text approval question and do not proceed until the user explicitly approves. - Never print secrets, even when they come from standard environment variables that this skill may use.
- For OpenAI API or OpenAI platform probes in this repository, use $openai-knowledge early to confirm contract-sensitive details such as supported parameters, field names, and limits. Use runtime probing to validate or challenge the documented behavior, not to skip the documentation pass entirely. If the docs MCP is unavailable, fall back to the official OpenAI docs and say that you used the fallback in the report.
- For benchmark or comparison probes, make parity explicit before execution. Record what is held constant, what variable is under test, which response-shape constraints keep the comparison fair, and any usage or token counters that matter for interpreting latency or cost.
- In
openai-agents-js, default to a light local loop for probe authoring: temporaryprobe.tsplus temporarytsconfig.json,pnpm exec tsc --noEmit -p <tmp-tsconfig>, thenpnpm exec tsx <tmp-probe>. Escalate topnpm buildonly when the runtime question is specifically aboutdist/, emitted exports, or packaged output. - In
openai-agents-js, do not treat a request for runtime verification, benchmarking, or model comparison as permission to add a reusable example, benchmark harness, package script, or checked-in sample. Those repository changes require explicit user intent. - For OpenAI hosted tool probes, remove setup ambiguity before attributing a negative result to runtime behavior:
- Force the tool path with the matching
tool_choicewhen the question depends on tool invocation. - Treat
container_autoandcontainer_referenceas separate cases, not interchangeable setup details. - Clear unsupported model or tool options first so they do not invalidate the probe.
- Force the tool path with the matching
Workflow
- Restate the investigation target in operational terms. Name the runtime surface, the key uncertainty, and the highest-risk behaviors to test.
- For
openai-agents-js, declare the allowed write scope before you do any implementation work. For a normal disposable probe, that means a temporary directory only. - Do a short preflight. Check the relevant code or docs first, decide whether the question needs local or live validation, and note any repo, baseline, or release boundary that matters.
- Define the decision signal before building the matrix. For a suspected defect, name the exact user-visible symptom, the command or probe that can distinguish it from correct behavior, the expected failing observation, and a known-good control. Confirm that the signal exercises the real producer and caller path rather than only an adjacent helper. Prefer a fast, deterministic local loop when one can answer the question. If no credible signal can be built, state the missing access or artifact and do not substitute a nearby behavior as proof.
- Create a validation matrix before executing probes. Cover both baseline behavior and the most relevant failure or drift cases. The matrix can live in a scratch note, a temporary file, or a structured header inside the probe script.
- For each case, choose an execution mode up front:
single-shotfor deterministic one-run checks.repeat-Nfor cache, retry, streaming, interruption, rate-limit, concurrency, or other run-to-run-sensitive behavior.warm-up + repeat-Nwhen first-run cold-start effects could distort the result. Use these defaults unless the task clearly needs something else:- Quick screen of a repeat-sensitive question:
repeat-3. - Decision-grade latency or release recommendation:
warm-up + repeat-10. - Costly live cases: start at
repeat-3, then expand only if the answer remains unclear. If it is genuinely unclear whether extra runs are worth the time or cost, ask the user before expanding the probe.
- When the question is benchmark-like or comparative, run in phases. Start with a high-signal pilot matrix against a control, then expand only the surviving candidates or unresolved cases.
- If the question is about a suspected regression or behavior change, add at least one known-good control case such as
origin/main, the latest release, or the same request without the suspected option. - For comparative probes, define parity before execution. Record prompt or input shape, tool-choice setup, model-settings parity, state reuse rules, and any response-shape constraint that keeps the comparison fair. If materially different output length could bias the result, record usage or token notes too.
- If the question asks whether one option has the same intelligence or quality as another, decide whether the matrix supports only example-pattern parity or a broader quality claim. For broader claims, add at least one harder or more open-ended case. Otherwise say explicitly that the result is limited to the covered patterns.
- Plan state controls before execution when hidden state could affect the result. Record whether each case uses fresh or reused state, how cache reuse or cache busting is handled, what unique IDs isolate repeated runs, and how cleanup is verified.
- If any live case will read environment variables, list the exact variable names and purpose for each case, then ask the user for approval before execution. Prefer
request_user_inputfor this gate when it is available, with no auto-resolution and choices that grant or deny only this specific probe. Keep the approval ask short and include destination, read-only versus mutating or costly risk, exact variable names, and cleanup or rollback if relevant. - Build task-specific probe scripts in a temporary location. Keep the script small, observable, and easy to discard.
- If you are about to propose a checked-in script, example, benchmark, or workspace script for
openai-agents-js, stop and verify that the user explicitly asked for a reusable repository artifact. If not, keep the probe temporary. - In
openai-agents-js, make the runtime context explicit:
- Run TypeScript probes from the repository root with
pnpm exec tsxwhen practical. - For probe authoring, create both
probe.tsand a sibling temporarytsconfig.jsonundermktemp -d, then runpnpm exec tsc --noEmit -p <tmp-tsconfig>before the first live execution. - Record the current commit, working directory, Node executable, Node version, and the package or source path you imported.
- Avoid accidental imports from a different checkout or from
/tmp/node_modules. If the probe needs repository code, import it from a repository-relativefile://URL rooted atprocess.cwd(). - Prefer current-branch
src/imports when the question is "what does this branch do now?" and preferdist/imports only when the question is specifically about packaged output after a build. - Do not run a repository-wide build just to typecheck a disposable probe. Reserve
pnpm buildfordist/probes or when emitted output is itself part of the question.
- Present the complete probe proposal with the disclosures required above, including the exact command for each case or approved matrix, then ask the user for explicit approval and wait.
- Execute only the approved matrix and capture evidence. Record request shape, setup, observation summary, unexpected or negative result, error details, timing, runtime context, approved environment-variable names, repeat counts, warm-up handling, variance when relevant, cleanup behavior, and for comparisons note what was held constant plus any response-shape or usage notes that affect interpretation.
- Update the matrix with actual outcomes, not guesses.
- Keep temporary artifacts until the final response is drafted. Then delete them unless the user asked to keep them or they are needed for follow-up. Benchmark and repeat-heavy probes often need follow-up, so keeping artifacts is normal when the result may be revisited. If deleted, retain and report a short run summary.
- Report findings first, with unexpected or negative findings first. Then summarize how the validation was performed and which cases were covered.
- If the probe isolates one clear defect, you may include a short implementation hypothesis or minimal repro direction. Do not expand into a larger next-step plan unless the user asked for it.
Validation Matrix
Use a matrix that makes the news easy to scan. Start from the runtime question and the observation summary, not just from expected and pass or fail.
Use a matrix with at least these columns:
case_idscenariomodequestionsetupobservation_summaryresult_flagevidence
Add these columns when they materially improve the investigation:
comparison_basisvariable_under_testheld_constantoutput_constraintstatusconfidencestate_setuprepeatswarm_upvarianceusage_noterisk_profileenv_varsapprovalcontrol
Treat result_flag as a fast scan field such as unexpected, negative, expected, or blocked. Use status only when there is a credible comparison basis, baseline, or documented contract to compare against.
Always consider whether the matrix should include these categories:
- Baseline success.
- Control or baseline comparison when a regression is suspected.
- Boundary input or parameter variation.
- Invalid or unsupported input.
- Missing or incorrect configuration.
- Transient external failure such as timeout, network interruption, or rate limiting.
- Retry, idempotence, or cleanup behavior.
- Concurrency or overlapping operations when shared state or ordering may matter.
- Open-ended quality or intelligence samples when the question is broader than pattern parity.
Open validation-matrix.md when you need a stronger prioritization model or a reusable case template.
Temporary Probe Scripts
Write one-off scripts in a temporary file or temporary directory such as one created by mktemp -d. Keep the script outside the repository by default, even when it imports code from the repository.
For openai-agents-js, a disposable runtime probe should stay disposable. Do not add a package script, modify workspace config, or create a checked-in benchmark or example unless the user explicitly asks for a reusable repository artifact.
For openai-agents-js, the default authoring loop should be:
tmpdir=$(mktemp -d)- Write
probe.tsandtsconfig.jsoninto$tmpdir - From the repository root, run
pnpm exec tsc --noEmit -p "$tmpdir/tsconfig.json" - If the quick typecheck passes, run
pnpm exec tsx "$tmpdir/probe.ts" - Only run
pnpm buildif the probe intentionally importsdist/or validates packaged output
Use a temporary tsconfig.json that extends the repository example settings but includes only the disposable probe, for example:
{
"extends": "/absolute/path/to/openai-agents-js/tsconfig.examples.json",
"compilerOptions": {
"noEmit": true
},
"include": ["./probe.ts"]
}If the probe needs repository code:
- Run it with the repository root as the working directory.
- Use
pnpm exec tsx /tmp/probe.tsfrom the repository root when practical. - Use
pnpm exec tsc --noEmit -p /tmp/probe-tsconfig.jsonas the default quick typecheck step before executing the probe. - Import repository modules with a
file://URL built fromprocess.cwd()and a repo-relative path. Do not assume bare workspace imports such as@openai/agents-corewill resolve from/tmp. - Use
src/imports for current-branch behavior probes anddist/imports for packaged-output probes.
Design the probe to maximize observability:
- Print or log the exact scenario being exercised.
- Capture runtime context such as git SHA, working directory, Node executable and version, relevant package versions, model or deployment name, endpoint or base URL alias, and any retry or tool options that materially affect behavior.
- For live probes, record only the names of environment variables that were approved for use. Never print their values.
- Capture structured outputs when possible.
- Preserve raw error type, message, and status code.
- For repeat-sensitive cases, capture the attempt index, warm-up status, and any stable identifiers that help compare runs.
- For repeated or benchmark-style probes, write both raw results and a compact summary artifact when practical.
- Keep branching minimal so each script answers a narrow question.
Before deleting the temporary script or directory, keep a short run summary of the script path, command used, runtime context, and whether the evidence was kept or deleted.
Open typescript_probe.ts when you want a lightweight disposable TypeScript probe scaffold. Open repo-import-patterns.md when you need to load current-branch workspace code from a temporary script.
Reporting
Report in this order:
- Findings. Put unexpected or negative findings first. If there was no real news, say that explicitly.
- Validation approach. Summarize the code used, the runtime surface exercised, the execution modes, and the case matrix coverage.
- Case results. Include the matrix or a condensed version of it when the case count is large.
- Artifact status and brief run summary. State whether temporary artifacts were deleted or kept, and provide kept paths or the retained summary.
- Optional implementation note. Include this only when one clear defect was isolated and a short implementation direction would help.
For comparative probes, the report should also say what was held constant, what variable was under test, and whether the result supports only pattern parity or a broader quality claim.
Open reporting-format.md for the recommended response template.
Resources
- Open validation-matrix.md to design and prioritize the case matrix.
- Open error-cases.md to expand common failure scenarios.
- Open openai-runtime-patterns.md for recurring OpenAI and Responses API probe patterns.
- Open repo-import-patterns.md for repository-relative TypeScript import guidance.
- Open reporting-format.md for the final report structure.
- Open typescript_probe.ts for a minimal disposable TypeScript probe scaffold.
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.

