vm

vm is a command for Claude Code from danielraffel/generous-corp-marketplace. It costs 8 tokens per session (1,259 once invoked), scanned A, original, MIT.

A command for managing remote test computers, called virtual machines, used to check JUCE software builds on Windows, Linux, or macOS.

In plain words
What is it for?
Use it to add, remove, list, or test registered build-testing machines and their platform connections.
Why use it?
It keeps cross-platform test machines registered and makes it easier to check whether they can be reached over SSH, a secure remote connection method.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/daniel/Code/JUCE-Plugin-Starter.

Part of the juce-dev plugin — 3 skills, 10 commands shipped together

Good fit Use it to add, remove, list, or test registered build-testing machines and their platform connections.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add danielraffel/generous-corp-marketplace
Claude Code
/plugin install juce-dev

Made for: Claude Code.

Or install juce-dev, the plugin that ships this one along with the rest of its 3 skills, 10 commands.

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 vm

README.md
[![agentmods](https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/vm.svg)](https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/vm)
Your own site
<a href="https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/vm"><img src="https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/vm.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 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,259 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00008 $0.01259
Opus 5 $0.00004 $0.00629
Sonnet 5 $0.00002 $0.00252
Haiku 4.5 $0.00001 $0.00126

Measured 8d ago against content hash a8f2e81e4c3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

vm scanned grade A with 0 findings 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 8d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/juce-dev/commands/vm.md · 168 lines

How it starts

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

JUCE Dev VM Management

Configure and manage SSH-accessible VMs for cross-platform build testing.

Usage

/juce-dev:vm add <name> <ssh-alias> <platform>    # Add a VM
/juce-dev:vm remove <name>                          # Remove a VM
/juce-dev:vm list                                   # List all VMs
/juce-dev:vm test [name]                            # Test VM connectivity

Arguments

  • add <name> <ssh-alias> <platform>: Register a new VM
    • name: Friendly name (e.g., "win11", "ubuntu24", "win10-arm64")
    • ssh-alias: SSH config alias (e.g., "win" for ssh win)
    • platform: One of windows, linux, macos
  • remove <name>: Remove a registered VM
  • list: Show all registered VMs and their status
  • test [name]: Test SSH connectivity (all VMs if no name given)

Examples

/juce-dev:vm add win11 win windows
/juce-dev:vm add ubuntu24 linux linux
/juce-dev:vm add win10-arm win-arm windows
/juce-dev:vm list
/juce-dev:vm test win11
/juce-dev:vm remove ubuntu24

Implementation

Storage

VM configs are stored in .claude/juce-dev.local.md in the project root.

YAML frontmatter format:

---
vms:
  win11:
    ssh: win
    platform: windows
    project_path: C:\Users\daniel\Code\JUCE-Plugin-Starter
    shell: powershell
  ubuntu24:
    ssh: linux
    platform: linux
    project_path: /home/daniel/Code/JUCE-Plugin-Starter
    shell: bash
---

Action: add

  1. Parse $ARGUMENTS for name, ssh-alias, platform.
  2. If any are missing, use AskUserQuestion:
    question: "What SSH alias connects to this VM? (e.g., 'win' if you use 'ssh win')"
    header: "SSH Alias"
    
  3. Verify SSH connectivity:
    ssh -o ConnectTimeout=5 <ssh-alias> "echo connected" 2>&1
    
  4. If connected, detect the remote home/project directory:
    # Windows
    ssh <ssh-alias> "echo %USERPROFILE%"
    # Linux/macOS
    ssh <ssh-alias> "echo $HOME"
    
  5. Ask where the project should live on the VM:
    question: "Where should projects live on this VM?"
    header: "Project Path"
    options:
      - label: "{detected_home}/Code"
        description: "Standard location"
      - label: "Other"
        description: "Specify a custom path"
    
  6. Write/update .claude/juce-dev.local.md with the new VM entry.
  7. Confirm:
    VM 'win11' added:
    - SSH: ssh win
    - Platform: windows
    - Project path: C:\Users\daniel\Code
    - Shell: powershell
    

Read the full file on GitHub · 168 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. 8d ago First seen · 168 lines · 8 tokens per session scan A a8f2e81e4c3f

Subscribe to this mod's changes

vm is a command published in the GitHub repository danielraffel/generous-corp-marketplace (11 stars, last pushed 9d ago), licensed MIT. It adds 8 tokens to every session and 1,259 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.