Skip to content
Back to skills

User Computer

ASecurity

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.

  • 2,166 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 5, 2026
ai-agentspythongoshellbashdebugginggitsecurity

Works with

  • cli

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add davidondrej/cloudroom-core --skill user-computer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of User Computer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for User Computer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/davidondrej-user-computer-cloudroom/badge)](https://www.skillsdirectory.com/skills/davidondrej-user-computer-cloudroom)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: user-computer
description: '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.'
---

# 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`, `setup --browser`, `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 (`call` and `tools` fail there, so don't retry), though `status` and `setup --browser` work on Windows too. 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. If remote debugging or macOS Full Disk Access is off, run `room-cli mac computer-use setup --browser` to show the one-click setup card right in chat.
- `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 `lsof` instead. Nothing they start outlives them: background processes end when the command does, so run long reads in the foreground.
- If the user has two or more computers with access on, your first command waits while the chat asks them which one runs it. "The user chose not to run this" means continue without their computer.
- `Mac unavailable` means it is offline, asleep, or access is off, and says which when Cloudroom knows, including why a computer that is online can't connect. `room-cli mac status` makes the same check as `run`, so it agrees with the next `run` and may take up to 40 s. `status` and errors name the computer that runs commands; `run` names it on stderr only on the first command after it changes. Continue the cloud work; tell the user only if their computer is essential, and pass the reason on.
- `Mac not responding` means it is connected but did not pick up the command in time: asleep, very busy, or a slow link. Retry once; then treat it like `Mac unavailable`.
- `Operation not permitted` in Desktop, Documents, or Downloads means macOS privacy blocks it. Ask the user to update Cloudroom, then turn on Cloudroom in System Settings → Privacy & Security → Files and Folders. Older versions need `python3` turned on there instead.
- If their computer disconnects mid-command, the command keeps running there. Check it with `room-cli mac result JOB`. Never re-run it automatically. `lost` means Cloudroom restarted mid-command, on their computer or here: check its effects first. A cut-off `mac pull` or `push` says what to do instead: run it again, or `mac result` for a push already unpacking there.
- This is the user's real computer. Read before changing. Never delete or overwrite their work unless asked.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.