/datto-rmm:jobsfrom datto-rmm
Manages Datto RMM job execution including quick, scheduled, and policy jobs. Covers job status lifecycle, component scripts with variables, and stdout/stderr/exit-code result handling.
Ships in datto-rmm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Jobs in Datto RMM execute component scripts on devices. Quick jobs run immediately; scheduled jobs run at specified times. Each job can accept variables, produces output (stdout/stderr), and has a status lifecycle. This skill covers job execution, monitoring, and results retrieval.
kaseya_vsa_run_procedure; use
kaseya-vsa-api-patterns.datto-rmm-variables.| Tool | Tier | Purpose |
|---|---|---|
datto_run_quickjob | admin | Run a component on one device (deviceUid, componentUid, jobName, variables); returns a job UID |
datto_get_job | read | Job status: queued, running, completed |
datto_get_job_components | read | The components and variables the job ran |
datto_get_job_results | admin | Per-device result: status, exit code, error message |
datto_get_job_stdout / datto_get_job_stderr | admin | What the script printed on that device |
Tiers are Conduit's classification. REST examples later in this skill show what the tools call underneath.
| Type | Description | Use Case |
|---|---|---|
| Quick Job | Runs immediately | Ad-hoc tasks, troubleshooting |
| Scheduled Job | Runs at specified time | Maintenance, recurring tasks |
| Policy Job | Runs based on policy | Automated responses |
Created → Queued → Running → Completed/Failed
│
└─→ Timeout
Components are the scripts/programs that jobs execute:
A Job carries identifiers, target device/site, component, status,
start/complete timestamps, exitCode/stdout/stderr results, and input
variables. A Component declares its own typed ComponentVariable[]
(name, type, required, default). See
references/fields.md for the complete interfaces.
async function runJobAndWait(client, deviceUid, componentUid, variables = {}, options = {}) {
const { timeoutMs = 300000, pollIntervalMs = 5000 } = options;
// Create the job
const createResponse = await client.request(
`/api/v2/device/${deviceUid}/quickjob`,
{
method: 'POST',
body: JSON.stringify({ componentUid, variables })
}
);
const jobUid = createResponse.jobUid;
const startTime = Date.now();
// Poll for completion
while (true) {
const job = await client.request(`/api/v2/job/${jobUid}`);
if (job.status === 'completed' || job.status === 'failed' || job.status === 'timeout') {
return {
success: job.status === 'completed' && job.exitCode === 0,
job
};
}
// Check timeout
if (Date.now() - startTime > timeoutMs) {
return {
success: false,
job,
error: 'Job polling timeout exceeded'
};
}
await sleep(pollIntervalMs);
}
}
Related helpers - component lookup by name, batch execution across multiple devices, multi-job monitoring, result summarization, and a "safe run" wrapper that pre-validates device status and required variables - are in references/examples.md.
GET /api/v2/components?max=250 - list components (with their variable schemas)POST /api/v2/device/{deviceUid}/quickjob - create a quick job (componentUid + variables)GET /api/v2/job/{jobUid} - poll job status/resultsGET /api/v2/device/{deviceUid}/jobs?max=50 - job history for a deviceGET /api/v2/site/{siteUid}/jobs?max=50 - job history for a siteSee references/api.md for full request/response examples.
DEVICE_OFFLINE if the target device isn't online - check device.status first, or fall back to a scheduled job.variables schema and validate before submitting.exitCode === 0 is the actual success signal, not status === 'completed' alone - a component can complete with a nonzero exit code.| Exit Code | Typical Meaning |
|---|---|
| 0 | Success |
| 1 | General error |
| 2 | Misuse of command |
| 126 | Permission denied |
| 127 | Command not found |
| 130 | Script terminated (Ctrl+C) |
| 137 | Killed (SIGKILL) |
| 143 | Terminated (SIGTERM) |
See references/errors.md for the full job API error table.
What SKILL.md sets; muted values are Claude Code's defaults
When running quick jobs, scheduling jobs, monitoring job status, and viewing results. Use when: datto job, rmm job, quick job, run script, component job, job status, job results, scheduled job, or remote execution.
Three short reads, in order
datto-rmm, job-execution, remote-scripting, device-management
7 skills in this plugin
/alertsDatto RMM AlertsDatto RMM alert structure, priorities, and the 25+ alert context types (antivirus_ctx, eventlog_ctx, perf_disk_usage_ctx, ransomware_ctx, and more), each with its own type-specific fields. Covers alert resolution workflows and context-specific triage guidance.
/api-patternsDatto RMM API PatternsDatto RMM REST API v2 fundamentals: OAuth 2.0 client-credentials-style authentication, the 6 regional platforms (Pinotage, Merlot, Concord, Vidal, Zinfandel, Syrah), token lifecycle, cursor-based pagination, rate limiting, Unix-millisecond timestamps, and error handling.
/auditDatto RMM AuditDatto RMM audit data structure covering hardware inventory (CPU, RAM, disks, motherboard, BIOS), software inventory, network interfaces, and ESXi/printer audits, along with audit collection cadence and data freshness semantics.
/devicesDatto RMM DevicesDatto RMM device management: identifiers (UID, hostname, MAC), device types and statuses, user-defined fields (UDF1-30), warranty data, and device lookup/update/delete operations.
/sitesDatto RMM SitesDatto RMM site management: site hierarchy and identifiers, proxy and patch-window settings, site-scoped device/alert queries, and create/update/delete operations for client locations.
/variablesDatto RMM VariablesDatto RMM account-level and site-level variables: scoping and inheritance (site overrides account), naming conventions and reserved prefixes, CRUD operations, and referencing variables from component scripts.
npx claudepluginhub wyre-ai/msp-claude-plugins --plugin datto-rmmOther plugins' skills for the same job