examples-auto-run

Prebuild and run example scripts in parallel with per-script logs.

3.6k|897|Updated May 31, 2025
One-click install
npx skills add https://github.com/openai/openai-agents-js --skill examples-auto-run-openai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: examples-auto-run
Source: https://github.com/openai/openai-agents-js/tree/main/.agents/skills/examples-auto-run
Command: npx skills add https://github.com/openai/openai-agents-js --skill examples-auto-run-openai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automates end-to-end example execution by prebuilding, starting all demos in parallel, and collecting per-script logs.

Core Features & Use Cases

  • Prebuilds and validates example packages before running.
  • Runs all examples in parallel with per-start logs and a rerun/collect workflow for long-running tasks.
  • Provides start/stop/status/logs/tail utilities and a reusable automation pipeline for development workflows.

Quick Start

Start the auto-run to begin automated example execution with parallel starts and per-script logs.

Frequently Asked Questions about examples-auto-run

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate running multiple example scripts in parallel with per-script logs?

To automate example execution in parallel with per-script logs, use a pipeline that prebuilds packages, starts all demos concurrently, and routes output to isolated log files for capture and review.

What is the best way to rerun failed example scripts automatically after a parallel execution?

The best way to rerun failed example scripts is to use a task orchestration utility that identifies failed entries from previous logs, auto-approves retries, and cleans up stale processes before restarting.

How does deterministic task orchestration work for pnpm development workflows?

Deterministic task orchestration for pnpm workflows works by prebuilding example packages, starting demos in parallel, and collecting per-start logs to ensure consistent, reproducible execution outputs.

Can I capture and tail logs for long-running example scripts started in parallel?

Yes, you can capture and tail logs for long-running examples by using start, stop, status, logs, and tail utilities that route per-script output to dedicated files during parallel execution.

Does this automation pipeline require specific dependencies to run example packages?

No specific external dependencies are required to run the automation pipeline, as it relies on an included run.sh utility and support scripts to manage prebuilds, parallel starts, and log collection.

When should I not use parallel execution for collecting example script outputs?

You should not use parallel execution for example scripts when demos require strict sequential ordering, share conflicting port resources, or lack proper cleanup mechanisms to prevent race conditions.