Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

user-computer

FreeNo executable scriptsNot checked

Run commands and copy files on the user’s paired computer from a Cloudroom cloud thread. Use when a task needs the user’s own computer: its files, logs…

davidondrejby davidondrej★ 2,086 GitHub stars

About this skill

The user's computer

  • room-cli mac run 'COMMAND' runs it on the user's computer as the user, in a login shell in their home folder. Write sh syntax: on a fish shell, it runs in /bin/sh after fish's login setup. It prints the output and exits with the command's code. Exception: output over 16 MiB is cut, and if the command succeeded, run exits 1 though the command already finished; don't rerun it. Write big output to a file there and pull it. Below Full access, commands without --write can write only in $TMPDIR, which is removed when the command ends, and in /tmp/cloudroom.NAME, which keeps files to pull later. A push into /tmp lands only there too. On macOS, mktemp ignores $TMPDIR unless given a path: use mktemp -d -p "$TMPDIR" or mktemp "$TMPDIR/x.XXXXXX". If only the status matters, redirect the output to /dev/null. Put flags before the command: room-cli mac run --cwd DIR 'COMMAND'. Words after the command go to it, flags included. Give DIR relative to their home folder, or absolute. An unquoted ~ becomes this sandbox's home. Add --stdin to forward input.
  • The user's computer may run macOS, Linux, or Windows, even though the commands say mac. Before your first command, learn which: room-cli mac status shows "os" with newer apps; otherwise run room-cli mac run 'uname -s' (Darwin is macOS, Linux, MINGW64_NT-… is Windows). Write commands for that system: macOS has BSD tools (stat -f, date -r), Linux and Windows have GNU ones (stat -c, date -d, ls -t).
  • Windows: commands run in Git Bash, so write sh. Use paths like ~/Desktop, C:/Users/NAME/..., or /c/Users/...; cmd //c for cmd. Only Off and Full access exist there. For PowerShell, never build its command line, and keep non-ASCII text intact: send the script as input to room-cli mac run --stdin 'f=$(mktemp --suffix=.ps1) && { printf "\357\273\277"; cat; } > "$f" && powershell -NoProfile -NonInteractive -ExecutionPolicy Bypass -File "$(cygpath -w "$f")"; s=$?; rm -f "$f"; exit $s' < script.ps1, with [Console]::OutputEncoding = [Text.Encoding]::UTF8 as the script's first line. Never ask for administrator rights (Start-Process -Verb RunAs).
  • To see and control apps on their computer, use room-cli mac computer-use, only when the task needs their own apps or logins. Everything else stays on this sandbox's room-cli computer-use and browser. It takes their app's room-cli computer-use arguments: status, tools [TOOL] (a tool's exact input), call TOOL ['JSON'] [--purpose WHY]. Before each major step, tell the user what you are doing in one short sentence. Pass --purpose on key calls with a short action label. The user approves computer use once per thread with a card in this thread; on approval_pending (exit 3), tell them, then run the same command again. Screenshots land here as *_file paths. Each call counts as a change. no_host means their Cloudroom app is too old: ask them to update it. Windows computers have no desktop control: Computer use unavailable there is final, so don't retry or ask them to update. Never drive their computer with osascript, screencapture, or click tools of your own: the user can't see or approve those. For their browser, room-cli mac run --write --stdin 'browser-harness' shares the browser daemon with per-thread tab isolation (BH_OWNER), so the browser may ask them to click "Allow" once per browser run.
  • room-cli mac pull MAC_PATH [VM_PATH] copies a file or folder from their computer here (default: current folder). room-cli mac push VM_PATH [MAC_PATH] copies to their computer (default: its home folder). Like cp: an existing folder or a path ending in / gets the copy inside it, replacing same-named files there; any other path becomes the copy's new name and must not exist yet. Unlike cp, a . source copied into a folder lands as a subfolder named after it. Both print the copy's real path in "to". So pushing folder outputs again to '~/project/outputs' lands in ~/project/outputs/outputs; to replace its files, push to the parent: room-cli mac push outputs '~/project/'. Limit: 2 GiB compressed. Over 16 MiB travels in pieces and can take minutes, so run big copies in the background. To stop one, kill the room-cli process itself, not a shell around it: that would leave the copy running.
  • Add --write to any run that changes their computer: editing files, installing, opening apps, or stopping processes. The user picks Mac access: Off, Read-only, Ask first, or Full. Below Full, other commands run read-only and --write is refused (Read-only) or waits for the user's approval (Ask first). Under Ask first, the user has up to 5 minutes to approve, so give that command a tool timeout of at least 6 minutes; stopping it sooner cancels the request. push always counts as a change. If a change is refused or denied, don't retry; tell the user what you need.
  • Read-only commands can't use ps or top; use pgrep -fl or `
Full SKILL.md on GitHub

Install user-computer in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the user-computer skill do?

Run commands and copy files on the user’s paired computer from a Cloudroom cloud thread. Use when a task needs the user’s own computer: its files, logs, configs, repositories, or logins.

How do I install the user-computer skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the user-computer skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare user-computer with