profiler-enable-module

Toggles the local enabled flag for a named Unity profiler module.

Updated May 20, 2026
One-click install
npx skills add https://github.com/Alltwice/Unity-3D-Project --skill profiler-enable-module-alltwice
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: profiler-enable-module
Source: https://github.com/Alltwice/Unity-3D-Project/tree/main/.agents/skills/profiler-enable-module
Command: npx skills add https://github.com/Alltwice/Unity-3D-Project --skill profiler-enable-module-alltwice

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Unity's runtime API does not expose programmatic control over Profiler window modules, making it impossible to toggle module visibility from code. This Skill provides honest local bookkeeping of which profiler modules are marked enabled or disabled, so related tools like profiler-get-status and profiler-list-modules can report a consistent state without pretending to control Unity internals. ## Core Features & Use Cases - Local Module State Tracking: Adds or removes a module name from the wrapper's EnabledModules set. - Input Validation: Returns an [Error] string when the module name is empty or unknown. - Use Case: While profiling a Unity game, you want to mark the GPU module as disabled in your tracking wrapper so that profiler-get-status reflects your current profiling focus, then re-enable it later with a single command. ## Quick Start Ask the AI to run the profiler-enable-module tool with moduleName set to "CPU" and enabled set to false to mark that profiler module as disabled.

Frequently Asked Questions about profiler-enable-module

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

FAQPage Schema
How do I enable or disable a Unity profiler module from the command line?▼

Run unity-mcp-cli run-tool profiler-enable-module with a JSON input containing moduleName and an enabled boolean. This updates the wrapper's local EnabledModules set, which is consumed by profiler-get-status and profiler-list-modules.

Can I programmatically toggle Unity Profiler window modules at runtime?▼

No, Unity's runtime API does not expose direct module control from a built-in namespace. This tool only performs local bookkeeping; for real module visibility you must use the Profiler window in the Unity Editor.

What module names are valid for the Unity profiler enable tool?▼

Valid module names are those returned by the profiler-list-modules tool, such as CPU, GPU, or Memory. Passing an empty or unknown moduleName returns an [Error] string.

Why does unity-mcp-cli return command not found?▼

The CLI is not installed globally. Install it with npm install -g unity-mcp-cli or prefix commands with npx, and consult the unity-initial-setup skill for detailed installation instructions.

What are the limitations of profiler-enable-module?▼

It only updates local bookkeeping state and does not change actual Profiler window behavior in Unity. It cannot start or stop real data capture for a module; use the Unity Editor's Profiler window for that.