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…
Об этом скилле
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 thelocal: truehost (its lock, setup andrequire) 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/execonly) 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 withCONFIG_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, sorr test -k foofails with "rr parses flags before the task sees them". Userr 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$VARSin args are not expanded; put those in the task'srunstring. - 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
runcontains pipes,&&,;, redirections,$(), or backticks, passing args
Установить rr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadEditGrepGlobВложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic