Skip to content

The Lytos CLI

The CLI is how Lytos lands in a real repository. One lyt init scaffolds the five pillars as folders, detects your stack, writes the right adapter file for your AI tool (CLAUDE.md, .cursorrules, AGENTS.md…), and installs a pre-commit hook so branch naming stays consistent.

Terminal window
npm install -g lytos-cli

Or without installing:

Terminal window
npx lytos-cli init

The lyt binary is the short name (also lytos and lytos-cli if you prefer).

CommandWhat it does
lyt initScaffold .lytos/ — interactive, detects your stack, offers EN or FR
lyt boardRegenerate BOARD.md from the issue frontmatter
lyt lintValidate the .lytos/ structure and content
lyt doctorFull diagnostic — missing files, broken links, stale memory, health score
lyt show ISS-XXXXDisplay issue detail with progress bar
lyt start ISS-XXXXStart an issue — move to in-progress, create branch, update board
lyt claim ISS-XXXXAssign an issue to yourself (also checks origin freshness to avoid concurrent claims)
lyt close ISS-XXXXClose a validated issue — promote it to 5-done from 4-review (or explicitly from 3-in-progress)
lyt closeBatch-close every issue in 4-review/ — asks to confirm, --yes skips
lyt upgradePull the latest bundled skills and rules into .lytos/
OverviewWhat the CLI does, at a glance
lyt initEverything the scaffolder does — adapter files, stack detection, pre-commit hook
lyt boardHow the kanban view is regenerated from issue frontmatter
  • Offline-first — every command except lyt init (fetches bundled files) and lyt claim/start (checks origin) works without network.
  • Output for humans AND machines — every command has a human default and a --json flag for CI and scripting.
  • Fail with context — errors say what’s wrong, where, and how to fix it.
  • Single responsibility per commandlint validates, doctor diagnoses, they don’t overlap.