Start here
Getting started
Install archr, open a project, and find your way round the first screen.
archr is one program that runs in a terminal. It reads a whole project, keeps notes on its architecture beside the code, and reviews changes against them.
Install
archr needs Go 1.27 or later, and git for reviews. It is not published yet.
From a clone, just install builds archr into $GOBIN, or ~/go/bin when it is unset, and writes the agent skill to ~/.claude/skills/archr/SKILL.md.
archr --version prints the version Go takes from git, with when the binary was built.
Open a project
cd your/project
archr
In a git repository archr opens in a review of your uncommitted work, called WORKTREE.
It opens with the keys in the view, on the first change in a file not yet reviewed, and with the folders already reviewed closed.
Outside git it shows the directory and its annotations, and there are no reviews.
Opening archr writes nothing to the project.
The first note you save makes .archr/, with a commented config.toml and agent.md beside your annotations.
The first screen
The project's tree is on the left and the view is on the right. The view shows what the tree's cursor is on: a file, or every change in a folder as one scroll.
- In a review archr opens with the keys in the view, where
jandkmove through the lines. ←goes out to the tree, wherejandkmove through the files and folders and the view follows.→goes one level in: it opens a folder, then moves into the view.?shows the keys for what is on screen, and],[orgshows the keys that can follow it.- The mouse works too: click a row or a line, drag over lines to select them, and scroll with the wheel.
qquits.
Finding your way covers the rest of the keys.
Write a note
Put the cursor on a line in the view, or on a file in the tree, and press a.
Type what the code is meant to be, and press Enter to save.
That is an annotation: it is committed with the project and it lasts.
In a review, c writes a comment instead, which belongs to that review and goes with it.
Commands
archr -h prints these.
archr [spec] open the project in a review: WORKTREE by default
archr <commit> review one commit
archr a..b review the changes from a to b, where b can be WORKTREE
archr SPEC@TIME read a closed review
archr -C DIR [spec] open the project at DIR
archr tour [id] walk through a tour an agent wrote, the newest by default
archr purge delete the closed reviews
archr pager show git's output, as git config core.pager "archr pager"
archr -v, --version print the version
archr -h, --help print this
archr pager is for git to run: as git's pager says how to set it.
The commands agents use are on the agents page.