console-clear-logs

Clears the Unity MCP log cache and Unity Editor Console window.

Updated May 28, 2026
One-click install
npx skills add https://github.com/ishaansingh-ai/Mechanical-2D --skill console-clear-logs-ishaansingh-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: console-clear-logs
Source: https://github.com/ishaansingh-ai/Mechanical-2D/tree/main/.claude/skills/console-clear-logs
Command: npx skills add https://github.com/ishaansingh-ai/Mechanical-2D --skill console-clear-logs-ishaansingh-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? When debugging Unity projects through the MCP CLI, accumulated log noise makes it hard to isolate errors tied to a specific action. This Skill clears both the MCP log cache and the Unity Editor Console so you can capture only the logs generated by the next operation. ## Core Features & Use Cases - Clear MCP Log Cache: Resets the cached log buffer that the console-get-logs tool reads from. - Clear Unity Editor Console: Empties the visible Console window inside the Unity Editor. - Use Case: Before reproducing a bug, clear all logs, perform the failing action, then retrieve logs with console-get-logs to see only the errors relevant to that action. ## Quick Start Ask the AI to clear the Unity console and MCP log cache before running the action you want to debug.

Frequently Asked Questions about console-clear-logs

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

FAQPage Schema
How do I clear the Unity Editor Console from the command line?▼

Run unity-mcp-cli run-tool console-clear-logs with an empty or minimal JSON input. This clears both the Unity Editor Console window and the MCP log cache in one call.

How to isolate Unity errors for a specific action using MCP logs?▼

Call console-clear-logs first to empty the log cache, perform the action you want to test, then use console-get-logs to retrieve only the messages generated by that action.

What should I do if unity-mcp-cli is not found?▼

Install it globally with npm install -g unity-mcp-cli, or prefix commands with npx unity-mcp-cli. The unity-initial-setup skill covers detailed installation steps.

Does console-clear-logs return any data?▼

No, the tool does not return structured output. It only performs the clearing action; use console-get-logs afterward to read new log entries.

When should I not clear Unity logs?▼

Avoid clearing when you need historical log context for an ongoing investigation, since clearing permanently removes the cached entries that console-get-logs would otherwise return.