user-computer
БесплатноБез исполняемых скриптовНе проверен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…
от davidondrej★ 2 086 звёзд на GitHubОб этом скилле
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/shafter 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,runexits 1 though the command already finished; don't rerun it. Write big output to a file there andpullit. Below Full access, commands without--writecan write only in$TMPDIR, which is removed when the command ends, and in/tmp/cloudroom.NAME, which keeps files to pull later. Apushinto/tmplands only there too. On macOS,mktempignores$TMPDIRunless given a path: usemktemp -d -p "$TMPDIR"ormktemp "$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--stdinto 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 statusshows"os"with newer apps; otherwise runroom-cli mac run 'uname -s'(Darwinis 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 //cfor 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 toroom-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]::UTF8as 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'sroom-cli computer-useand browser. It takes their app'sroom-cli computer-usearguments: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--purposeon key calls with a short action label. The user approves computer use once per thread with a card in this thread; onapproval_pending(exit 3), tell them, then run the same command again. Screenshots land here as*_filepaths. Each call counts as a change.no_hostmeans their Cloudroom app is too old: ask them to update it. Windows computers have no desktop control:Computer use unavailablethere is final, so don't retry or ask them to update. Never drive their computer withosascript,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). Likecp: 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. Unlikecp, a.source copied into a folder lands as a subfolder named after it. Both print the copy's real path in"to". So pushing folderoutputsagain 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,killtheroom-cliprocess itself, not a shell around it: that would leave the copy running.- Add
--writeto anyrunthat 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--writeis 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.pushalways 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
psortop; usepgrep -flor `
Установить user-computer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл user-computer?
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.
Как установить скилл user-computer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл user-computer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic