examples-auto-run

Run Python examples in auto mode and capture logs.

Updated Feb 15, 2026
One-click install
npx skills add https://github.com/Dino-Stark/generic-agent-core --skill examples-auto-run-dino-stark
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: examples-auto-run
Source: https://github.com/Dino-Stark/generic-agent-core/tree/main/references/openai-agents-python-main/.agents/skills/examples-auto-run
Command: npx skills add https://github.com/Dino-Stark/generic-agent-core --skill examples-auto-run-dino-stark

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the execution of Python examples, streamlining the testing and validation process by running them in a non-interactive, auto-approval mode.

Core Features & Use Cases

  • Automated Execution: Runs uv run examples/run_examples.py with automatic input and approval.
  • Logging: Captures detailed logs for each example and a main summary log.
  • Failure Rerun: Generates a list of failed examples for easy re-execution.
  • Use Case: Developers can use this Skill to automatically run a suite of example scripts, ensuring they function correctly without manual intervention, and quickly re-run only the ones that failed in the previous attempt.

Quick Start

Start the examples in auto mode by running the start command.

Frequently Asked Questions about examples-auto-run

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

FAQPage Schema
How do I run Python examples automatically without manual input?

You can automate Python example execution by running `uv run examples/run_examples.py` with `EXAMPLES_INTERACTIVE_MODE=auto`. This automatically approves inputs and streamlines the validation process without requiring manual intervention during the script run.

What is the best way to capture logs for automated Python example runs?

Capturing logs for automated Python example runs generates detailed per-example logs alongside a main summary log. This ensures you can review the execution flow and identify specific issues across the entire suite without manually monitoring the console output.

How do I re-run only the failed examples from a previous Python test execution?

To re-run failed Python examples, enable the `--write-rerun` flag during the automated execution. This generates a rerun list of failures, allowing you to quickly collect and execute only the specific examples that failed in the previous attempt.

Does this automated Python example runner require any specific dependencies?

This automated Python example runner operates without external dependencies. It directly automates the execution of your Python examples and provides helper functions for starting, stopping, checking status, and tailing logs independently of other packages.

Can I check the status and tail logs of running Python examples?

Yes, you can check the status and tail logs of running Python examples. The skill provides dedicated helper functions that allow you to monitor active execution, view captured per-example logs, and tail the main summary log in real-time.