denia-agent-toolkit

Automate Unity Editor Play mode with log observation and optional RenderDoc capture.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/YXHXianYu/denia-agent-toolkit --skill denia-agent-toolkit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: denia-agent-toolkit
Source: https://github.com/YXHXianYu/denia-agent-toolkit/tree/main
Command: npx skills add https://github.com/YXHXianYu/denia-agent-toolkit --skill denia-agent-toolkit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires opencv-python-headless, pillow, psutil, pyautogui, pywinauto, pywinctl, and includes scripts (resource) components.

What problem does it solve?

This Skill packages the repository's Unity Editor external automation workflow, enabling activation of Unity, waiting for compile or import completion, clicking Play, monitoring Editor.log, deduplicating key logs, and optionally performing RenderDoc captures, to streamline local development automation.

Core Features & Use Cases

  • External Unity Editor automation using scripts/unity-auto-play.py to activate Unity, wait for idle, click Play, observe logs, deduplicate key messages, and stop Play.
  • Optional RenderDoc capture via Unity window template matching when --renderdoc-capture is enabled.
  • Concise, stateful logging and robust handling to reduce manual QA overhead during Unity-based workflows.

Quick Start

Run the Unity auto-play workflow to activate Unity, wait for compilation, enter Play, monitor logs, and auto-stop Play.

Frequently Asked Questions about denia-agent-toolkit

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

FAQPage Schema
How do I automate Unity Editor Play mode from an external script on Windows?

You can automate Unity Editor Play mode externally using a script that activates the Unity window, waits for compilation to finish, clicks Play, monitors Editor.log, and stops Play after a fixed observation window.

Can I capture RenderDoc frames automatically while running a Unity auto-play workflow?

Yes, RenderDoc capture can be enabled during the Unity auto-play workflow by using template matching to detect Unity window buttons and triggering captures when the --renderdoc-capture flag is active.

Does this Unity automation workflow support the Chinese UI theme in Unity 2022 LTS?

Yes, the Unity external automation workflow is specifically designed for Windows environments running Unity 2022 LTS, including robust support for projects utilizing Chinese UI themes.

How are duplicate Unity Editor logs handled during automated Play observation?

During the 10-second post-Play log observation window, the script monitors Editor.log and applies key log deduplication to ensure only concise, stateful messages are recorded, reducing manual QA overhead.

What Python dependencies are required for Windows GUI automation of the Unity Editor?

The Unity automation workflow requires Python dependencies including opencv-python-headless, pillow, psutil, pyautogui, pywinauto, and pywinctl to handle window activation, template matching, and process monitoring.