OpenParable
Skip to content
← Back to skills

Profiler List Modules

Testing & Quality
profiler-list-modules

Profiler List Modules is an Agent Skill for testing & quality published in the IvanMurzak/Unity-MCP repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

List all known profiler module names with their local 'enabled' bookkeeping flag.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/IvanMurzak/Unity-MCP/blob/HEAD/Unity-MCP-Plugin/.claude/skills/profiler-list-modules/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/profiler-list-modules, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Profiler / List Modules

Returns Tool_Profiler.AvailableModules projected into a ProfilerModulesData list, with each entry's Enabled field reflecting the wrapper's local bookkeeping.

Behavior

Uses only built-in Unity APIs and in-process state. No external Unity package is required. Pair with profiler-enable-module to flip the bookkeeping flag.

How to Call

unity-mcp-cli run-tool profiler-list-modules --input '{
  "nothing": "string_value"
}'

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

unity-mcp-cli run-tool profiler-list-modules --input-file args.json

Or pipe via stdin (recommended):

unity-mcp-cli run-tool profiler-list-modules --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

NameTypeRequiredDescription
nothingstringNo

Input JSON Schema

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

Output

Output JSON Schema

{
  "type": "object",
  "properties": {
    "result": {
      "$ref": "#/$defs/com.IvanMurzak.Unity.MCP.Editor.API.Tool_Profiler-ProfilerModulesData",
      "description": "Container for 'profiler-list-modules' output."
    }
  },
  "$defs": {
    "System.Collections.Generic.List(com.IvanMurzak.Unity.MCP.Editor.API.Tool_Profiler-ProfilerModuleInfo)": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/com.IvanMurzak.Unity.MCP.Editor.API.Tool_Profiler-ProfilerModuleInfo",
        "description": "Profiler module entry returned by 'profiler-list-modules'."
      }
    },
    "com.IvanMurzak.Unity.MCP.Editor.API.Tool_Profiler-ProfilerModuleInfo": {
      "type": "object",
      "properties": {
        "Name": {
          "type": "string",
          "description": "Module name (e.g. 'CPU', 'Memory')."
        },
        "Enabled": {
          "type": "boolean",
          "description": "Whether the wrapper considers this module enabled. Local bookkeeping only."
        }
      },
      "required": [
        "Enabled"
      ],
      "description": "Profiler module entry returned by 'profiler-list-modules'."
    },
    "com.IvanMurzak.Unity.MCP.Editor.API.Tool_Profiler-ProfilerModulesData": {
      "type": "object",
      "properties": {
        "Modules": {
          "$ref": "#/$defs/System.Collections.Generic.List(com.IvanMurzak.Unity.MCP.Editor.API.Tool_Profiler-ProfilerModuleInfo)",
          "description": "All known profiler modules and their wrapper-side enabled flag."
        }
      },
      "description": "Container for 'profiler-list-modules' output."
    }
  },
  "required": [
    "result"
  ]
}