Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

rr

БесплатноБез исполняемых скриптовНе проверен

Sync code and run commands on remote machines. Use when running tests, builds, or commands remotely, syncing files to hosts, setting up remote development, or…

rileyhilliardот rileyhilliard★ 212 звёзд на GitHub13 установок в других каталогах

Об этом скилле

rr (Road Runner) CLI

rr syncs code to remote machines and runs commands there. Handles host failover, file sync with rsync, distributed locking, and test output parsing.

Quick Reference

rr run "make test"     # Sync files + run command
rr exec "git status"   # Run command without syncing
rr sync                # Just sync files
rr <taskname>          # Run named task from config
rr tasks               # List tasks
rr setup               # Set up rr in this project: writes .rr.yaml, prints next steps + guide
rr provision           # Install missing tools on hosts
rr doctor              # Diagnose issues
rr unlock <host>       # Release a stuck lock
rr monitor --once --json  # One-shot host metrics snapshot

Two-Config System

rr uses two config files:

Config Location Purpose
Global ~/.rr/config.yaml Personal host definitions (SSH, directories)
Project .rr.yaml Shareable project settings (tasks, sync rules)

See config.md for complete config reference.

Minimal Global Config

version: 1
hosts:
  mini:
    ssh: [mac-mini.local, mac-mini-tailscale]
    dir: ${HOME}/projects/${PROJECT}

Minimal Project Config

version: 1
hosts: [mini]

tasks:
  test:
    run: pytest -v

rr ships default sync excludes (.git, .venv, node_modules, caches, agent dirs like .claude/) and applies .gitignore. A custom sync.exclude list replaces the defaults, so copy them in if you set one.

Commands Overview

Command Purpose
rr run "cmd" Sync files, then run command
rr exec "cmd" Run command without syncing
rr sync Just sync files
rr pull <pattern> Download files from the remote
rr <taskname> Run named task
rr tasks List available tasks
rr status Host connectivity and which remote dir this tree syncs to
rr provision Install missing tools on hosts
rr doctor Diagnose issues
rr unlock [host] / rr unlock --all Release stuck locks
rr prune Remove remote dirs left by deleted git worktrees
rr host list/add/remove Manage hosts
rr setup Set up rr in the current project
rr setup <host> Set up SSH keys for one host

See commands.md for full command reference.

Common Flags

  • --host <name> - Target specific host
  • --tag <tag> - Select host by tag
  • --local - Run on this machine: through the local: true host (its lock, setup and require) if there is one, otherwise directly in your terminal
  • --cwd <dir> - (run/exec) Directory to run in, relative to the project root
  • --tail N - (run/exec/single-command tasks) Reprint the last N log lines after the result
  • --skip-requirements - (run/exec only) Skip requirement checks
  • --tty - Gives the command a terminal for a person typing at it (sudo prompts). Don't use it as an agent: without a terminal it fails with CONFIG_INVALID, and a command that would prompt needs the user to run it themselves
  • --no-phases - Suppress intermediate phase events; the final result event is still emitted
  • --pretty / -p - Human-readable output (spinners, colors). Default is structured JSON.

Run rr --help or rr <command> --help for complete flag reference.

Tasks

Define reusable commands in .rr.yaml:

tasks:
  test:
    description: Run tests
    run: pytest -v

  deploy:
    steps:
      - name: Build
        run: make build
      - name: Deploy
        run: ./deploy.sh

Run with: rr test, rr deploy

Named tasks always run from the project root, regardless of which subdirectory you invoke them from.

See tasks.md for parallel tasks, multi-step tasks, and dependencies.

Passing Arguments to Tasks

Tasks come in three types. The type determines whether extra args work:

Type Config field Accepts args? Example
Single-command run: Yes rr test tests/test_api.py
Multi-step steps: No (errors) rr deploy
Parallel parallel: Only with forward_args: true rr test-all

Rules for single-command tasks:

  • Flag-like args need --. rr parses flags before the task sees them, so rr test -k foo fails with "rr parses flags before the task sees them". Use rr test -- -k foo. Positional args (rr test tests/foo.py) work without it.
  • Args are shell-quoted. rr test -- -k "foo or bar" arrives as one argument. Remote globs and $VARS in args are not expanded; put those in the task's run string.
  • Args are appended to the end of the command, unless the command has an {args} placeholder. {args:-default} supplies a default when no args are given; {{args}} is a literal {args}.
  • Compound commands need a placeholder. If run contains pipes, &&, ;, redirections, $(), or backticks, passing args
Полный SKILL.md на GitHub

Установить rr в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Edit
Grep
Glob

Вложенные файлы

reference/commands.mdreference/config.mdreference/machine-interface.mdreference/requirements.mdreference/tasks.mdreference/troubleshooting.md

FAQ

Что делает скилл rr?

Sync code and run commands on remote machines. Use when running tests, builds, or commands remotely, syncing files to hosts, setting up remote development, or troubleshooting rr configuration.

Как установить скилл rr?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл rr запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить rr с