CH
check-unity
Check Unity console for errors and warnings via MCP
Install
mkdir -p .claude/skills/check-unity && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16786" && unzip -o skill.zip -d .claude/skills/check-unity && rm skill.zipInstalls to .claude/skills/check-unity
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Check Unity console for errors and warnings via MCP51 charsno explicit “when” trigger
About this skill
/check-unity — Unity Console Check
Check Unity console: $ARGUMENTS
Before Starting
Try calling get_console_logs first. If the MCP call fails or returns a connection error:
- Tell the user: "Unity MCP is not connected. Make sure Unity is open and the MCP server is running."
- Stop — do not attempt further MCP calls
Modes
Default (no argument) — errors + warnings
- Get errors:
get_console_logswith logType "error" - Get warnings:
get_console_logswith logType "warning" - Summarize: total count, grouped by type
recompile — recompile + check
- Call
recompile_scriptswith returnWithLogs true - Report compilation result
- If errors — show them grouped by file
tests — run tests
- Call
run_testswith testMode "EditMode" and returnOnlyFailures true - Report pass/fail summary
- For failures — show test name and reason
all — everything
- Recompile
- Check errors/warnings
- Run tests
After Reporting Errors
If errors reference specific files (e.g. NullReferenceException in PlayerController.cs:42):
- Read the file and show the relevant code snippet around the error line
- This helps the user understand the problem without switching to the editor
Output Format
Unity Console:
Errors: N
Warnings: N
[Details if any]
[Code snippets for errors, if file paths are available]
Status: ALL CLEAR / ACTION REQUIRED