/superops:runbooksfrom superops
Lists and executes SuperOps.ai RMM scripts (runbooks) on managed assets via the admin-tier GraphQL passthrough. Covers finding scripts by OS, viewing runtime variables, running runScriptOnAsset, and API limitations (no batch, schedule, or result reading).
Ships in superops. 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.
SuperOps.ai runs automation as scripts (runbooks) on managed assets: maintenance tasks, remediation, data collection and custom automation. This skill covers finding a script and running it on an asset through the SuperOps API, and the parts that only the SuperOps console can do.
hudu-articles or itglue-documents.atera-agents,
syncro-assets, immybot-script-execution,
ncentral-monitoring-tasks, connectwise-automate-scripts, or
datto-rmm-jobs.immybot-software-deployment exists to
replace when the fleet is on ImmyBot.superops-assets.| Tool | Tier | Purpose |
|---|---|---|
superops_assets_get | read | Confirm the target asset is online before a run |
superops_custom_query | admin | getScriptList / getScriptListByType (no typed script tool exists) |
superops_custom_mutation | admin | runScriptOnAsset |
Both passthrough tools are admin tier. Running a script changes a client's machine, so a named human approver must see the exact mutation and variables before every run. Never send one from a scheduled or unattended agent.
A script is a stored library entry with these fields: scriptId, name,
description, language, runAs, timeOut, runTimeVariables, tags and
readMe. runAs and timeOut belong to the stored script. They cannot be
overridden per run.
Running a script returns an actionConfigId. The API has no query that reads
that run's status, exit code or output, so check the result in the SuperOps
console.
| Language | Typical target |
|---|---|
| PowerShell | Windows automation |
| Batch | Simple Windows tasks |
| Bash | macOS/Linux automation |
| Python | Cross-platform automation |
See references/fields.md for the field reference.
| Operation | GraphQL |
|---|---|
| List scripts | getScriptList(input: ListInfoInput!) |
| List by OS | getScriptListByType(input: ScriptListByTypeInput!) (type: WINDOWS, MAC, …) |
| Run on one asset | runScriptOnAsset(input: RunScriptInput!) (assetId, scriptId, scriptArguments) |
That is the whole script surface. The schema has no getScript,
runScriptOnAssets, scheduleScript, getScriptExecution, getBatchExecution
or getScriptExecutionHistory.
scriptArguments is a list of { name, value } pairs, one for each name in the
script's runTimeVariables. Each value is a string, even for numeric
parameters.
See references/api.md for the documents and variables. Every example there validates against the schema.
superops_assets_get. Continue only if status is online and
lastCommunicatedTime is recent. A run queued to an offline asset waits until
the asset checks in.getScriptList or getScriptListByType, and read its
runTimeVariables.runScriptOnAsset mutation and variables. Send it
through superops_custom_mutation once they approve.actionConfigId. Ask the operator to confirm the outcome
in the console. Record the outcome on the ticket with
superops_tickets_add_note.The API cannot run a script in a batch or on a schedule. Get approval for the
full list of assets, then send one runScriptOnAsset per asset. To run at a
future time, schedule the job in the SuperOps console.
| Error | Cause | Resolution |
|---|---|---|
| Script not found | Invalid script ID | Re-list with getScriptList |
| Asset offline | Cannot reach asset | Wait for the asset to check in |
| Missing argument | A runTimeVariables name has no value | Add it to scriptArguments |
| Permission denied | Token lacks script rights | Check the API user's role |
| Rate limit exceeded | Over 800 req/min | Implement backoff |
Exit codes are only visible in the SuperOps console. Exit code 137 means the
agent killed the script on timeout, not that the script failed by itself. Check
the script's timeOut before you assume a logic error.
// Common exit codes
const EXIT_CODES = {
0: 'Success',
1: 'General error',
2: 'Misuse of command',
126: 'Permission denied',
127: 'Command not found',
128: 'Invalid exit argument',
130: 'Script terminated (Ctrl+C)',
137: 'Script killed (timeout)',
255: 'Exit status out of range'
};
function interpretExitCode(code) {
return EXIT_CODES[code] || `Unknown exit code: ${code}`;
}
readMeWhat SKILL.md sets; muted values are Claude Code's defaults
When listing, executing, monitoring, and managing automated scripts on assets. Use when: superops runbook, superops script, run script superops, execute script, automation superops, script execution, runbook execution, script status, bulk script, or scheduled script.
Three short reads, in order
6 skills in this plugin
/alertsSuperOps AlertsSuperOps.ai RMM alerting: alert types, severity levels, status lifecycle and valid transitions, asset/client/monitor associations, the GraphQL operations for listing and resolving alerts, and the hand-offs for acknowledging them (console) and ticketing them (superops_tickets_create). Includes triage, dashboard, and client-reporting workflows.
/api-patternsSuperOps API PatternsSuperOps.ai GraphQL API fundamentals: Bearer token plus CustomerSubDomain header auth, region-specific endpoints, request/variable structure, offset (page/pageSize) pagination, the 800 req/min rate limit, filter operators, UTC date handling, error codes, and null-reset semantics.
/assetsnpx claudepluginhub wyre-ai/msp-claude-plugins --plugin superopsOther plugins' skills for the same job