---
name: rmm
description: >
  Run commands, investigate agents, and execute remote scripts via the GuruRMM agent fleet. Use when the user says /rmm, "list agents", "run on the server", "rmm shell <host>", "poll the command", "check rmm agents", or any GuruRMM remote execution task.
---

# /rmm — GuruRMM remote command execution

Interact with the GuruRMM agent fleet: list agents, run remote commands (PowerShell, shell, Python), poll for output, and cancel in-flight tasks.

**Grok adaptation:** This is the project skill for the shared ClaudeTools /rmm command. Full details, subcommands, and implementation notes are in the source `.claude/commands/rmm.md`.

When activated:
- Read `.claude/commands/rmm.md` (and any referenced rmm skill or script) using `read_file`.
- Default posture: **read before write**. Look up the agent by hostname first.
- Use the `run_terminal_command` tool (or MCP if available) for any local parts, but the actual remote dispatch goes through the RMM mechanisms (the command likely uses the rmm CLI or API calls via scripts).
- Adapt any "Claude" specific delegation to `spawn_subagent` where useful.
- Follow CLAUDE.md: be careful with infra actions, confirm before destructive remote ops.

## Common subcommands (from source)
- /rmm agents [<client>]
- /rmm agent <hostname|uuid>
- /rmm run <hostname|uuid>
- /rmm shell <host> <cmd>
- /rmm ps <host> <cmd>
- /rmm status / output / cancel / history

See the full `.claude/commands/rmm.md` for exact syntax, safety rules, and integration with the live RMM server at 172.16.3.30:3001.

This skill is often used in infra and client modes.