console-clear-logs

console-clear-logs is a skill for Claude Code from IvanMurzak/Unity-MCP. It costs 41 tokens per session (393 once invoked), scanned A, original, Apache-2.0.

A cleanup tool for the Unity Editor Console and the log cache used by the Unity connection. It removes existing messages so later logs show only what happened during a chosen action.

In plain words
What is it for?
Use it before reproducing or debugging a Unity action when you need a clean set of console and connection logs.
Why use it?
Old messages can hide the errors caused by the change being tested. Clearing both places makes it easier to connect new warnings or errors with one operation.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it before reproducing or debugging a Unity action when you need…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ivanmurzak/unity-mcp/console-clear-logs
About the project

Unity-MCP connects AI coding agents to the Unity game engine through MCP, letting them work with the Unity Editor and running games. It is used by game developers to generate code, automate development and testing, debug projects, and add AI-driven behavior to games. The catalogue entries provide skills, instructions, an MCP integration, and settings for operating this workflow.

IvanMurzak/Unity-MCP · 4,177 stars · on GitHub · ai-game.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add IvanMurzak/Unity-MCP --skill console-clear-logs
Clone the repo
git clone --depth 1 https://github.com/IvanMurzak/Unity-MCP

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for console-clear-logs

README.md
[![agentmods](https://agentmods.dev/badge/skills/ivanmurzak/unity-mcp/console-clear-logs.svg)](https://agentmods.dev/skills/ivanmurzak/unity-mcp/console-clear-logs)
Your own site
<a href="https://agentmods.dev/skills/ivanmurzak/unity-mcp/console-clear-logs"><img src="https://agentmods.dev/badge/skills/ivanmurzak/unity-mcp/console-clear-logs.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 393 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00393
Opus 5 $0.00020 $0.00197
Sonnet 5 $0.00008 $0.00079
Haiku 4.5 $0.00004 $0.00039

Measured 7d ago against content hash 8ea809fa0662, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

console-clear-logs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Unity-MCP-Plugin/.claude/skills/console-clear-logs/SKILL.md · 63 lines

What it actually says

Console / Clear Logs

Clears the MCP log cache (used by console-get-logs) and the Unity Editor Console window. Useful for isolating errors related to a specific action by clearing logs before performing the action.

Behavior

Calls Debug.ClearDeveloperConsole() to wipe the Editor Console, then clears the MCP-side LogCollector cache so subsequent 'console-get-logs' calls only see new entries.

How to Call

unity-mcp-cli run-tool console-clear-logs --input '{
  "nothing": "string_value"
}'

For complex input (multi-line strings, code), save the JSON to a file and use:

unity-mcp-cli run-tool console-clear-logs --input-file args.json

Or pipe via stdin (recommended):

unity-mcp-cli run-tool console-clear-logs --input-file - <<'EOF'
{"param": "value"}
EOF

Troubleshooting

If unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead. Read the /unity-initial-setup skill for detailed installation instructions.

Input

Name Type Required Description
nothing string No

Input JSON Schema

{
  "type": "object",
  "properties": {
    "nothing": {
      "type": "string"
    }
  }
}

Output

This tool does not return structured output.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 63 lines · 41 tokens per session scan A 8ea809fa0662

Subscribe to this mod's changes

console-clear-logs is a skill published in the GitHub repository IvanMurzak/Unity-MCP (4,177 stars, last pushed 2d ago), licensed Apache-2.0. It adds 41 tokens to every session and 393 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

uw-unity-debugging

Systematic 4-phase debugging framework for Unity projects with GameDebug wrapper generation. Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes. Triggers on requests like "this doesn't work", "there's a bug", "it crashes when", "fix this error", "why is this happening", "null…

devdavv/unity-ai-workflow · 116 tokens

unity-diagnostics

Domain skill — Probe Unity main-thread readiness, inspect persistent jobs, read bounded Console messages, and capture a Play-Mode Game View PNG. Use for install, compile, build, and gameplay verification. Not for clearing logs or arbitrary Editor access.

dcc-mcp/dcc-mcp-unity · 53 tokens

unity-runtime-performance

Use for runtime performance triage from the project filesystem: quality tiers, graphics/URP-HDRP settings, lighting, large assets, scene complexity proxies, and build-size hotspots (no Editor Profiler required).

rachitkumarrastogi/unity-mcp-server · 47 tokens

unity-broken-refs-triage

Use when prefabs/scenes show Missing Script or pink materials: triage broken script and asset GUID references and decide fix order.

rachitkumarrastogi/unity-mcp-server · 35 tokens

unity-memory-asset-pressure

Use to find memory/disk pressure from assets: large files, textures, audio, video, ML models, and Addressables that should be remote.

rachitkumarrastogi/unity-mcp-server · 36 tokens

godot-debugging

Use when debugging Godot projects — remote debugger, print techniques, signal tracing, common error patterns and fixes.

jame581/GodotPrompter · 26 tokens