brnrd

learn

workflow

Run Claude Code or Codex overnight on your own machine

To run Claude Code or Codex overnight with brnrd, leave your Mac or Linux machine awake and online, and send one job before you go. brnrd runs the coding tool you signed in to on that machine and replies in the conversation where you sent the work.

1. Set up the machine

Install git and sign in to Claude Code (claude) or Codex (codex) on the machine that will do the work. Run the following in a terminal.

curl -fsSL https://brnrd.dev/install | sh

Then run brnrd setup, choose your coding tool, and pair the place you want to send the job from, such as Telegram. If the shell cannot find brnrd after install, open a new terminal and try again.

From the project checkout, run brnrd add. For a GitHub pull request, use a checkout with a GitHub origin and sign in to gh on that machine with access to push a branch and open a pull request.

Plug the machine in and turn off automatic system sleep for the night. Leave a laptop lid open. The display can go dark, and you can close the terminal once setup is complete.

2. Send one job with a finish condition

You can send the job before bed. Name the repo, the change, the checks to run, and what you want back. For example, for an app that uses Zod and npm:

“In the dashboard repo, update Zod to the latest patch in its current minor version. Change only the dependency and lockfile. Run npm test. If it passes, open a pull request with the old and new versions and the test result, then send me the link here. Leave the PR open for my review. If the tests fail or the update needs other changes, stop and tell me what failed.”

3. Check the result in the morning

Open the conversation where you sent the job. If it contains a pull request link, open the diff, check that only the requested files changed, and read the reported test result and any GitHub checks before you merge.

If there is no pull request, read the latest reply. Look for an unanswered question, an interruption, or a test failure.

Three things that can stop the run

The machine sleeps or goes offline. The local process can be suspended or interrupted. Get the machine back online and check the conversation and repo for where it stopped before asking it to continue.

A decision needs you. brnrd can send a question to your connected chat and wait. Reply there so it has your answer when it continues. If you leave the question until morning, the work that depends on it waits too.

Your coding plan hits a usage limit. Run brnrd plan-check before bed to see the remaining session and weekly quota and reset times for your signed-in tool. If the tool runs out, work can pause until the limit resets, which may be after morning.

brnrd · local execution · durable continuity