Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
dicklesworthstone avatar

Remote Compilation Helper Setup

  • 1 installs
  • 55 repo stars
  • Updated August 4, 2026
  • dicklesworthstone/remote_compilation_helper

Configures RCH remote build workers, installs the hook, and fixes SSH/daemon issues so cargo, bun, and gcc builds run on remote machines.

About

Sets up RCH remote compilation: prerequisites, workers.toml config, hook install, daemon start, and rch doctor validation. A developer uses it when setting up remote compilation, adding build machines, or troubleshooting no-workers-available errors.

  • Setup checklist with workers.toml config schema
  • rch doctor --fix flow and SSH/daemon quick-fix table

Remote Compilation Helper Setup by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #1,173 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dicklesworthstone/remote_compilation_helper --skill remote-compilation-helper-setup

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars55
Last updatedAugust 4, 2026
Repositorydicklesworthstone/remote_compilation_helper

What it does

Configures RCH remote build workers, installs the hook, and fixes SSH/daemon issues so cargo, bun, and gcc builds run on remote machines.

Files

SKILL.mdMarkdownGitHub ↗

RCH Setup

Offloads cargo build, bun test, gcc to remote workers. Transparent—same commands, faster builds.

Workflow

1. rch doctor           # What's broken?
2. rch doctor --fix     # Auto-fix common issues
3. rch doctor           # All green? Done.

If --fix can't solve it, continue below.

Setup Checklist

  • [ ] Prerequisites: which rustup rsync zstd (install missing)
  • [ ] Install: cargo install --path rch (or --path . from repo root)
  • [ ] Configure: Create ~/.config/rch/workers.toml (see below)
  • [ ] Hook: rch hook install
  • [ ] Daemon: rchd & or systemctl --user start rchd
  • [ ] Validate: rch doctor → all checks pass

Worker Config

# ~/.config/rch/workers.toml
[[workers]]
id = "worker1"
host = "192.168.1.100"
user = "ubuntu"
identity_file = "~/.ssh/id_ed25519"
total_slots = 8    # ≈ CPU cores - 2
priority = 100     # Higher = preferred
tags = ["rust"]    # Optional capability tags

Discover from SSH config:

rch workers discover --from-ssh-config --dry-run  # Preview
rch workers discover --from-ssh-config            # Add to config

Verify workers:

rch workers probe worker1 --verbose  # Test single
rch workers probe --all              # Test all
rch workers list --capabilities      # Show detected toolchains

Quick Fixes

SymptomFix
SSH failseval $(ssh-agent) && ssh-add ~/.ssh/your_key
Daemon downrm -f /tmp/rch.sock && rchd &
Hook missingrch hook install --force
No workersCheck config path, SSH connectivity

Test hook directly:

echo '{"tool":"Bash","input":{"command":"cargo check"}}' | rch hook
# Expect: {"allow":true,"output":"..."}

Validation

rch doctor --verbose   # Full diagnostics
rch doctor --json      # Machine-readable
RCH_DRY_RUN=1 cargo check  # Test without remote execution

⚠️ All `rch doctor` checks must pass before use.

References

TopicReference
Worker schema, selection algorithm, tagsWORKERS.md
All error messages & detailed fixesTROUBLESHOOTING.md
Hook protocol, 5-tier classificationHOOKS.md

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.