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

Rch

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

Offloads cargo/gcc/bun builds to remote workers and diagnoses worker fleet health, hook routing, and sync failures using rch CLI commands.

About

Operates the RCH remote-compilation tool to offload slow builds to remote workers, with a triage order, quick-fix table, and worker storage inspection commands. A developer uses it when compilation is slow, workers are unhealthy, or remote sync/execution is failing.

  • Fast triage order from availability to remote compile proof
  • Quick-fix table for hooks, daemon, socket, and worker storage

Rch by the numbers

  • 2 all-time installs (skills.sh)
  • Ranked #1,139 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 rch

Add your badge

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

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

What it does

Offloads cargo/gcc/bun builds to remote workers and diagnoses worker fleet health, hook routing, and sync failures using rch CLI commands.

Files

SKILL.mdMarkdownGitHub ↗

RCH — Remote Compilation Helper

Use this skill for remote compilation offload, worker fleet health checks, and hook incident recovery.

Quick Start

rch check
rch status --workers --jobs
rch workers probe --all
rch hook status
rch diagnose --dry-run "cargo check --workspace --all-targets"
rch exec -- env CARGO_TARGET_DIR=${TMPDIR:-/tmp}/rch_target_<name> cargo check --workspace --all-targets

IMPORTANT: Always use ${TMPDIR:-/tmp} for target dirs, never hardcode /tmp or /var/tmp. On fleet machines TMPDIR=/data/tmp (disk-backed). Hardcoding /tmp wastes tmpfs RAM; /var/tmp survives reboots and accumulates silently.

If rch exec -- ... succeeds, remote offload is healthy and remaining failures are likely project/toolchain specific.

If rch status shows storage pressure, always check both / and /tmp on the worker before deciding what to fix:

ssh ubuntu@<host> 'df -h / /tmp && free -h && cat /proc/pressure/memory && cat /proc/pressure/io'

---

Fast Triage Order

Run in this order and stop at the first failing stage:

1. Availability

rch check
rch status --workers --jobs
rch workers probe --all
rch queue

2. Config + socket consistency

rch config show --sources
rch --json config get general.socket_path
rch --json daemon status

3. Hook integration

rch hook status
rch agents status
rch hook install

4. Command classification + path closure

rch diagnose "cargo build --release"
rch diagnose --dry-run "cargo test --workspace"

5. Remote compile proof

rch exec -- env CARGO_TARGET_DIR=${TMPDIR:-/tmp}/rch_target_<name> cargo check --workspace --all-targets

6. If sync fails or storage looks bad, inspect the worker directly

ssh ubuntu@<host> 'df -h / /tmp'
ssh ubuntu@<host> 'du -sh /tmp/rch-* /tmp/rch_target_* 2>/dev/null | sort -h'
ssh ubuntu@<host> 'find /data/projects -maxdepth 2 -type d \\( -name "target_rch_*" -o -name "target_*" -o -name "target-*" -o -name target \\) -exec du -sh {} + 2>/dev/null | sort -h | tail'

---

Quick Fixes

SymptomCommand
Hook not installedrch hook install && rch hook status
Daemon not runningrch daemon start
Socket mismatch / stale daemon staterch daemon restart -y then rch --json daemon status
No workers configuredrch workers discover --add --yes && rch workers setup --all
Workers unreachablerch workers probe --all then fix SSH key/host reachability
Transfer churn under target dirsAdd excludes in ~/.config/rch/config.toml, then rch daemon reload
Path dependency missing remotelyEnsure required sibling repos exist on workers under canonical project roots, then retry rch exec -- ...
Sync fails with Permission denied in /data/projects/<repo>Fix remote mirror ownership: ssh ubuntu@<host> 'sudo chown -R ubuntu:ubuntu /data/projects/<repo> && sudo chmod 775 /data/projects/<repo>'
Worker shows pressure warningCheck / and /tmp separately, then inspect stale rch_target_*, rch-*, and target_rch_* dirs before broader cleanup
Need full environment diagnosisrch doctor and rch config doctor

---

Reference Index

Use these files for full depth:

  • Runbooks + operational playbooks: references/OPERATIONS.md
  • Troubleshooting flow + failure signatures: references/TROUBLESHOOTING.md
  • Worker lifecycle operations: references/WORKERS.md
  • Config hierarchy + environment controls: references/CONFIGURATION.md
  • PreToolUse hook protocol and behavior: references/HOOKS.md
  • Workers config template: assets/workers-template.toml
  • Project docs: https://github.com/Dicklesworthstone/remote_compilation_helper

Related skills

This week in AI coding

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

unsubscribe anytime.