Repository navigation
Tool bin sclaude proxy
One address per feature: http://<feature>.localhost:3000 reaches that
feature's dev server, whatever port it really uses. Chrome resolves every
*.localhost name by itself, so there is nothing to configure.
systemctl --user enable --now sclaude-proxy.socket # install.sh does this-
<feature>.localhost:3000— that feature. One that is not running is started, with a page that waits for it. -
localhost:3000, or the machine's Tailscale address — the list of features. From another device, choosing a feature makes the bare address serve it from then on. Each kind of sclaude's own pages has its icon in the browser's tab: 🗂 the list, 🎬 a demo, 🗺 a process map, 📊 the DORA metrics, 👤 signing in. - Under each feature and main, a line for each web tool of its own: its Supabase Studio and Inbucket while its database stack runs, Code Server opened on its tree (started on the way when it is down; from this machine — the phone has its own through the gate), and its process map.
-
localhost:3000/__sclaude/flow?f=<feature>— the feature's process map: the whole cycle as BPMN, with where the feature stands lit and, beside it, the actions open to it now, each with its command and the place on the map it leads to. It follows the feature as it moves (every few seconds). The list of features links it on a line of its own, " — Process map (BPMN)", and under main the same line opens the whole cycle with no feature on it (/__sclaude/bpmn). The panel beside it switches between Actions and History: every place the feature stood on, when and for how long, and the arrow it came in by — with who took it (you, a setting, sclaude's own check, the session, QA, GitHub, or nobody answering), how (the terminal or the phone, a key of sclaude's tab, the setting's value) and what was known then (findings, the tests that were red). ▶ by a map's heading plays how the feature went on that map — a clock on each place counting its time, then the arrow it took, a friction review or a change to sclaude jumping to its own map and back; by those two maps' headings a list chooses which pass to play. While it plays the History follows it, and a click on a line plays from there. On a review step — where the feature stands, the step you click, or the player passing it — the lower half of the page shows the review's map (its header gives the lines the review's fixes added and removed; hovering its title gives the pull request's lines now and the development's share of them, then the review's fixes beside what you asked for and the code moved between files, and a table — block by block where the pull request is read in blocks, one row for the whole of it where not — of what the development wrote, how much of it is still there and how much was written during the review), and the step is centred in the half above. On top lies all the code the development wrote, as tall as the log of how long it took, a column for each file (one the review never touched at the narrowest width, its name paler); below it a band for each review round, the same way. A line keeps its place across the rounds — a line a fix deleted keeps its room, the lines it wrote stand next to what they replaced — so a column stays the same code from top to bottom. Two ways to draw the icicles, chosen by the switch in the panel: by fix joins the files one fix touched, by file keeps one icicle a file that splits where its changes part. A third, by thread, reads the review as a tree growing left to right from the pull request, a column a round: each thread is a line from the fix it was found on to its own fix, coloured by how it ended, as thick as all that grew from it, and darker at its start by the share of important findings in its branch; a fix is a circle whose sectors are the lines added and removed (hatched by kind of file, as on the icicles). A purple tick marks a check that missed, a dotted arc a finding repeated, 💬 a finding posted in the conversation; the review on GitHub's findings put in a comment are one row with no file. What you asked for during the review grows below them, from your ✋ in the round you stepped in, one tree for each such round — and a fix that answered a thread is the review's, even inside a commit of your asks. Beside each row's label, ✓ when its branch is resolved, a filling ring while it partly is. Click the number over a circle to fold what grew from it into one row. Tick chains on one row in the tree's corner and a branch goes on along its parent's row — an only child, or of several the one with the most grown from it — so a problem that kept coming back to one place of the code is one long straight row, titled by its last thread with how many it holds (×4) and, after →, the last other file it went on into; every thread and change of the row is in each circle's hover. Hover anything for it drawn large and read out, click it to keep that note open — the link keeps it, and the view — and a thread's title opens it on GitHub. In the icicle views, a place's hover lists the same finding's fixes in other files of that round — the same thread, or one subagent's work — each a link that scrolls the map there. From the code hang icicles: each place the review sent fixes to, a straight-sided band a round whose bottom is as wide as the lines that round changed there and whose top is the round before's: it narrows as fewer lines are touched, widens as more are or another file is drawn in — one fix answering the same thread there, or one subagent of the fixing session working on one or two findings in both (files fixed together are placed side by side) — merges where two places of one round meet in the next, splits where one parts. Where no round came back it is cut flat — waiting — until it is done: every thread of it has an outcome (fixed or declined, none open or waiting for you), the first round after the fix that opened its file read all of it and found nothing there, and that round's own fixing is over — the next round has begun — so no fix can still land there; then it closes to a point in the middle of that round. Code no thread led to closes the same way. An icicle is one problem's line of descent, not a stretch of the file: a fix grows from the fix whose lines its thread was posted on, or whose lines it rewrote, and a problem found after an icicle closed starts an icicle of its own, however near. The exception is shown in purple: a thread on the very lines a closed icicle's fixes wrote — a problem in the review's own fix that the round which closed it read and passed (a thread there that was declined, or that would undo a fix, reopens the icicle without the purple: it was no problem the check missed). The icicle goes on through it, a purple bar marks the round that passed it and a purple ring the thread found later. A round that never opened the file — a review that stopped after its findings, or did not get there — found nothing there by not looking: the icicle goes on through it as a dashed outline, faintly filled, still to be checked. Rows where nothing happened to an icicle's code — between a fix and the next one there, or the round that read it — are a thin stem in the colour of the place above, so the eye goes to the rows with fixes. A file the fixes removed ends its icicle at the foot of that round's row, with a line and a ✕; code moved from one file to another in one round (the same lines removed there and written here) is mauve, neither a fix nor new code, its icicle going on from the file it came from, and it is counted apart from the review's fixes. A pull request read in review blocks has its columns grouped by block, each block's name over its files and a line between two, so a round of block 1 not opening block 4's files reads as the cut, and a pale icicle inside its own block as a gap; the hover says which: a later block's file waits for that block's whole read, a file the cut does not name for the next block read whole. Once step 4 is over the last round's icicles close too, its fixing being over. When the reply to a thread names the commit and the file the fix landed in — another file, a new migration for one — that file is put beside the thread's and the icicle slides into it, in both ways of drawing. Where the fixes moved on from one file to the next for good (a migration fixed by the next migration, and that by the next — the next file in the first's block or, written after the cut, in none), the next file goes on under the first in one column, a dashed line and its name where it starts. A file too far to slide to — in another block — gets a jump: ↗ where the icicle leaves, ↘ where it lands, each a link to the other; into a folded block only ↗ is drawn, and a click opens the block and goes to where it landed. Threads a later round posts at a place where no fix of that round lands, with no such reply, are still the place's: it closes, with a small point in the row of the round that checked it, once they all have an outcome and the round after reads past them. The hover says what an open icicle waits for. A place with nothing above it — code first touched in a later round, or a file the development did not write — starts flat at its own width, where its code is: the width at either end of an icicle is never more than the code changed there. An icicle's colour is how the thread it answered ended (fixed, declined, left to you (a night's decision too), would undo a fix, open, or no thread at all — a finding noted as undoing a fix stays that colour however its thread ended later, which its hover says); the share of it that is code you asked for during the review (afeatcommit, or one with aRequirement:line) is beige, as the code written before the review is; darker the more earlier rounds had already rewritten those lines (0, 1, 2, 3 or more, weighted by how many of the place's lines they were). A fix tied to its thread only by sitting near it in the same round has a dashed edge and a lighter fill: its colour is likely, not certain. Thin lines are always drawn over the fills. Solid where a line of code or a migration changed — what the product does — with \ when a migration was among it; hollow where neither did, with a pattern for what was touched instead, laid over one another: tests /, docs and config —, comments ·. A green line at the foot of a round's row, under a file, says the round read it and found nothing there — thick when it read the whole file or all its change; a thin blue one, only the last fixes' change; a dashed yellow one, a part only. A review block's name is green once it is read and closed, blue while it is read; hovering it gives its changed lines against what one pass reads whole, its files and criteria, the development's change to its files and what every round changed in them since, summed, as +added −removed (the review's fixes, what you asked for and code moved between files apart), how much of what the development wrote is still there now and how much was written during the review, and what its rounds cost and found, the threads of its last rounds in a row and the rounds that mostly added what you asked for — the threads after those are partly about that new code — at the moment shown when the history is played back; a click folds it to a sliver, one icicle summing its files as the one behind the rounds' names sums them all, and again opens it, remembered for that feature. Both summed icicles, behind the rounds' names and in a folded block, put the development's code left of a dotted axis and the review's own right: the development's lines on top, then each round's touched lines — left those the development wrote or you asked for, right those earlier rounds of review had already written — coloured by outcome outward from the axis; a line on the same scale says how much the round grew the code (right) or shrank it (left), darker (lighter on a dark page) the more threads review posted in it (0, 1–2, 3–5, 6 or more; threads you opened yourself not counted) — the line and its axis only over the rounds that did something there, so a folded block whose rounds are over shows no stem below them. An icicle that leans right is review working on its own code. None is drawn where the file's icicle goes on through the row; the row it closes in keeps it. Dots are the threads, piled into a column where a round posted several close together, so a tall pile is a place the review kept finding things — every dot one size, and a pile taller than its row shows what fits, open threads and reversals first, the rest as +n at its foot, its hover listing them; ✋ with a number how many times you stepped in during a round or at one place (answers and your own threads), ringed where you took the recommended answer — the questions are in its tooltip. Hovering an icicle tells where it is, what that round changed there, the threads posted at it and your answers about them, the icicle round by round as a small bar chart, how much of the code written there it has changed, and a reading: converging, growing again, only comments lately, mostly declined, or ended. Every mark on the map — a thread's dot, a nothing-found line, the purple bar, the development's band, ✋ with its ring, ↗, ↘, ✂, ✕, ↓, ▸, ▾ — says on hover what it means, the mark itself first, a dot or a line in its own colour; the icicles explain their colours in their own hover. Each round is named by its block first when the pull request is read in review blocks — "Block 2 · round 3 (41)", the rounds counted afresh in each block and, in brackets, the round's number across the whole review, the review report's; a heavier line where a block opens; only the name stays pinned at the left while the map scrolls sideways — and says how long it lasted, whether it ran on this machine or on GitHub or was stopped with no answer (a round of its own, as the review's report numbers it, the commits after it its fixes), what it found and what it cost — its passes and the fixes of its findings, priced as the report prices them; while the player runs, the map shows the review as it stood at that moment. ✕ hide turns it off in this browser, and 📊 brings it back. The history starts with sessions run since sclaude keeps it. Checkboxes above the maps put in each block what it took: ✋ your input — each message to Claude after its turn, each answer to its question or to sclaude's, each command run on the feature at the terminal — Claude's cost in dollars, and ⏳ how long a question waited for your answer, Claude's or sclaude's, nights included, ♻ how many times Claude's prompt cache had expired and a conversation's context was written to it again (usually after a long pause), and ⏱ how long the feature stood on the block, every stay added up — what sclaude has going now (a step, a sync, a friction review, a regression, the wait for the merge or QA) counted up to now; ⚠ when something ended with no end written (a Ctrl-C, a terminal that died) and its time is a guess — with ×3 when it was entered three times (not on the cycle at a glance, whose blocks stand for several places); a block with none shows none. They sit inside the block, in its corners (a start or an end, a small circle, has them in a line under its words): ✋ and ⏳ together at the bottom left, the cost at the bottom right, ⏱ at the top left; a block whose own text fills four lines gives up its last line of description to make room, and gets it back when the checkboxes are off. Each checkbox shows the whole feature's total beside it, and every map's heading its own — a map nothing was counted on, such as a friction review put off with no session, says its zeros. While a map plays, its blocks count up instead: what was played there so far, and on the place playing now its own share after a plus — ✋ 3+2 is three before it and two in it, its time on the player's clock; the totals come back when the play ends or is stopped. Off the play, the step going on now is shown the same way on its own map when it was entered before: what the earlier stays took, then its own after a plus. The player plays at ×0.5 to ×16; its "this map only" box keeps a play on the map it started from, the friction reviews, regressions and syncs left out rather than opened on their maps — a steady view to watch or record. The box is remembered, and ticking it during a play starts that play again. The page's address follows what you see, as you scroll and click: the section in view, the boxes ticked, the panel's tab, what is selected, and a play — which map, which pass, the place it is at, its speed, "this map only" and paused. Copy the address and it opens the page as it was, a play resumed at that place; the printable map (/__sclaude/bpmn,bpmn_diagrams.html) keeps its section, selection and pinned commands the same way. -
localhost:3000/__sclaude/dora— the product's metrics, linked under main as "main — DORA metrics": DORA, delivery, development quality, Claude's work and token efficiency. Production deploys and builds come from Vercel, each change's first commit from git and GitHub, failures from the rollback comments sclaude writes on an issue, sessions, tokens and dollars from Claude Code's transcripts (its own cost record), and the rest from the cycle records, the review log and the issues' acceptance criteria. It is rebuilt in the background wheneversclaudestarts in the product and the page is over six hours old (SCLAUDE_DORA_EVERY, in seconds), and at once when a feature is finished; an open tab reloads itself hourly. Every step's header prints it under the feature's address, and in the Telegram Mini App it is "🗺 Process map" in a feature's actions and on its card, which starts the feature's dev server too (and gives it one first when it has never had one).
On either map, pointing at a block, an arrow or a command lights it and what it touches — a block its arrows and their other ends, an arrow its two ends, a command the place it leads to, a block the commands open there — and fades the rest, with a note on what it is and does. A click keeps it lit, Ctrl-click adds more (the lit things add up), and Esc or the floating button clears. On the printed page the commands' names are also pinned beside the maps, so both are read together; unpin them from the list itself or from the heading of the commands' section.
Different addresses rather than different ports keep features apart in one browser: cookies ignore the port, so on ports alone signing in to one feature would sign you out of another.
Signed in without a password. When the product's .sclaude/config.json
names its route for email links ("devLogin": {"path": "/auth/confirm"}, the
route that verifies token_hash), a feature in the list opens signed in as
you: the first line of ~/.claude/sclaude/dev-login, else your
git user.email. "without signing in" beside it opens it as it is.
On a feature with a local database of its own you can sign in as anybody in
it:
- "as another user" beside the feature (
/__sclaude/users?f=<feature>) lists that database's users, a sign-in link each; -
http://<feature>.localhost:3000/__sclaude/login?as=<email>&next=<path>signs in as that user and opens<path>, dropping the session the browser had there. Both are URL-encoded:qa%2Badmin%40example.com, notqa+admin@…, whose+reads as a space. Ask a step's session for links to test a feature as some user and it gives you these.
Only users that exist are signed in, never created. On a shared environment only your own address signs in, and on a protected one nothing does.
Only this machine and your Tailscale network are let in; anybody else on the
same Wi-Fi gets 403. SCLAUDE_PROXY_ALLOW replaces the list with networks of
your own, comma-separated.
sclaude dev in the main checkout serves it at main.localhost:3000.
What is active comes to the chat as a widget — a small block drawn inside a message that the bot updates in place, silently — rather than as a stream of messages:
- a session's question: yes/no, or every option of a choice as a button, paged however long the list; a branch name the bot suggests is a button too, and typing still answers. Answered — here or at the terminal — it shows the answer;
- a running process in the feature's topic (a regression, a review pass, a session): its timer and latest lines, with the review's keys under it; when it ends it leaves one message with the whole account; a warning sends it again, with sound;
- the warning before sleep: the countdown, why, Add an hour and Let it sleep; extended elsewhere, it says so itself;
- the feature's card in its topic: where the feature stands in the cycle and what its session is doing, the links and buttons as before;
-
the menu:
/menuor "☰ Menu" in the main chat sends the whole menu, which works with phone access off. What needs typing or the app's own screens stays with the app.
Telegram has withdrawn widgets from bots for now, so the bot sends plain messages with buttons by default. ⚙️ Settings → 🧩 Sending chooses between messages only (the default) and widgets + messages (widgets where they replace a message, messages for the rest) — for when Telegram brings widgets back; while it still refuses them, the bot goes back to messages by itself. Widgets work in Telegram for phones and Telegram Web.
With plain messages, a review pass, a session, a regression or a deploy is still one message in the feature's topic: when it ends, the end is edited into the message that said it started, so "Local review started" and "Local review finished · 1 open" are one message — as long as nothing else came to the topic in between, such as a warning, a question or your reply; then the end comes as a message of its own, below it. An edit makes no sound, so an end that is a failure is sent anew, with sound, the start above it.
While phone access is on, the bot's menu is a Telegram Mini App: "☰ Menu" by the input box opens it, and "📲 Open in the app" on a feature's card opens it on that feature. Inside it, a feature's "📲 Phone" opens the feature itself full screen, with an address bar of its own, and code-server opens on the worktree the same way. The phone needs nothing but Telegram; Telegram Web on a computer works too.
Telegram does not tell the app which topic "☰ Menu" was pressed in, so that
button first asks which feature, or the whole machine. "📲 Open in the app" on
a feature's card opens the app on that feature: 📋 Sclaude is its
card, 🌐 Chrome and 💻 Code-server open it and its worktree (code-server's screen
shows its password), and "📍 Choose a feature" moves to another or to the whole
machine. The card in the app has a button to a row:
It works through tailscale funnel, which publishes
https://<node>.<tailnet>.ts.net:8443. A gate in front lets in only your
Telegram account (the one in KEEPAWAKE_CHAT_ID), checked by Telegram's own
signature, and sends everyone else away with 403.
After sclaude updates itself, the app picks up the new code on its own: the
gate closes once nothing is loading and starts again on the next request,
and you stay signed in.
Phone access is off until you turn it on, and off again after the machine restarts. Turning it on takes a few minutes — sometimes five — before Tailscale publishes the address; the bot says it is waiting, offers the app nowhere until then, and changes that message when the app can open. Turning it off from the app asks first and closes the app.
Turn it on with /phone or the chat's "Phone access" button, off in the app's
Settings. The first time needs, once:
sudo tailscale set --operator=$USER # lets the bot run `tailscale funnel`Funnel also has to be allowed for the machine in your Tailscale policy; if it is not, the bot shows Tailscale's answer with the link that turns it on. A product that signs people in through a provider with a list of allowed redirect addresses (Supabase Auth, OAuth apps) needs the funnel address in that list.
Generated from docs/tools.md; edit it there, then rebuild with wiki/build.py.
SClaude is open source under MIT · Repository · Landing page · Contact
Why
How it works
- The cycle
- Big features in parts
- Limits in code
- Fewer tokens
- Feedback loops
- Metrics and the replay
- For a team
- Working from the phone
- Stack and costs
- Privacy
Guide
- Getting started
- Setting up
- Using sclaude
- The config, key by key
- When something goes wrong
- Glossary
- Gates and rules
- Team setup
- Privacy in full
- The tools
- Decks and the map
- Contributing
Inside
Links