trailsmith
Follow the trail other builders wore in, and enjoy making things along the way.
trailsmith sets up Claude Code with the guardrails experienced builders rely on, and changes your project only in the ways you approve.
Install
First, accept the GitHub invite to the trailsmith repository (it comes by email). If you miss it, the installer finds the pending invite after you sign in and offers to accept it.
Then open Terminal and paste this one line:
curl -fsSL https://trailsmith.dev/install.sh | bash
The installer looks at your computer first and shows one plan: what is missing, which
steps need you, and what runs by itself. One yes covers the whole plan; answer
c to be asked before each step instead, or n to stop without
changing anything.
The steps that need you come first. On a Mac: the Command Line Tools dialog (have about 25 GB free: it refuses with less, although its download is under 1 GB), your Mac password for Homebrew, and a GitHub sign-in in your browser. On Ubuntu, your password for apt. Then it runs by itself for a few minutes, including the Claude Code download of about 270 MB, and at the end asks you to set up the 1Password app. It finishes with a checklist and the next thing to type. You can rerun it any time: finished steps are skipped.
If curl says it could not resolve the host, wait a moment for your network and paste the line again.
First run
- Open cmux (not Terminal), in a new window: the installer put
claudeon your PATH, and only a new window sees it. Go to your project:cd ~/code/<your-project>. - Run
claude. - Type
/trailsmith-survey. It reads your project without changing anything and ends with a proposal for you to approve. - Start a fresh
claudesession in the same folder and type/trailsmith-adopt. It applies the approved proposal on a new branch.
Details
Before you start
- Access. trailsmith is invite-only for now. You need a GitHub account with access to the private trailsmith repository. Accept the GitHub invite before you run the installer; if it is still pending, the installer offers to accept it after you sign in.
- A computer. A Mac, or Ubuntu (WSL with Ubuntu works).
- Claude. A Claude plan that includes Claude Code.
Recommended setup
The installer offers both of these with the answer set to yes. Say no and it still finishes.
- cmux (Mac, free): the terminal trailsmith's automatic handoff opens new sessions in.
- 1Password, the app and its CLI: keeps your keys in one place, and the CLI unlocks through the app, so no secret sits in your shell. 1Password is paid, a few dollars a month. We strongly recommend 1Password. If you need a free alternative, ask the trailsmith team.
Where things live
Keep one code folder directly under your home folder, and make every
project a folder inside it: ~/code/<your-project>. The installer
offers to create ~/code, and the survey mentions it if a project sits
somewhere else; it never moves anything. The installer keeps its own files in
~/.trailsmith, including install.log, the log of its last
run, and install.log.1, the run before.
Read the installer before you run it
To read it first, download it with its checksum into a new empty folder, check it, read it, then run it:
cd "$(mktemp -d)" && curl -fsSLO https://trailsmith.dev/install.sh && curl -fsSLO https://trailsmith.dev/SHA256SUMS && shasum -a 256 -c SHA256SUMS less install.sh bash install.sh
shasum -a 256 -c SHA256SUMS prints install.sh: OK. That
proves the download is complete and matches the checksum published next to it. It does
not prove who published it: the checksum comes from the same site over the same
connection. Either way, what you trust is the HTTPS connection to trailsmith.dev. The
one line is just as safe against a cut-off download: the installer does nothing until
its last line has arrived.
Automatic handoff
On a new install the automatic handoff is on. When a session gets long, it opens a fresh one beside it in cmux and carries the work over. Outside cmux it only suggests a handoff. To have it only suggest, everywhere:
printf nudge > ~/.claude/handoff-mode
To turn it off:
touch ~/.claude/handoff-off
Upgrade
Paste the Install line again. The newest install.sh moves trailsmith to
the new release and keeps the choices you made.
Pin a release
Every release keeps its own folder, listed in trailsmith.dev/TAGS. To install one, or go back to one, use its folder in the same line, for example v0.43.0:
Pinned to v0.43.0:
curl -fsSL https://trailsmith.dev/v0.43.0/install.sh | bash
To read a pinned release first, use its folder in the commands under Read the installer before you run it: both files are there.
Before installing an older release, remove the automatic handoff first; the installer prints the command when it sets it up.
trailsmith is open to invited builders while it is young.