run-powershell

run-powershell is a command for Claude Code from WYRE-AI/msp-claude-plugins. It costs 10 tokens per session (1,862 once invoked), scanned A, original, Apache-2.0.

A command for running a PowerShell script on a selected Atera-managed computer. Atera is a remote-monitoring platform used to manage IT endpoints.

In plain words
What is it for?
Use it to run an inline script or saved script on an online Atera agent, with a chosen account and timeout.
Why use it?
It checks that the computer and script are available before starting remote execution and returns an execution identifier for tracking.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the atera plugin — 4 skills, 10 commands, 2 agents shipped together

Good fit Use it to run an inline script or saved script on an online Atera agent, with a chosen account and timeout.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wyre-ai/msp-claude-plugins/run-powershell
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/WYRE-AI/msp-claude-plugins

Made for: Claude Code.

Or install atera, the plugin that ships this one along with the rest of its 4 skills, 10 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for run-powershell

README.md
[![agentmods](https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/run-powershell/github.svg)](https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/run-powershell)
Your own site
<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/run-powershell"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/run-powershell/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for run-powershell

Your own site · 80×15
<a href="https://agentmods.dev/commands/wyre-ai/msp-claude-plugins/run-powershell"><img src="https://agentmods.dev/badge/commands/wyre-ai/msp-claude-plugins/run-powershell.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,862 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00010 $0.01862
Opus 5.5 $0.00004 $0.00745
Sonnet 5.5 $0.00002 $0.00372
Haiku 4.5 $0.00001 $0.00186

Measured 3mo ago against content hash 03fe720b983d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

run-powershell scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X GET "https://app.atera.com/api/v3/agents/{agent_id}" \
msp-claude-plugins/atera/atera/commands/run-powershell.md · 316 lines

How it starts

The opening of the file, as written. The whole thing — 316 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Run PowerShell on Atera Agent

Execute a PowerShell script on a specific Atera agent (endpoint) either inline or from the script library.

Prerequisites

  • Valid Atera API key configured
  • Agent must exist and be online
  • User must have script execution permissions
  • Either script or script_id must be provided

Steps

  1. Validate agent exists and is online

    curl -s -X GET "https://app.atera.com/api/v3/agents/{agent_id}" \
      -H "X-API-KEY: $ATERA_API_KEY" \
      -H "Accept: application/json"
    
    • Check agent exists
    • Verify agent is online
    • Capture device info for output
  2. Get script content if using script_id

    curl -s -X GET "https://app.atera.com/api/v3/customscripts/{script_id}" \
      -H "X-API-KEY: $ATERA_API_KEY" \
      -H "Accept: application/json"
    
    • Validate script exists
    • Show script name for confirmation
  3. Execute the script

    curl -s -X POST "https://app.atera.com/api/v3/agents/{agent_id}/runpowershell" \
      -H "X-API-KEY: $ATERA_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "Script": "<script_content>",
        "RunAs": "<run_as>",
        "Timeout": <timeout>
      }'
    
    • Capture execution ID for status polling
  4. Poll for completion

    curl -s -X GET "https://app.atera.com/api/v3/agents/{agent_id}/powershellstatus/{execution_id}" \
      -H "X-API-KEY: $ATERA_API_KEY" \
      -H "Accept: application/json"
    
    • Poll every 5 seconds
    • Respect timeout parameter
    • Capture output when complete
  5. Return execution results

    • Execution status
    • Script output (stdout)
    • Error output (stderr)
    • Execution duration

Parameters

Parameter Type Required Default Description
agent_id integer Yes - The agent ID to execute on
script string No* - Inline PowerShell script
script_id integer No* - Saved script ID from library
run_as string No System System or LoggedOnUser
timeout integer No 300 Timeout in seconds

Read the full file on GitHub · 316 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 316 lines · 10 tokens per session scan A 03fe720b983d

Subscribe to this mod's changes

run-powershell is a command published in the GitHub repository WYRE-AI/msp-claude-plugins (57 stars, last pushed 5d ago), licensed Apache-2.0. It adds 10 tokens to every session and 1,862 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

run-powershell compared with commands from other repositories

run-powershell next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
run-powershellWYRE-AI/msp-claude-pluginsCommand575d agoApache-2.0A10Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code