Back to directory

rch - Remote Compilation Helper

A Claude Code hook that intercepts build commands such as cargo or gcc and transparently runs them on remote worker machines, so concurrent AI coding agents do not saturate one workstation's CPU.

rch - Remote Compilation Helper

rch intercepts build-like commands issued by AI coding agents, such as cargo, rustc, gcc, make, cmake and Nix builds, and routes them to remote worker machines instead of running them on the local workstation, returning output and artifacts as though the build had run locally. It is meant to solve the problem of several concurrent coding agents saturating a single machine's CPU during compilation.

It runs as a Claude Code PreToolUse hook that classifies incoming commands in milliseconds and is fail-open: if remote execution is not available or not safe for a given command, it falls back to running the command locally rather than blocking it. It deliberately does not intercept commands that mutate local state or are interactive, such as package installs or watch modes, and Nix builds only route to workers that advertise a working Nix installation.

It installs with a shell script that sets up both the client and its background daemon.

More in Agent skills

See all 581
  • Provenance gate

    github.com

    A deterministic authorization gateway that sits between an AI agent and its tools, tracing where each parameter of a side-effect call came from, and blocking the call or asking a human when the source does not check out.

  • A markdown framework of system rules that restates Isaac Asimov's Four Laws of Robotics as a set of prioritized loss calculations for large-language-model agents to follow, published as a discovery file for agents and crawlers to read.

  • Vitruvius

    github.com

    An engineering research agent that runs a discover, read, synthesize, verify and review loop over technical questions, reading sources directly rather than inferring from titles, and publishing its own scored verifier benchmark, weaknesses included.