LogiShell docs Open app

lsh: LogiShell without a window

One static binary, two names on a machine: lsh for every day, logishell where the long name reads better (scripts, npx).

lsh                                  # a conversation in this directory
lsh "why is the api test failing"    # the same thing, as one question
lsh scan .                           # a verb, if you know it

The first word that is not a verb is taken as the whole question. A word that looks like a verb (two edits away, scna for example) gets a question back, not a paid turn to the model.

Bare lsh opens a conversation only in a terminal. In a pipe (echo x | lsh, a script, CI) it prints help and exits with code 1, the way it always did: no one's script should one day hang in an interactive loop.

Install

curl -fsSL https://logishell.com/lsh.sh | sh

Or without installing anything: npx logishell scan .

Everything it answers

The table below is not written by hand. It is the answer of lsh commands --format json, which is the same registry that builds the help text and the shell completion. A verb without a line in that registry does not exist for any of the three.

<!-- cli-doc:start -->

verbwhat it does
lsh onboardfrom a bare terminal to a working LogiShell, safe to run again
lsh loginsign this machine in with a short code shown right here
lsh whoamiwhich account this machine is signed in as, and under what name
lsh logoutrevoke this machine's token and forget it here
lsh scan <path>read a repository as a map of blocks instead of reading the code
lsh project-map <path>how much of this repository there is, and who already knows what about it
lsh blocksblocks as the unit of work: verify yours, see what is proven, run one by name
lsh mcpwhat an agent in this shell can see of LogiShell
lsh claudewhat this machine has to do with Claude: the LogiShell mod inside Claude Code, and the subscriptions it holds
lsh browserthe Playwright tools an agent knows, pointed at this machine's browser
lsh navigatordraft the marks of a website for the LOG Navigator: headings, navigation, buttons and forms
lsh codean agent in this terminal (the same thing bare lsh opens)
lsh game <path>put a built game on the LogiShell Gaming shelf
lsh slaterebuild the Slate page index from the working copy
lsh qaplay your own product's scenarios in the pool's browser
lsh productwhat to pick up today: what is promised, built, shipped and actually proven
lsh envis this machine ready for a role from .logishell/env.yaml, and make it ready
lsh iconsthe project's icons: SVG frames that compile into one self-animating SVG
lsh remotehow the road to another machine of yours feels: key echo, reconnects, drops
lsh machineany machine of yours: its privacy zones, its name, sleep and roles
lsh rungive one piece of work to another machine of yours, and let it survive the machine going away
lsh models <model>local models on this machine: what is here and alive, install one, run it, remove it
lsh projectyour projects across your machines, and moving one to another machine
lsh onwork on another machine of yours, from this terminal
lsh forwarda port of another machine of yours, open on this one
lsh disk <path>what build directories hold and which of them can go
lsh deskvirtual desks on this machine: a sandbox with a screen you open in LogiShell
lsh unpushed <path>work on this machine that is not on any remote yet
lsh lanewhere each task stands from card to prod, and why it is stuck
lsh spendwhat the work cost on this machine, today and over 30 days
lsh nightthe night shift of this machine, and the tap that stops it
lsh context <path>ask about a symbol instead of reading the files around it
lsh rlmwhat a turn in this tree is made of: prompts, orders, retrieval, the recursion itself
lsh sessionswhat became of the work in each agent session on this machine
lsh termswhat is happening in the terminals of this machine, and where you are needed
lsh runslong runs on this machine: steps, where each one is, ETA and result
lsh why <path>why this code is the way it is, with the alternative that was rejected
lsh tasks <sync>bring the task board into the task files of this working copy, and back
lsh contracts <args>the contracts tool: list drafts, scan, verify, export
lsh confirm <name>freeze a draft contract as the reference; only a person does this
lsh laneswhich roads to a model are open on this machine right now
lsh saverswhat saved context tokens on this machine, with a measured number for each
lsh tokenswhere the tokens of this machine went, and what they would have cost
lsh learnfive things to try, on this repository
lsh completionthe Tab-completion script for your shell
lsh commandsthis surface itself, for a person or (with --format json) for an agent

45 verbs.

Flags of the bare conversation

Inside a conversation

lsh onboard

from a bare terminal to a working LogiShell, safe to run again

lsh login

sign this machine in with a short code shown right here

Flags:

lsh whoami

which account this machine is signed in as, and under what name

lsh logout

revoke this machine's token and forget it here

lsh scan

read a repository as a map of blocks instead of reading the code

Flags:

lsh project-map

how much of this repository there is, and who already knows what about it

Flags:

lsh blocks

blocks as the unit of work: verify yours, see what is proven, run one by name

lsh mcp

what an agent in this shell can see of LogiShell

Flags:

lsh claude

what this machine has to do with Claude: the LogiShell mod inside Claude Code, and the subscriptions it holds

Flags:

lsh browser

the Playwright tools an agent knows, pointed at this machine's browser

lsh navigator

draft the marks of a website for the LOG Navigator: headings, navigation, buttons and forms

Flags:

lsh code

an agent in this terminal (the same thing bare lsh opens)

lsh game

put a built game on the LogiShell Gaming shelf

lsh slate

rebuild the Slate page index from the working copy

lsh qa

play your own product's scenarios in the pool's browser

lsh product

what to pick up today: what is promised, built, shipped and actually proven

Flags:

lsh env

is this machine ready for a role from .logishell/env.yaml, and make it ready

Flags:

lsh icons

the project's icons: SVG frames that compile into one self-animating SVG

Flags:

lsh remote

how the road to another machine of yours feels: key echo, reconnects, drops

lsh machine

any machine of yours: its privacy zones, its name, sleep and roles

Flags:

lsh run

give one piece of work to another machine of yours, and let it survive the machine going away

Flags:

lsh models

local models on this machine: what is here and alive, install one, run it, remove it

Flags:

lsh project

your projects across your machines, and moving one to another machine

Flags:

lsh on

work on another machine of yours, from this terminal

Flags:

lsh forward

a port of another machine of yours, open on this one

Flags:

lsh disk

what build directories hold and which of them can go

lsh desk

virtual desks on this machine: a sandbox with a screen you open in LogiShell

Flags:

lsh unpushed

work on this machine that is not on any remote yet

Flags:

lsh lane

where each task stands from card to prod, and why it is stuck

Flags:

lsh spend

what the work cost on this machine, today and over 30 days

Flags:

lsh night

the night shift of this machine, and the tap that stops it

lsh context

ask about a symbol instead of reading the files around it

Flags:

lsh rlm

what a turn in this tree is made of: prompts, orders, retrieval, the recursion itself

Flags:

lsh sessions

what became of the work in each agent session on this machine

Flags:

lsh terms

what is happening in the terminals of this machine, and where you are needed

Flags:

lsh runs

long runs on this machine: steps, where each one is, ETA and result

Flags:

lsh why

why this code is the way it is, with the alternative that was rejected

lsh tasks

bring the task board into the task files of this working copy, and back

lsh contracts

the contracts tool: list drafts, scan, verify, export

lsh confirm

freeze a draft contract as the reference; only a person does this

lsh lanes

which roads to a model are open on this machine right now

Flags:

lsh savers

what saved context tokens on this machine, with a measured number for each

Flags:

lsh tokens

where the tokens of this machine went, and what they would have cost

Flags:

lsh learn

five things to try, on this repository

Flags:

lsh completion

the Tab-completion script for your shell

lsh commands

this surface itself, for a person or (with --format json) for an agent

Flags:

<!-- cli-doc:end -->