unity-console

Capture, query, and configure Unity Editor console logs.

Updated Aug 18, 2026
One-click install
npx skills add https://github.com/ethanJPope/Our-Main-Hackathon-Game --skill unity-console-ethanjpope
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-console
Source: https://github.com/ethanJPope/Our-Main-Hackathon-Game/tree/main/.agents/skills/unity-skills/skills/console
Command: npx skills add https://github.com/ethanJPope/Our-Main-Hackathon-Game --skill unity-console-ethanjpope

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Debugging Unity projects requires constant manual inspection of the Editor console to find errors, warnings, and runtime logs. This Skill lets an AI agent programmatically capture, filter, export, and configure console output without manual clicking. ## Core Features & Use Cases - Log Capture & Query: Start and stop log capture sessions, then retrieve logs filtered by type (Error/Warning/Log) or substring, with timestamps or file/line references. - Console Configuration: Toggle Error Pause, collapse mode, and clear-on-play settings, plus write custom log messages to mark agent actions. - Export & Statistics: Export console logs to a file and get counts by log type for quick health checks. - Use Case: Before entering Play mode, start capture, run gameplay, then pull only Error-type logs to immediately surface runtime failures and export them to Assets/console_log.txt for review. ## Quick Start Start capturing the Unity console, run the game in Play mode, then show me all error logs and export them to a file.

Frequently Asked Questions about unity-console

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

FAQPage Schema
How do I capture Unity console logs during Play mode?

Call console_start_capture before entering Play mode, run your gameplay, then call console_get_logs to retrieve the captured buffer with timestamps. Call console_stop_capture when finished to free resources.

How to filter Unity console errors programmatically?

Use console_get_logs with the type parameter set to Error, optionally adding a filter substring to match message content. The limit parameter caps results, defaulting to 100 entries.

What is the difference between console_get_logs and debug_get_logs in Unity skills?

console_get_logs reads the captured buffer or Unity Console history, while debug_get_logs reads all console entries. For compilation errors or stack traces, use the debug module's debug_check_compilation or debug_get_stack_trace instead.

Can I export Unity console logs to a file?

Yes, console_export writes logs to a file, defaulting to Assets/console_log.txt. It uses the captured buffer if capture is active, otherwise it reads directly from Unity Console history without any setup.

Why does console_get_stats return different fields sometimes?

The return shape depends on mode. Capture mode reports logs, warnings, errors, exceptions, and asserts; direct mode reading console history only reports logs, warnings, and errors, folding exceptions and asserts into errors.