Command Reference
Every dot command, alias, flag and example, generated from the CLI command tree.
This page lists every dot command from the same Effect command tree that powers parsing, help, dispatch, and shell completions.
dot init
Run one-time first-use machine setup
dot init [flags]
Run the one-time first-use setup workflow for a fresh machine. Init prepares repos, stow links, mise tools, apt packages, the firewall and the login shell, and trusts mise configs in tracked repos. After init completes, enable lingering so user services run without a login, log in again, then run dot doctor. Before the bounded workflow starts, init updates or clones the optional private overlay according to DOT_ALLOW_PRIVATE. Use dot up for ongoing maintenance.
Options
| Option | Description |
|---|---|
--force |
Re-run init even if the machine looks initialised |
--log <path> |
Init log path (default: ~/.local/state/dot/init.log) |
--help -h |
Show help information |
Examples
dot init
dot init --force
dot install
Ensure prerequisites, backup/adopt dotfiles and install the pinned OpenCode release
dot install [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot up
Aliases: dot update
Check everything, pick what to update, then run it. The picker lists the stages with work (dotfiles, skills, repos, stow, tools, plugins, containers, herdr, agents, shell), then gh extensions, missing packages, and apt and release packages; each also runs on its own, headless, as dot up <stage>, along with the clean stage. Phase flags (–pull, –stow, –app) run only those dotfiles phases. Internal –no-self-update, –post-hook-repo, –started-at, –group, –declined and –changed flags carry a run across the self-update restart.
dot up <subcommand> [flags]
dot up checks everything it can update or install: the dotfiles and tracked repositories, the skills checkout, global mise tools, pending apt upgrades, packages from the public and private lists that aren’t installed, GitHub release packages and gh extensions. It saves the result for the status cache, lists it, then asks which groups to run, offering only those with work, all ticked. –yes runs every group with work. Without a terminal, it still checks first and stops when nothing is pending; with work, it reruns itself in a Herdr tab in the dotfiles workspace and prints the pane to follow, or fails when Herdr can’t open one. Groups run in order:
- Stages: dotfiles, skills, repos, stow, tools, plugins, containers, herdr, agents and shell, as
dot up <stage>runs them. Containers is offered when podman auto-update –dry-run finds a pending update. A stage that wasn’t offered still runs when an earlier one changed something it applies: stow and Herdr after a dotfiles pull that brings new links or Herdr pins, tools after a dotfiles pull that brings mise changes, plugins after a tools upgrade, agents after a dotfiles pull or changed skills or plugins, and the shell after any change; stow, tools, plugins and Herdr are checked again first. A stage offered and left unticked never runs. - gh extensions: installs missing ones and upgrades the rest.
- Missing packages: installs apt packages from the public and private lists.
- System: runs apt-get update and upgrade (with -y under –yes), then installs the latest release .deb of each package in .dot-public-deb-releases.yml whose installed version differs.
- Clean: as
dot up clean, offered only with –force.
It finishes with a summary of updated repositories, mise tools and every step, then runs dot up –check to report what is still pending. dot up
–check reports everything without changing anything. –check-repos reports only the dotfiles repositories, as the status check uses it. Phase flags (–pull, –stow, –app) run only those dotfiles phases, without the picker.
Use –repo PATH (repeatable) to pull selected repositories, restore their pinned submodules and run configured post-update commands after HEAD changes. Pulled public dotfiles also rebuild dot; stow, agent instructions and the rest of a dotfiles pull are left to dot up, which the closing check lists. Add –pull to only pull and run post-update commands.
Options
| Option | Description |
|---|---|
--repo <string> |
Fast-forward this repository when local work can be preserved, then run its post-update command; repeat for a batch. Pulled dotfiles only rebuild dot, leaving stow and the rest to dot up |
--pull |
Run the repository pull phase only |
--stow |
Generate completions, sync MCP configs, and stow only |
--app |
Install Bun dependencies and rebuild the dot binary only |
--check |
Report everything dot up would update or install, without changing anything |
--check-repos |
Report only dotfiles pulls, pending pins and stow changes, skipping local work |
--check-all |
Also check development repos for pulls, skipping local work |
--yes |
Run every group with work without asking, and pass -y to apt-get upgrade |
--force |
Offer every group, even with nothing pending |
--group <choice> |
Internal: the groups picked before a restart handoff (choices: dotfiles, skills, repos, stow, tools, plugins, containers, herdr, agents, shell, gh, packages, system, clean) |
--declined <choice> |
Internal: the groups offered but not picked before a restart handoff (choices: dotfiles, skills, repos, stow, tools, plugins, containers, herdr, agents, shell, gh, packages, system, clean) |
--changed <choice> |
Internal: the stages that changed something before a restart handoff (choices: dotfiles, skills, repos, stow, tools, plugins, containers, herdr, agents, shell, gh, packages, system, clean) |
--no-self-update |
Skip the internal self-update phase, which pulls the public and private dotfiles |
--no-reload |
Skip agent reload and module refresh |
--post-hook-repo <string> |
Internal post-hook repository |
--started-at <integer> |
Internal: epoch ms the run started, for the summary timing |
--help -h |
Show help information |
Exit codes
0 Update completed, or nothing to update
1 Fatal workflow failure, or a group failed
2 Update check could not finish
10 Update check found work
Examples
dot up
dot up --check
dot up --yes
dot up --stow
dot up dotfiles
Pull the public and private dotfiles and their pinned submodules, and rebuild dot when its source moved. Never prompts, so it can run in the background.
dot up dotfiles [flags] [<repo...>]
Options
| Option | Description |
|---|---|
--json |
Print the result as JSON on stdout, with the log on stderr |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<repo> |
Not used by this stage |
Examples
dot up dotfiles
dot up dotfiles --json
dot up skills
Move the skills checkout to the latest main, rebuild skill-maintenance and relink skills. Never prompts, so it can run in the background.
dot up skills [flags] [<repo...>]
Options
| Option | Description |
|---|---|
--json |
Print the result as JSON on stdout, with the log on stderr |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<repo> |
Not used by this stage |
Examples
dot up skills
dot up skills --json
dot up repos
Pull tracked repositories that are behind, leaving any with work in progress alone; name repositories to pull just those. Never prompts, so it can run in the background.
dot up repos [flags] [<repo...>]
Options
| Option | Description |
|---|---|
--json |
Print the result as JSON on stdout, with the log on stderr |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<repo> |
Repository paths to pull, instead of every safe one |
Examples
dot up repos
dot up repos ~/repos/upkeep
dot up repos --json
dot up stow
Generate completions, sync MCP config and skills, and stow. Never prompts, so it can run in the background.
dot up stow [flags] [<repo...>]
Options
| Option | Description |
|---|---|
--json |
Print the result as JSON on stdout, with the log on stderr |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<repo> |
Not used by this stage |
Examples
dot up stow
dot up stow --json
dot up tools
Install missing mise tools, upgrade the rest and prune removed ones. Never prompts, so it can run in the background.
dot up tools [flags] [<repo...>]
Options
| Option | Description |
|---|---|
--json |
Print the result as JSON on stdout, with the log on stderr |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<repo> |
Not used by this stage |
Examples
dot up tools
dot up tools --json
dot up plugins
Update the Pi and OpenCode plugins. Never prompts, so it can run in the background.
dot up plugins [flags] [<repo...>]
Options
| Option | Description |
|---|---|
--json |
Print the result as JSON on stdout, with the log on stderr |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<repo> |
Not used by this stage |
Examples
dot up plugins
dot up plugins --json
dot up containers
Keep Podman Quadlet containers current: podman auto-update pulls the image of each running container marked AutoUpdate=registry, restarts the units whose image changed and rolls back a unit that fails to start, then podman image prune –all –force removes unused images. Each container updated, rolled back or that failed to update gets its own action. It fails only when every pull failed, so one registry being down warns and is tried again next run. Without Podman or marked containers it changes nothing. Pinned images aren’t touched; they change through their Quadlet file, which stow applies. Never prompts, so it can run in the background.
dot up containers [flags] [<repo...>]
Options
| Option | Description |
|---|---|
--json |
Print the result as JSON on stdout, with the log on stderr |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<repo> |
Not used by this stage |
Examples
dot up containers
dot up containers --json
dot up herdr
Restore pinned Herdr plugins and sync the saved Herdr and hc machines. Never prompts, so it can run in the background.
dot up herdr [flags] [<repo...>]
Options
| Option | Description |
|---|---|
--json |
Print the result as JSON on stdout, with the log on stderr |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<repo> |
Not used by this stage |
Examples
dot up herdr
dot up herdr --json
dot up agents
Sync agent instructions and reload running agents. Never prompts, so it can run in the background.
dot up agents [flags] [<repo...>]
Options
| Option | Description |
|---|---|
--json |
Print the result as JSON on stdout, with the log on stderr |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<repo> |
Not used by this stage |
Examples
dot up agents
dot up agents --json
dot up shell
Start the doctor check. Never prompts, so it can run in the background.
dot up shell [flags] [<repo...>]
Options
| Option | Description |
|---|---|
--json |
Print the result as JSON on stdout, with the log on stderr |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<repo> |
Not used by this stage |
Examples
dot up shell
dot up shell --json
dot up gh
Install missing gh extensions and upgrade the installed ones. Never prompts, so it can run in the background.
dot up gh [flags] [<repo...>]
Options
| Option | Description |
|---|---|
--json |
Print the result as JSON on stdout, with the log on stderr |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<repo> |
Not used by this stage |
Examples
dot up gh
dot up gh --json
dot up packages
Install the apt packages from the public and private lists that aren’t installed, with apt-get install -y through sudo. Changed lists the packages installed. Never prompts, so it can run in the background.
dot up packages [flags] [<repo...>]
Options
| Option | Description |
|---|---|
--json |
Print the result as JSON on stdout, with the log on stderr |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<repo> |
Not used by this stage |
Examples
dot up packages
dot up packages --json
dot up system
Upgrade the apt packages headless by running sudo -n /usr/local/sbin/dot-system-upgrade, a root-owned copy of system-upgrade/dot-system-upgrade installed by hand with a sudo rule for that one path: apt-get update, upgrade keeping existing config files, autoremove –purge and autoclean, then the GPU’s CDI spec when nvidia-ctk is installed. It warns when the installed copy differs from the dotfiles, with the sudo install command to fix it; without the script or its sudo rule it fails naming the fix instead of prompting. Changed reports the package count, and /var/run/reboot-required is a warning. The interactive dot up’s System group still prompts for sudo and installs the release packages. Never prompts, so it can run in the background.
dot up system [flags] [<repo...>]
Options
| Option | Description |
|---|---|
--json |
Print the result as JSON on stdout, with the log on stderr |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<repo> |
Not used by this stage |
Examples
dot up system
dot up system --json
dot up clean
Free space without sudo: mise prune –yes, then remove files unchanged for 30 days from ~/.cache and the folders listed in the optional ~/.config/dot/clean.yml (folders: [{ path, olderThan }], such as logs older than 14 days), leaving the folders themselves. Changed reports the space freed, and any disk over 95% full is a warning. Never prompts, so it can run in the background.
dot up clean [flags] [<repo...>]
Options
| Option | Description |
|---|---|
--json |
Print the result as JSON on stdout, with the log on stderr |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<repo> |
Not used by this stage |
Examples
dot up clean
dot up clean --json
dot run
Run a command with a deadline and process-group cleanup
dot run [flags] <command> [<args...>]
Pass the executable and its arguments after –. Standard input, output and errors are inherited. Completion, timeout and SIGINT/SIGTERM/SIGHUP all release the owned process group, first with SIGTERM and then SIGKILL after the cleanup grace period. Use foreground commands: processes that deliberately leave the group or send work to an existing server are outside this ownership. For isolated OpenCode jobs, pass run –standalone.
Options
| Option | Description |
|---|---|
--timeout <string> |
Execution deadline, for example ‘5 minutes’ or ‘30 seconds’ |
--kill-after <string> |
Cleanup grace period before SIGKILL (default: 5 seconds) |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<command> |
Executable to run after – |
<args> |
Arguments passed unchanged to the command |
Exit codes
Child exit code on completion
124 Execution deadline exceeded
125 Process execution failed
128 + signal number on interruption
Examples
dot run --timeout '5 minutes' -- opencode2 run --standalone 'Process this capture'
dot http
Local HTTP helpers
dot http <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot http forward
Forward HTTP and websockets to another server without proxy headers
dot http forward [flags]
Listens on 127.0.0.1 and forwards HTTP requests and websockets to the target origin, dropping Host and X-Forwarded-* headers so a server that doesn’t trust this machine as a proxy accepts them. Use it behind a local HTTPS proxy, such as a pitchfork daemon, to reach a plain HTTP server from an HTTPS page. With –cors-origin and –cors-suffix, requests from an HTTPS origin under the suffix reach the target as coming from –cors-origin, and the allowed origin in the response is set back to theirs, for targets whose CORS list only matches exact origins.
Options
| Option | Description |
|---|---|
--port <integer> |
Local port to listen on, bound to 127.0.0.1 |
--target <string> |
Origin to forward to, such as http://host:8123 |
--cors-origin <string> |
Origin the target allows, presented upstream for origins under –cors-suffix |
--cors-suffix <string> |
Hostname suffix of HTTPS origins to present as –cors-origin |
--help -h |
Show help information |
Examples
dot http forward --port 8126 --target http://homeassistant.local:8123
dot http forward --port 8126 --target http://homeassistant.local:8123 --cors-origin https://serve.ha-frontend.localhost --cors-suffix .ha-frontend.localhost
dot status
Run work under a pinned terminal status header
dot status <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot status run
Run a command or pitchfork daemon under a pinned status header
dot status run [flags] [<command...>]
Pins a header to the top of the terminal with the state (Setting up, Starting, Running, Done, Stopped or Failed), the URL and the elapsed time, and keeps the terminal title in step with a spinner while work is in progress. –setup runs in an interactive zsh first. With –pitchfork, an already running daemon prompts before restarting (–attach follows it instead), its logs are followed once it is ready, and Ctrl+C stops it. –background returns once the daemon is ready. Without a TTY, state changes print as lines.
Options
| Option | Description |
|---|---|
--title <string> |
Name shown in the header and terminal title |
--url <string> |
URL pinned in the header |
--via <string> |
What serves the URL when it is not this command, shown beside it |
--setup <string> |
zsh command run first, under the Setting up state |
--pitchfork <string> |
Pitchfork daemon to start and follow instead of a command |
--conflicts <string> |
Pitchfork daemon that cannot run alongside –pitchfork or the command; asks to stop it first. Repeat for more |
--attach |
Follow an already running –pitchfork daemon instead of asking to restart it |
--background |
Return once the pitchfork daemon is ready, leaving it running |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<command> |
Command and arguments to run after – |
Examples
dot status run --title 'Lint' -- pnpm lint
dot status run --title 'Core' --url https://dev.example.localhost --setup 'script/bootstrap' --pitchfork core/dev
dot updates
Check everything dot up updates, for status readers and OpenCode
dot updates <subcommand> [flags]
Read cached status immediately and refresh it in the background after 15 minutes. Refresh checks the dotfiles and dot-managed repositories, the managed skills checkout against timmo001/skills main, outdated and missing mise tools, pending apt upgrades, packages from the public and private lists that aren’t installed, GitHub release packages and missing gh extensions. It writes the cache atomically under a shared lock. status –json prints the cached status, its groups and the bar and footer output for other readers such as the OpenCode skill-updates plugin. Use –cache-dir and –timeout to override defaults.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot updates status
dot updates refresh
dot updates status
Print cached status-bar JSON and refresh stale data in the background
dot updates status [flags]
Options
| Option | Description |
|---|---|
--json |
Print cached dotfiles, skills and package sections, and the bar and footer output, as JSON |
--help -h |
Show help information |
Examples
dot updates status
dot updates status --json
dot updates refresh
Refresh the update status
dot updates refresh [flags]
Options
| Option | Description |
|---|---|
--cache-dir <path> |
Status cache directory (default: XDG status-bar cache) |
--timeout <integer> |
Maximum seconds for each external check |
--quick |
Skip the apt and release package checks, keeping their cached status |
--help -h |
Show help information |
Examples
dot updates refresh
dot updates refresh --quick
dot services
Monitor registered systemd user services and timers
dot services <subcommand> [flags]
Each job registers itself with a YAML descriptor in ~/.config/dot/services.d/, shipped by the stow package that owns the unit. A descriptor’s id, the stable key System Bridge and Home Assistant use, defaults to its file name. Instead of a unit, a descriptor can name a check ({ run, every, timeout, environmentFile }, default every 5 minutes with a 30 second timeout): a command, given as arguments rather than a shell string, that prints a status as JSON, with environmentFile’s KEY=value lines added to its environment. dot runs it whenever its last result, cached in ~/.local/state/dot/services/checks/, is older than every; a non-zero exit, a timeout or output that isn’t a status is a failed run summarised by stderr, and the dot daemon notifies when a check turns failed. A timer can add busy: true, so it counts as busy while the job it starts runs. actions lists the commands dot services act may run for the item, each with id, label, run (arguments) and an optional confirm question for clients. Status files and check output can add busy, progress (0 to 1), stats ({ id, label, value, unit, kind }), notes, lists ({ id, label, items: [{ label, value }] }) and actions ({ id, disabled }), which can only disable an action the item lists. A timer’s status file is read from its latest run, and its busy only counts while that run is active. dot services status –json adds the busy items at the top, and dot services export prints the lot for System Bridge. A descriptor names the unit and its monitoring policy: label, history, failAfter (consecutive failures before a job counts as failed), staleAfter (a duration such as “1 hour”, counted from the latest of the last completed run, the last boot or resume, and one interval before the first calendar run due after those, so sleep, power off and gaps in the schedule are not missed runs), restartLimit ({ count, within }) for long-running services, counting only restarts that follow a failed run, notify, logs ({ dir, file }) for jobs that keep their own run logs, and repository (a GitHub owner/repo slug from dot-git.yml) naming the repository that logs and agents open in. A long-running service can add status ({ file }) pointing at a JSON file it writes with health (“ok”, “warning”, “degraded” or “failed”), summary and updated (epoch milliseconds); while systemd sees the service as healthy, a report from its current run replaces the health and summary. Without repository, the repository containing the unit’s executable is used, falling back to the public dotfiles. Optional exitStatuses maps non-zero exit codes to “warning” or “skipped”, for example { “2”: “warning”, “3”: “skipped” }. Warnings break the failure streak and count as completed work for staleness; skipped invocations also break the failure streak, but don’t count as completed work. dot services dismiss
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot services status
dot services logs dot-doctor.timer
dot services status
Show the health of registered user services
dot services status [flags]
Options
| Option | Description |
|---|---|
--json |
Print the full snapshot as JSON |
--help -h |
Show help information |
Examples
dot services status
dot services status --json
dot services export
Print the services as System Bridge’s provider document
dot services export [flags]
Prints JSON in System Bridge’s services provider schema, version 1: updated (epoch milliseconds), busy (the items whose work is under way, each with item, label and since), items (each with id, label, kind, health, summary, busy, lastRun, lastSuccess, nextRun, progress, stats, notes, lists and actions, each action with id, label, confirm and disabled) and errors (each descriptor that didn’t decode, with source and message). Health keeps dot’s nine values. Run history, restart counts and log paths stay in dot services status –json. Checks the services each time it runs, as the server has no dot daemon.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot services export
dot services act
Run one of an item’s actions, as System Bridge does
dot services act [flags] <item> <action>
Refuses an action the item doesn’t list or that is disabled. Built in: start (run a timer’s job now, restart a service, or run a check now), stop and dismiss for units, logs (print the recent runs’ output) and, on a desktop with Omarchy, investigate (open the first installed Herdr agent briefed on the item). Any other action runs the command its descriptor lists, with its output passed through and its exit code returned.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<item> |
The item’s id, or its timer or service unit |
<action> |
start, stop, dismiss, logs, investigate, or one of the item’s own actions |
Examples
dot services act kopia-offsite-r2 start
dot services act kopia-verify verify
dot services busy
Print the items whose work is under way, exiting 1 while any is
dot services busy [flags]
A timer is busy while the job it starts runs, when its descriptor says busy: true or its status file says busy. A long-running service or a check is busy while its status says so. Scripts on the machine can wait for it to exit 0 before shutting down.
Options
| Option | Description |
|---|---|
--json |
Print the busy items as JSON |
--help -h |
Show help information |
Examples
dot services busy
dot services busy --json
dot services probe
Commands for services.d checks that print a check status
dot services probe <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot services probe syncthing
Print Syncthing’s folders and errors as a check status
dot services probe syncthing [flags]
Reads the folders, each folder’s state and Syncthing’s errors through its REST API, with the address and API key from syncthing cli. Failed when Syncthing doesn’t answer, degraded when a folder has errors, a warning with Syncthing errors, otherwise ok.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot services probe syncthing
dot services probe kopia
Print a Kopia repository’s snapshots and size as a check status
dot services probe kopia [flags]
Lists every source’s newest snapshot with kopia snapshot list –all, and the repository’s size with kopia blob stats, which for an off-site repository is what it uses there. A warning when a source’s newest snapshot is older than –max-age, failed when the repository can’t be read. A repository server’s clients can’t list blobs, so they get no size.
Options
| Option | Description |
|---|---|
--config <string> |
Kopia config file of the repository (default: Kopia’s own) |
--max-age <string> |
Age of a source’s newest snapshot that counts as a warning (default: 2 days) |
--help -h |
Show help information |
Examples
dot services probe kopia
dot services probe kopia --config ~/.config/kopia/r2.config
dot services probe http
Print a URL’s status code, response time and certificate as a check status
dot services probe http [flags] <url>
Sends a HEAD request, or a GET when HEAD isn’t allowed, without following redirects, so a site behind a sign-in can expect its redirect. For HTTPS it also reads the certificate’s expiry from the TLS handshake. Failed when the URL can’t be reached, answers with a status that isn’t an –expect, or its certificate has expired; a warning when it’s slower than –slow or the certificate expires within –cert-warn.
Options
| Option | Description |
|---|---|
--expect <integer> |
Status code that counts as healthy; repeat for several (default: 200) |
--slow <string> |
Response time that counts as a warning (default: 2 seconds) |
--cert-warn <string> |
Time left on the certificate that counts as a warning (default: 14 days) |
--timeout <string> |
How long the request and the TLS handshake may each take (default: 10 seconds) |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<url> |
URL to check |
Examples
dot services probe http https://photos.timmo.dev/api/server/ping
dot services probe http --expect 302 https://bridge.timmo.dev
dot services start
Run a registered job now, or restart a long-running service
dot services start [flags] <unit>
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<unit> |
Registered timer or service unit |
Examples
dot services start dot-doctor.timer
dot services stop
Stop a registered job’s running service, leaving its timer scheduled
dot services stop [flags] <unit>
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<unit> |
Registered timer or service unit |
Examples
dot services stop ha-bridge.service
dot services dismiss
Clear a registered job’s failures by hand, until it fails again
dot services dismiss [flags] <unit>
Runs that ended before now stop counting towards the job’s failure streak, and systemd’s failed state for its service is reset, so System Bridge shows it as healthy until the next run fails. A skipped run also clears an earlier failure by itself.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<unit> |
Registered timer or service unit |
Examples
dot services dismiss hass-removal-report.timer
dot services logs
Open a registered job’s logs in a Herdr tab for the repository that owns it
dot services logs [flags] <unit>
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<unit> |
Registered timer or service unit |
Examples
dot services logs ha-bridge.service
dot services run
Inspect a registered job’s recent runs
dot services run <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot services run logs
Print the journal output of a registered job’s most recent runs, newest first, with its latest run log
dot services run logs [flags] <unit>
Options
| Option | Description |
|---|---|
--count <integer> |
Number of recent runs to include |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<unit> |
Registered timer or service unit |
Examples
dot services run logs dot-doctor.timer
dot services run logs dot-doctor.timer --count 5 | wl-copy
dot services investigate
Open an agent in a registered job’s repository, briefed with its recent runs, logs, file locations and commands to investigate them
dot services investigate [flags] <unit>
Options
| Option | Description |
|---|---|
--agent <string> |
Installed launcher from dot herdr agents, such as opencode2; required unless –print |
--modifiers <integer> |
Qt keyboard modifier bitmask, as for dot herdr repo open |
--print |
Print the investigation brief instead of opening the agent |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<unit> |
Registered timer or service unit |
Examples
dot services investigate dot-doctor.timer --agent opencode2
dot services notify
Notify when a registered job has failed (used by OnFailure=)
dot services notify [flags] <unit>
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<unit> |
Registered timer or service unit |
Examples
dot services notify dot-doctor.service
dot services schedule
Timer schedule checks for registered jobs
dot services schedule <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot services schedule check
Skip a timer’s catch-up run after boot or resume (used by ExecCondition=)
dot services schedule check [flags]
Options
| Option | Description |
|---|---|
--grace <string> |
How long after a calendar time a catch-up run still goes ahead (default: 5 minutes) |
--help -h |
Show help information |
Examples
dot services schedule check
dot services schedule check --grace '4 hours'
dot backup
Back up with Kopia and test restores
dot backup <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot backup snapshot
Snapshot folders with Kopia, reporting progress to a status file
dot backup snapshot [flags] <source...>
Runs kopia snapshot create for each source in turn, against the repository KOPIA_CONFIG_PATH (or Kopia’s default config) is connected to. With –wait it first waits for kopia repository status to answer, and exits 75 when it doesn’t, so a unit can count that as skipped. With –status-file it reports busy, which source is running and how far it has got, then each source’s size and file count, in the status file shape dot services reads. With –fingerprints it records a fingerprint of each source that backs up, taken just before its snapshot, for dot backup changed. Exits 1 when any source fails.
Options
| Option | Description |
|---|---|
--wait <string> |
Wait this long for the repository to answer, then exit 75 |
--status-file <string> |
Status file to report progress and the result in, for dot services |
--fingerprints <string> |
File holding each source’s fingerprint at its last snapshot |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<source> |
Folders to snapshot, in order |
Examples
dot backup snapshot ~/Pictures ~/Videos
dot backup snapshot --wait '15 minutes' --status-file ~/.local/state/kopia/kopia-snapshot.json ~/.ssh
dot backup changed
Check whether folders changed since their last snapshot, without the repository
dot backup changed [flags] <source...>
Hashes the path, type, size and modification time of everything under each source and compares it with the fingerprint dot backup snapshot –fingerprints recorded for it. Exits 0 when any source changed, has no fingerprint yet or can’t be read, and 75 when none changed. With –status-file a skip says nothing changed, keeping the last backup’s size and file counts.
Options
| Option | Description |
|---|---|
--fingerprints <string> |
File holding each source’s fingerprint at its last snapshot |
--status-file <string> |
Status file to report progress and the result in, for dot services |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<source> |
Folders the snapshot backs up |
Examples
dot backup changed --fingerprints ~/.local/state/kopia/kopia-snapshot.fingerprints.json ~/Pictures ~/Videos
dot backup verify
Read back a share of the repository’s files with Kopia
dot backup verify [flags] <percent>
Runs kopia snapshot verify –verify-files-percent with the share given, and exits with Kopia’s exit code.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<percent> |
Share of the files to read back |
Examples
dot backup verify 10
dot backup test-restore
Restore random files from each source’s newest snapshot and check them
dot backup test-restore [flags]
For each source’s newest snapshot, picks –files files at random, no bigger than –max-size, by walking down its directories with kopia show, and restores each with kopia snapshot restore into a scratch directory that is removed afterwards. Each restored file must have the size the snapshot lists. When the original is on this machine with the snapshot’s size and modification time, its bytes must match too; otherwise the size is all there is to check. Exits 1 when any file fails.
Options
| Option | Description |
|---|---|
--files <integer> |
Files to restore from each source |
--max-size <integer> |
Largest file to pick, in megabytes |
--status-file <string> |
Status file to report progress and the result in, for dot services |
--help -h |
Show help information |
Examples
dot backup test-restore
dot backup test-restore --files 5 --status-file ~/.local/state/kopia/kopia-restore-test.json
dot fans
Control chassis fans from a Home Assistant temperature
dot fans <subcommand> [flags]
Reads ~/.config/dot/fans.yml: entity (a Home Assistant temperature sensor), device (a liquidctl –match string), channels (a list such as fan1 and fan2), ramp ({ from, to } in °C) and speed ({ min, max } in percent). Watches the entity through ha-bridge and ramps the channels linearly from speed.min at ramp.from to speed.max at ramp.to, in 5% steps. An unavailable or non-numeric reading, no reading within 30 seconds, or a stopped watcher sets speed.max until readings resume; the watcher restarts after 15 seconds. Health is written to $XDG_STATE_HOME/dot/fans/status.json for the status field of a dot services descriptor. Stopping hands the device back to motherboard control with liquidctl initialize.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot fans run
dot fans run
Control chassis fans from a Home Assistant temperature (used by dot-fans.service)
dot fans run [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot fans run
dot tunnel
Run shared Cloudflare tunnels on one machine at a time
dot tunnel <subcommand> [flags]
Runs cloudflared with the token in ~/.config/dot/tunnels/
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot tunnel run timmo
dot tunnel run
Run a Cloudflare tunnel on one machine at a time (used by dot-tunnel@
dot tunnel run [flags] <name>
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<name> |
Tunnel name, matching ~/.config/dot/tunnels/ |
Examples
dot tunnel run timmo
dot stow
Re-stow public/private dotfiles
dot stow [flags]
Options
| Option | Description |
|---|---|
--public |
Stow public dotfiles only |
--private |
Stow private dotfiles only |
--help -h |
Show help information |
dot session
Inspect and move agent sessions
dot session <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot session status
Query an OpenCode 2 session’s model, variant and context pressure
dot session status [flags] [<session-id>]
Read-only OpenCode 2 session inspection through the configured launcher. Without a session ID it reads the current session: $OPENCODE_SESSION_ID, which OpenCode sets for its shell and Code Mode tools, else the OpenCode session Herdr reports for this pane. It never guesses from the focused pane or working directory. Reports the selected model and variant, supported variants, model limits, latest completed assistant token measurement, its age, the latest completed compaction, and separately labelled cumulative usage and cost. Context tokens include non-cached input, cache reads and writes, output and reasoning, matching OpenCode’s display. Input usage includes non-cached and cached input. Pressure uses whichever percentage is higher: context-window usage or input-limit usage. Current usage is unknown after compaction without a new measurement, after a model/variant switch, or with a staged revert. Later tool results and messages are not counted. Looks back through at most 20 messages per type and marks incomplete lookups. –warn-at defaults to 70 percent: a workflow heuristic, not a proven cognitive degradation threshold. The command does not change models, compact or open sessions.
Options
| Option | Description |
|---|---|
--warn-at <number> |
Context or input percentage reported as high pressure (default: 70) |
--json |
Print model, limits, context measurement and cumulative usage as JSON |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<session-id> |
OpenCode 2 session ID; without it, the current session ($OPENCODE_SESSION_ID, or the one Herdr reports for this pane) |
Examples
dot session status
dot session status ses_example --json
dot session status ses_example --warn-at 80
dot session watch
Show an OpenCode 2 session live and read-only
dot session watch [flags] <session-id>
Follows a session through the OpenCode service and prints its prompt, thinking, one line per tool call and each reply as rendered markdown, in the style of OpenCode’s log view. It never sends input, so it is safe in a side pane. Once the session is idle it prints how to reopen it with opencode2 –session, then exits on any key or after –close-after minutes; if the session starts working again meanwhile, it carries on showing it. The subagent viewer plugin opens it in a narrow Herdr pane for each subagent.
Options
| Option | Description |
|---|---|
--close-after <number> |
Minutes to wait for a key once the session is idle before exiting (default: 5) |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<session-id> |
OpenCode 2 session ID to show |
Examples
dot session watch ses_example
dot session watch ses_example --close-after 1
dot session send
Queue a session on the HA box to pick up on another machine
dot session send [flags] [<session-id>]
Exports the session and its subagent sessions with opencode2 session export, adds a patch of uncommitted changes (untracked files included) and uploads them over SSH to the queue folder set in ~/.config/dot/session-queue.yml. Attachments are kept relative to the session’s directory, then the home directory, so take restores them to the same place on the other machine without overwriting anything. The original session is left as it is.
Options
| Option | Description |
|---|---|
--attach -a <path> |
Send this file or folder too, such as screenshots or a scratch folder; repeatable |
--json |
Print the queued entry’s metadata as JSON |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<session-id> |
OpenCode 2 session ID; without it, an agent sends its current session ($OPENCODE_SESSION_ID, or its own Herdr pane’s) and a person picks an OpenCode pane from Herdr |
Examples
dot session send
dot session send ses_example --json
dot session send -a /tmp/opencode/my-task -a screenshot.png
dot session queue
List sessions waiting in the queue
dot session queue [flags]
Options
| Option | Description |
|---|---|
--json |
Print pending entries as JSON |
--help -h |
Show help information |
Examples
dot session queue
dot session queue --json
dot session take
Pick up a queued session on this machine
dot session take [flags] [<entry-id>]
Claims the entry so no other machine can take it, imports the sessions into this machine’s checkout of the same repository, offers to apply the patch when HEAD matches and the tree is clean, then opens the session in its Herdr workspace with a draft prompt pasted in but not sent.
Options
| Option | Description |
|---|---|
--json |
Print the outcome as JSON |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<entry-id> |
Entry ID from dot session queue; without it, pick one |
Examples
dot session take
dot session remove
Take sessions out of the queue without picking them up
dot session remove [flags] [<entry-id...>]
Moves pending entries to removed/ in the queue folder, so no machine can take them but they can still be recovered by hand. The original sessions are left as they are.
Options
| Option | Description |
|---|---|
--json |
Print the removed entry IDs as JSON |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<entry-id> |
Entry IDs from dot session queue; without them, pick one |
Examples
dot session remove
dot session remove 20261029T165219-laptop-ses_example
dot session current
Print the current OpenCode 2 session’s ID
dot session current [flags]
Reads $OPENCODE_SESSION_ID, which OpenCode sets for its shell and Code Mode tools, else the OpenCode session Herdr reports for this pane. Fails when neither names a session.
Options
| Option | Description |
|---|---|
--json |
Print the session’s ID, title and directory as JSON |
--help -h |
Show help information |
Examples
dot session current
dot session current --json
dot snapshot
Save a CPU and memory snapshot with process rankings
dot snapshot [flags]
Print a Markdown CPU and memory summary with a usage-filtered process tree. –sort mem defaults to an 80 MiB measured subtree PSS cutoff; –sort cpu defaults to 1% of one core. Adjust these with –min-memory-mib and –min-cpu. Each tree row shows aligned memory and CPU totals beside the process name. Totals include hidden children, so small workers can qualify together; parent and child totals overlap. Expand the largest remaining qualifying branch until –limit visible processes are reached (default: 40, including ancestors). Zero-usage branches are omitted. The saved report adds CPU, memory and process-name rankings with the same cutoffs and per-table limit, plus pressure measurements. Interactive human runs open it in $EDITOR (vi if unset). The internal dot agent detect check automatically selects JSON. JSON retains all sampled processes and the complete processTree, and reportSelection identifies visible PIDs, cutoffs, the limit and omitted count. Missing measurements are null; unavailable parents are marked. CPU is sampled over approximately one second; 100% per process means one logical CPU. PSS divides shared pages between processes. Reports are saved in the system temporary directory ($TMPDIR, normally /tmp), named dot-snapshot-
Options
| Option | Description |
|---|---|
--sort <choice> |
Sort the process tree and JSON process list by CPU or memory (choices: cpu, mem) |
--limit <integer> |
Maximum visible tree processes, including parents, and entries per ranking table |
--min-memory-mib <number> |
Minimum measured subtree PSS in MiB for memory sorting (default: 80) |
--min-cpu <number> |
Minimum measured subtree CPU percentage for CPU sorting (default: 1; 100% = one core) |
--help -h |
Show help information |
Examples
dot snapshot
dot snapshot --sort cpu
dot snapshot --limit 40
dot snapshot --min-memory-mib 50
dot work-time
Print whether it’s work time now, as JSON
dot work-time [flags]
Print {“work”: true} during work hours from the private work schedule, unless calendar leave is active, otherwise {“work”: false}. A missing schedule counts as outside work time. Notes go to stderr, so stdout is always the JSON line.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot work-time
dot firewall
Reconcile managed ufw firewall rules
dot firewall [flags]
Ensure the managed ufw allow rules are present with their exact source, destination, interface/direction, and purpose comment. Missing rules are added, stale-comment rules are deleted and re-added, then ufw is reloaded once. A source-restricted rule does not satisfy a managed any-source rule.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot firewall
dot doctor
Run parallel health checks for dependencies, repositories, stow integrity, services, apt packages, firewall rules, and OpenCode/Herdr integration. A timestamped report is always written under ~/.local/state/dot/logs/.
dot doctor [flags]
Run health checks on the dotfiles system. All checks run in parallel and each section streams to the terminal as it finishes, followed by a grouped summary. A timestamped log is always written under ~/.local/state/dot/logs/.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Checks performed
Dependencies and configured gh extensions
Repositories, origin HEAD, git config, and stow integrity
OpenCode, Herdr, notifications, timers, and registered services
Public/private apt packages, managed firewall rules, and Syncthing
Exit codes
0 No critical errors (warnings may still be present)
1 One or more critical errors found
dot clean
Unstow managed dotfiles
dot clean [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot agent
Agent harness tooling: instruction sync, linting, tools and detection
dot agent <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot agent sync
Mirror AGENTS.md to agent harness instruction files
dot agent sync [flags]
Mirror /.config/opencode/AGENTS.md to each agent harness’s instruction file, then trust each tracked repository from private dot-git.yml in Claude Code (/.claude.json) so it opens without the workspace trust prompt. Each repository is trusted once, the first time its checkout exists; dot remembers it in its state directory, so untrusting it in Claude Code later sticks. Runs as part of dot update and dot init.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot agent sync
dot agent lint
Run the repository’s agent_lint commands from private dot-git.yml on changed files
dot agent lint [flags] [<path...>]
Collect files changed in the working tree against HEAD, plus untracked files that are not ignored, and run the configured agent_lint commands in parallel from the repository root under dot run –timeout, reporting results in config order. Deleted files and submodule changes are left out. Paths narrow the changed files. –all uses every tracked and untracked file that is not ignored instead, so commands run without changes. –only runs just the named commands and reports only those. A run argument of exactly {files} expands to the changed files matching the command’s include globs; commands without it run as they are, but only when a changed file matches. Each result is passed, failed, timed-out or skipped, with the last lines of output for failures. Exits non-zero when any command fails or times out. Repositories without agent_lint print a notice and exit zero.
Options
| Option | Description |
|---|---|
--json |
Print one JSON report instead of log lines |
--all |
Lint every file, not only changed ones |
--only <string> |
Run only the command with this name; repeatable |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<path> |
path |
Examples
dot agent lint
dot agent lint --json
dot agent lint src/one.ts src/two.ts --json
dot agent lint --all --only Typecheck --json
dot agent oxlint
Run the advisory generic Oxlint pass on JavaScript and TypeScript changes in an opted-in repository. Repository-owned Oxlint takes precedence. Use –changed normally, explicit paths to lint whole files, or –all when explicitly requested. Pass –force to run despite those skips.
dot agent oxlint [flags] [<path...>]
Run the generic @timmo001/oxlint-rules recommended config from a dot-managed cache without changing the target repository. The current repository must set agent_oxlint: true in private dot-git.yml. Repositories with their own Oxlint config, dependency, script, or local binary are skipped because their local setup takes precedence. Pass –force to run anyway. Diagnostics are advisory and do not make these personal rules authoritative for the host repository. –changed compares the working tree and untracked files with HEAD, prints only findings on added or modified lines, and exits non-zero when any remain. Paths with –changed limit that comparison to those files or directories. dot git commit runs the same check on the files it commits.
Modes
--changed Lint uncommitted changes, reporting only changed lines; add paths to narrow
<path>... Lint explicit files or directories in full
--all Lint the complete repository tree
--force Run even if opt-in or repository Oxlint would skip
--opt-in Enable and commit the existing config entry; add paths or --all to also lint
Options
| Option | Description |
|---|---|
--all |
Lint the complete repository tree |
--changed |
Lint uncommitted changes and report only findings on changed lines; paths narrow the scope |
--opt-in |
Enable the existing private config entry and commit the single-line change |
--force |
Run even if the repository is not opted in or already has Oxlint |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<path> |
path |
Opt-in
--opt-in adds or sets only agent_oxlint: true in an existing private repository entry, preserving all other bytes. If the entry is missing, it offers the repo induct wizard with agent Oxlint prefilled as enabled. Without a terminal it prints induction instructions. The config must be tracked and clean. Active commit hooks are refused rather than bypassed so formatters cannot expand the change. Commits through dot git commit without pushing; unrelated staged files are excluded. An existing opt-in creates no commit.
Examples
dot agent oxlint --changed
dot agent oxlint --changed src/example.ts
dot agent oxlint src/example.ts
dot agent oxlint src/one.ts src/two.ts
dot agent oxlint --all
dot agent oxlint --force src/example.ts
dot agent oxlint --opt-in
dot agent tools
List the dot commands exposed to agents as Code Mode tools
dot agent tools [flags]
List the dot commands that the OpenCode cli-tools plugin exposes as typed Code Mode tools under tools.dot.*. The list is opt-in and kept in dot/src/commands/AgentTools.ts; each entry’s input schema is generated from the command’s arguments and flags. –json prints the manifest the plugin reads: tool name, command path, summary, read or write access, pinned state, timeout, whether the command has –json, the input JSON Schema, and how each input maps back to an argument or flag. Write tools ask for permission through dot.write.
Options
| Option | Description |
|---|---|
--json |
Print the tool manifest as JSON |
--help -h |
Show help information |
Examples
dot agent tools
dot agent tools --json
dot agent detect
Detect whether an AI coding agent is running dot
dot agent detect [flags]
Detect whether dot is running under an agent harness from agent environment variables, falling back to a Linux /proc process-ancestry check. Exits 0 when an agent is detected and 1 otherwise, so scripts can branch with if dot agent detect. Set DOT_AGENT=1 to force detection on or DOT_AGENT=0 to force it off.
Modes
(default) Print the detected agent, or a no-agent message
--quiet Print only the provider id (nothing when no agent)
--json Print the detection result as JSON
Options
| Option | Description |
|---|---|
--quiet -q |
|
--json |
Print JSON |
--help -h |
Show help information |
Examples
dot agent detect
dot agent detect --quiet
dot agent detect --json
dot agent detect && echo running under an agent
dot notes
Integrate with the notes tool
dot notes <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot notes capture
Manage the notes capture Worker
dot notes capture <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot notes capture sync
Sync watched repositories to the notes capture picker
dot notes capture sync [flags]
Regenerate the notes capture repository picker from repositories with GitHub notifications enabled in the private dot-git.yml configuration. Updates only CAPTURE_REPOSITORIES in the ignored capture/.env.prod file the capture Alchemy stack reads. When the picker changes, deploys the notes-github stack, which copies it into the repository secret CI deploys with, then the capture stack, and restores the old picker if either deploy fails.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot notes capture sync
dot secrets
Write other machines’ secret files from this desktop
dot secrets <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot secrets push aidan@arch-station.local
dot secrets push
Write another machine’s secret files from this desktop’s 1Password
dot secrets push [flags] <target>
Reads the target’s own descriptors from ~/.config/dot/secret-files.d/ over SSH, so it gets exactly its host’s files, fills in their {{ op://… }} references with op on this machine, where 1Password unlocks through its app, and copies each file over with mode 0600. Only files that are missing or whose template changed are written, unless –force. Each written file is recorded in the target’s ~/.local/state/dot/secret-files.json with the hash dot stow uses, so the target’s own stow treats it as current and never needs op, and its units are enabled and restarted.
Options
| Option | Description |
|---|---|
--force |
Write every file, even ones whose template hasn’t changed |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<target> |
SSH destination of the machine, such as aidan@arch-station.local |
Examples
dot secrets push aidan@arch-station.local
dot secrets push --force aidan@nas.local
dot setup
Set up Herdr machines
dot setup <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot setup herdr
Set up Herdr
dot setup herdr <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot setup herdr machines
Save the Herdr SSH machines from the private machine list in Herdr and hc
dot setup herdr machines [flags]
Write the machines in the private /.config/dot/herdr-machines.yml into Herdr’s saved-machine catalog (/.local/state/herdr/client/endpoints.json), in the list’s order and with its profile IDs, labels, SSH targets and sessions, so every device has the same machines. A machine whose host is this device’s hostname is left out, so a device never lists itself. Herdr keeps the catalog in client state rather than config, so dot stow can’t link it. A machine this device already has keeps its enabled state, so toggles survive; enabled in the list only applies when it’s added. Machines the list doesn’t name are kept after it. Open Herdr clients pick up the change. When the Herdr app’s core (hc) is installed, it also adds each listed machine hc doesn’t have yet with hc machine add –install, named from its label in lowercase (“[HA] SSH” is ha-ssh), and an ssh:// target with a port goes through –via. A machine that can’t be reached is tried again next time. dot up runs the same steps and only reports them when they save or add machines or fail, so a device without the list, or whose machines already match, sees nothing. Host keys and remote installs for Herdr stay with Herdr: run herdr machine reconnect
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot setup herdr machines
dot git
Work across tracked Git repositories
dot git <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot git diff
Show repository change state across all tracked repositories.
dot git diff [flags]
Modes
(default) Text summary of repos with changes
--bar-json JSON output for status bars
--panel-json Full JSON panel snapshot
Options
| Option | Description |
|---|---|
--bar-json |
JSON output for status bars and shell modules |
--panel-json |
Full JSON snapshot for the native shell panel |
--help -h |
Show help information |
Examples
dot git diff
dot git diff --bar-json
dot git diff --panel-json
dot git log
Show recent commits across managed repositories
dot git log <subcommand> [flags]
Lists the latest commits on each managed checkout’s branch, including fetched upstream commits that are not pulled yet. Results are cached per repository and only re-read when HEAD or the upstream ref moves; –refresh re-reads everything.
Options
| Option | Description |
|---|---|
--refresh |
Re-read every repository, ignoring the cache |
--panel-json |
Return managed repositories and their recent commits as JSON |
--help -h |
Show help information |
Examples
dot git log
dot git log --panel-json
dot git log show --path ~/repos/example --sha abc1234
dot git log show --path ~/repos/example --from def5678 --sha abc1234
dot git log show --path ~/repos/example --changes uncommitted
dot git log show
Return changed files and a diff preview as JSON for the Git panel, for one commit, a commit range or a repository’s local changes
dot git log show [flags]
Options
| Option | Description |
|---|---|
--path <string> |
Managed repository checkout path |
--sha <string> |
Full or abbreviated commit SHA |
--from <string> |
Show the net changes to –sha from this earlier commit, or from the empty tree with root |
--file <string> |
Repository-relative file to limit the result to; repeatable |
--changes <choice> |
Preview uncommitted changes including untracked files, commits not pushed upstream, or fetched commits not pulled yet (choices: uncommitted, unpushed, incoming) |
--help -h |
Show help information |
dot git commit
Commit staged changes through the guarded gateway. Subjects must be one line, have no trailing full stop, and stay within the hard length limit. Explicit –path scopes never imply git add -A; –amend keeps the existing message unless –message is supplied.
dot git commit [flags]
Create a commit through dot’s guarded gateway instead of raw git commit. The subject is validated as a single line with no trailing full stop and a length limit, then the staged set (or an explicit –path scope) is committed. It never runs git add -A.
Pass –amend to rewrite the previous commit instead of creating a new one; it keeps the existing message unless you pass –message. With –push, an amend force-pushes with –force-with-lease, never a plain force.
After a push to a branch other than the default, and with upkeep installed, the pull request gh finds for the branch, or else the branch until its pull request opens, is handed to Upkeep’s Shepherd, with an export of the OpenCode session in $OPENCODE_SESSION_ID, that session’s newest Plannotator Inbox thread and this machine. Someone else’s pull request goes with –theirs. Pass –no-shepherd to skip it; it never fails the commit or push.
In repositories opted into agent Oxlint, the files being committed are linted and only findings on added or modified lines are reported. Warnings print and the commit continues; errors refuse the commit until they are fixed or –skip-agent-oxlint is passed. Agents are routed here by the dot-git-commit skill and blocked from raw git commit in the OpenCode permission config.
Modes
(default) Commit the staged set
--path Commit only named files
--amend Rewrite the previous commit
--dry-run Preview the plan without changes
Options
| Option | Description |
|---|---|
--message -m <string> |
Single-line commit subject |
--path <path> |
Commit only this file; repeatable |
--amend |
Amend the previous commit |
--push |
Push after committing |
--dry-run |
Preview without changing anything |
--skip-agent-oxlint |
Commit despite agent Oxlint errors on changed lines |
--no-shepherd |
Push without handing the pull request to Upkeep’s Shepherd |
--help -h |
Show help information |
Message guards
Single line Rejects multi-line messages
No em/en-dash Rejects em/en-dashes; use a hyphen
No full stop Rejects a trailing full stop
Warn over 60 Warns on stderr, still commits
Reject over 120 Fails; shorten the subject
Base branch guard
Refuses commits to the base branch of a repo you do not own.
Owners you control are listed in git config dot.owner. Work on a feature branch.
For a maintained fork with an owned origin, opt in one exact branch with git config --local dot.maintainedForkBranch <branch>.
The exception requires owned origin fetch and push targets; global settings are ignored.
Examples
dot git commit -m "Add commit gateway"
dot git commit -m "Scope to one file" --path src/git/commands/Status.ts
dot git commit -m "Commit and push" --push
dot git commit -m "Push without Shepherd" --push --no-shepherd
dot git commit --amend
dot git commit --amend -m "Reword the previous commit"
dot git commit -m "Preview only" --dry-run
dot git notifications
Read the authenticated GitHub notification inbox as JSON. –all and –participating filter it.
dot git notifications <subcommand> [flags]
Modes
(default) Open the shell notification panel
--bar-json Status-bar JSON
Options
| Option | Description |
|---|---|
--bar-json |
JSON output for status bars and shell modules |
--all |
Include read notifications |
--participating |
Only participating threads |
--mark-read <string> |
Mark a thread as read |
--help -h |
Show help information |
Examples
dot git notifications
dot git notifications --bar-json
dot git notifications --participating
dot git notifications dismiss --dry-run
dot git notifications --mark-read 12345
dot git notifications dismiss
Show a coloured repository summary, then review merged dependencies followed by remaining unread notifications. Done queues work in the background while progress appears above the next choices. Every repository offers Done, Open on GitHub, Skip and Stop. Stop ends the questions and finishes queued work before a completion and issues summary. –repo selects a single notification stack. Bar hiding preferences do not restrict this inbox.
dot git notifications dismiss <subcommand> [flags]
Options
| Option | Description |
|---|---|
--repo <string> |
Configured repository name/path or GitHub owner/repository |
--dry-run |
Print repository batches and reasons without changing notifications |
--help -h |
Show help information |
Examples
dot git notifications dismiss
dot git notifications dismiss --repo owner/repository
dot git notifications dismiss --dry-run
dot git notifications dismiss dependencies --mode all
dot git notifications dismiss remaining
dot git notifications dismiss dependencies
Review unread merged Renovate/Dependabot updates regardless of CI results. All-mode excludes unverifiable CI and exits 2 when some notifications could not be inspected but nothing failed. Opening GitHub returns to the review without dismissing anything. Upkeep’s notifications job runs all-mode every 15 minutes; upkeep run notifications queues it now.
dot git notifications dismiss dependencies [flags]
Options
| Option | Description |
|---|---|
--repo <string> |
Configured repository name/path or GitHub owner/repository |
--dry-run |
Print repository batches and reasons without changing notifications |
--mode <choice> |
Mark all verified dependencies done, or prompt per repository; omit to choose (choices: all, repos) |
--help -h |
Show help information |
dot git notifications dismiss remaining
Review all other unread notifications per repository, including PRs with unresolved CI and their reasons. This pass always requires a choice before dismissal.
dot git notifications dismiss remaining [flags]
Options
| Option | Description |
|---|---|
--repo <string> |
Configured repository name/path or GitHub owner/repository |
--dry-run |
Print repository batches and reasons without changing notifications |
--help -h |
Show help information |
dot git issues
Track open issues for enabled repositories, independently of GitHub notifications
dot git issues [flags]
Opt in with issues.enabled in private dot-git.yml. Open issues exclude pull requests and are ordered by latest update. Rules under the top-level issues.exclude list hide matching issues, such as a Dependency Dashboard; each rule matches when every field it sets (title, author, label and optional repo) matches, case-insensitively. Queries fetch at most every five minutes unless –refresh is supplied. Failed fetches retain the last successful list and report an error.
Options
| Option | Description |
|---|---|
--repo <string> |
Select an enabled repository by name or GitHub slug |
--refresh |
Fetch now instead of using the five-minute cache |
--panel-json |
Return enabled repositories and their open issues as JSON |
--help -h |
Show help information |
Examples
dot git issues --panel-json
dot git issues --refresh
dot mcp
Serve dot’s agent tools over MCP, or manage agent MCP server configs
dot mcp <subcommand> [flags]
With no subcommand, serve the commands from dot agent tools as MCP tools on stdio. Read commands are read-only tools, commands that always ask in Code Mode are marked destructive, and job-only commands are left out. Each call runs the dot command and returns its exit code, output (parsed JSON for –json commands) and stderr.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot mcp
dot mcp sync
dot mcp sync
Regenerate MCP configs for all harnesses from the spec
dot mcp sync [flags]
Regenerate each active harness’s native MCP config from the private spec (mcp.yml). Repository opencode_mcp maps in dot-git.yml turn named servers on (true) or off (false) for that checkout using generated, Git-ignored .opencode/opencode.jsonc files; unlisted servers keep their mcp.yml default. Repository opencode_skills maps allow (true) or deny (false) named skills in the same file, so skills denied globally can be listed only where they are useful. Removing every override removes the generated config. Existing unowned or tracked configs are preserved and reported as conflicts. Global configs are written into the stowed private source tree; run dot stow after. Claude Code’s user scope is updated through the claude CLI instead of a file. Some agent harnesses are documented stubs and are not written.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot mcp sync
dot skills
Maintain imported agent skills
dot skills <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot skills validate
Validate the standalone skills repository
dot skills validate [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot skills import
Import or refresh a reviewed skill snapshot
dot skills import [flags] <name>
Options
| Option | Description |
|---|---|
--apply |
Apply a clean imported snapshot |
--metadata-only |
Materialise metadata only |
--reviewed-sha <string> |
Set the reviewed upstream SHA |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<name> |
Imported skill name |
dot skills updates
Check/apply imported skill updates
dot skills updates [flags]
Options
| Option | Description |
|---|---|
--check |
Check only |
--update |
Apply clean updates |
--json |
Report as JSON |
--skill <string> |
Limit to one skill |
--no-commit |
Apply without committing |
--skip-review |
Skip local-edit review |
--help -h |
Show help information |
Examples
dot skills updates --json
dot skills updates --update --skill agentic-workflows --no-commit
dot skills check
Check adapted imports against upstream
dot skills check [flags]
Options
| Option | Description |
|---|---|
--open-opencode |
Attempt OpenCode analysis |
--diff-origin |
Diff against upstream origins |
--skill <string> |
Check one skill |
--help -h |
Show help information |
Examples
dot skills check --skill agentic-workflows
dot skills consumers
Manage repositories that receive shared skill copies
dot skills consumers <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot skills consumers add
Share skills with a repository through consumers.yml, push the change and install them there straight away
dot skills consumers add [flags] <skill...>
Options
| Option | Description |
|---|---|
--repo <string> |
owner/name of the consumer repository (default: the current directory’s GitHub repository) |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<skill> |
Skills to share with the repository |
Examples
dot skills consumers add code-review testing
dot skills consumers add --repo timmo001/ha-bridge writing-style
dot skills consumers remove
Stop sharing skills with a repository through consumers.yml, push the change and remove the copies there straight away. Dropping the last skill, or –all, also drops its entry.
dot skills consumers remove [flags] [<skill...>]
Options
| Option | Description |
|---|---|
--repo <string> |
owner/name of the consumer repository (default: the current directory’s GitHub repository) |
--all |
Stop sharing every skill, remove the copies now and drop the repository |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<skill> |
Skills to stop sharing with the repository |
Examples
dot skills consumers remove writing-style
dot skills consumers remove --repo timmo001/ha-bridge --all
dot completions
Generate shell completions
dot completions [flags] [<shell>]
Generate the managed dot and skill-maintenance completion files for the selected shell so the next dot stow installs them.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<shell> |
Shell to generate completions for |
Examples
dot completions zsh
dot completions bash
dot completions fish
dot repo
List, induct and run hooks for tracked repositories in private dot-git.yml
dot repo <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot repo list
List tracked repositories and shortcuts from private dot-git.yml
dot repo list [flags] [<query>]
Read-only lookup of the repositories and path shortcuts configured in private dot-git.yml, the same list behind the prefix+s picker and repository shortcuts. Reads the config directly, so it does not depend on the generated picker cache. Each entry reports name, path, github (null for shortcuts and repositories not on GitHub), aliases, kind, whether the checkout exists and whether it is the deepest tracked path containing the working directory. Each entry also reports herdr: live state from the shared Herdr server (HERDR_SOCKET_PATH or the default socket), with open, the workspaces labelled with the repository name or inside its worktrees (id, label, focused, tabCount, paneCount, agentStatus, checkoutPath, linkedWorktree), and the agents running in them (name, agent, status, workspaceId, paneId, focused, cwd). herdr is null when the server cannot be reached; agent status is a snapshot. A query matches name, aliases, GitHub slug or repository name, and path, case-insensitively, with exact matches first. –open keeps only repositories with an open Herdr workspace, and fails when the Herdr server cannot be reached. Prints JSON with –json or when run under an AI agent, otherwise an aligned table. Exits 1 when a query matches nothing, and fails when private config is unavailable or invalid.
Options
| Option | Description |
|---|---|
--open |
Only list repositories open in Herdr |
--json |
Print JSON (the default under an AI agent) |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<query> |
Filter by name, alias, GitHub slug or path (exact matches first) |
Examples
dot repo list
dot repo list notes
dot repo list arch-repo --json
dot repo list --open --json
dot repo search
Fuzzy-search tracked repositories and shortcuts
dot repo search [flags] <query...>
Ranks tracked repositories from private dot-git.yml by fuzzy match on name, aliases, GitHub repository name, GitHub slug, directory name and path (path matches count for less). Each whitespace-separated term must match some field, with typo and partial-word tolerance loose enough for ambiguous queries, though a term found only inside other words (her in weather) scores lower; matches under 40 or more than 20 points below the best are dropped. Returns the top 5 by default; use –limit to change that or –all for every close match, such as a whole group of repositories. Results carry the same fields as dot repo list, including herdr, plus score (1 to 100) and matched (the fields that matched), highest score first. JSON is { results, hint }, where hint says how many more matches –limit or –all would show and is omitted when there are none; the table ends with the same hint. Prints JSON with –json or when run under an AI agent, otherwise an aligned table. Exits 1 when nothing matches.
Options
| Option | Description |
|---|---|
--limit <integer> |
Maximum results (default: 5) |
--all |
Return every close match instead of the top 5 |
--json |
Print JSON (the default under an AI agent) |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<query> |
Fuzzy terms matched against name, aliases, GitHub repository name and slug, directory and path |
Examples
dot repo search dotfiles
dot repo search home assistant
dot repo search notse --limit 3 --json
dot repo search ha --all
dot repo induct
Induct a local repository into private dot git config with a preview before committing
dot repo induct [flags] [<path>]
The terminal wizard asks for Normal (first and default) or Home Assistant, then every repository field using private dot-git-presets.yml defaults and local Git identity. Flags prefill the wizard. With –noninteractive, flags override preset defaults and the command only previews; repeat the reviewed options with –commit to save. Each run validates the complete config and shows the exact diff. The config must be tracked and clean; active commit hooks are refused. Existing entries and formatting are preserved. Commits through dot git commit without pushing or including unrelated staged files. Repositories already inducted are rejected; use dot agent oxlint –opt-in to enable their agent pass.
Options
| Option | Description |
|---|---|
--preset <choice> |
Private preset (default: normal) (choices: normal, home-assistant) |
--name <string> |
Friendly repository label |
--github <string> |
GitHub owner/repository (default: origin remote when it’s on GitHub, otherwise none) |
--aliases <string> |
Space- or comma-separated aliases; empty for none |
--post-update <string> |
Post-update command; empty for none |
--agent-oxlint |
Enable agent Oxlint; –no-agent-oxlint disables it |
--activity-enabled |
Enable activity checks; –no-activity-enabled disables them |
--activity-schedule <string> |
Activity schedule: five-field cron or work |
--notifications-enabled |
Enable notifications; –no-notifications-enabled disables them |
--notifications-schedule <string> |
Notification schedule: five-field cron or work |
--ignore-bot-activity |
Filter bot-only activity; –no-ignore-bot-activity shows it |
--pull-requests |
Show open pull requests in the Git panel; –no-pull-requests hides them |
--issues |
Show open issues in the Git panel; –no-issues hides them (default: the preset, for repositories you own with GitHub issues enabled) |
--browser <string> |
Named browser from dot-git.yml; empty for the desktop default |
--herdr-after <string> |
Herdr workspace to open after; empty for none (default: last entry with the preset prefix) |
--machines <string> |
Space- or comma-separated machines that want the repository; empty for none (default: the preset’s) |
--notes-remote <string> |
Git remote for notes; empty for none (default: upstream when present) |
--agent-lint <string> |
Agent lint command, split on spaces; empty for none |
--opencode-mcp <string> |
Space- or comma-separated OpenCode MCP overrides: name turns a server on, !name turns it off; empty for none |
--noninteractive |
Use flags and preset defaults without questions; preview by default |
--commit |
Commit the proposed entry with –noninteractive after reviewing its preview |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<path> |
path |
Examples
dot repo induct
dot repo induct ~/repos/example --noninteractive --preset normal --name Example --aliases example
dot repo induct ~/repos/example --noninteractive --preset normal --name Example --aliases example --commit
dot repo hook
Offer to run a tracked repository’s post-update command
dot repo hook [flags] [<path>]
Looks up the repository containing path (default: the working directory) in private dot-git.yml and, when it has a post_update command, asks whether to run it from the repository root, as dot up does after pulling. With –from, does nothing when HEAD still matches that revision. Untracked repositories and ones without a post_update command exit quietly. Outside a terminal or under an AI agent it only prints the command. The gpu shell function and lazygit’s p binding run it after a plain git pull.
Options
| Option | Description |
|---|---|
--from <string> |
HEAD before the pull; skip when the pull did not move it |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<path> |
path |
Examples
dot repo hook
before=$(git rev-parse HEAD); git pull && dot repo hook --from "$before"
dot pr
Watch, list, read reviews on and queue pull requests
dot pr <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot pr reviews
Print a pull request’s reviews and review threads once
dot pr reviews [flags] [<pr...>]
Fetch each pull request’s latest reviews, every review thread with its comments, and bot reviews still requested, then exit. Watching a pull request is Upkeep’s: upkeep shepherd watch. The Markdown lists reviews newest first, unresolved threads with every comment in full, and resolved or minimized threads with only their replies. –branch finds the open pull request whose head is that branch of the repository (not a fork’s) in the same GraphQL query as its reviews, for pollers that would otherwise look the pull request up first; with no open pull request it prints none and exits 0. –json prints { pullRequests } with number, title, url, owner, name, repo, head, openThreads, botRequests, reviews and threads for each pull request (empty when –branch has no open pull request). Read-only; exits 1 when a pull request cannot be resolved or fetched.
Options
| Option | Description |
|---|---|
--repo <string> |
Repository slug when the PRs are elsewhere |
--branch <string> |
Read the open pull request with this head branch instead |
--json |
Print the review state as JSON instead of Markdown |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<pr> |
Pull request numbers (default: the current branch’s pull request) |
Examples
dot pr reviews
dot pr reviews --json
dot pr reviews 54322 54325 --repo home-assistant/frontend
dot pr reviews --branch fix-logs --repo home-assistant/frontend --json
dot pr queue
List reviewable pull requests and what was opened, merged or closed recently
dot pr queue [flags]
Run the repository’s review_search from private dot-git.yml (or –search) and classify each pull request deterministically: size from changed lines, failing and pending checks, latest reviews, review decision, unresolved review threads by author, labels, comment count and first-time contributors. –reviewable searches beyond the saved filter, includes PR descriptions, recent comments and thread text, and leaves judgement of those comments to the reviewer. –threads adds each unresolved thread’s comments for the saved search. Effort groups are small (up to 150 changed lines), medium (up to 400) and large; a failing check or requested changes makes a pull request not ready. The activity window lists every pull request merged, closed without merging or opened since –since, newest first, with size and labels, plus the net change in open pull requests. Read-only.
Options
| Option | Description |
|---|---|
--repo <string> |
Repository slug (default: the current checkout) |
--search <string> |
Pull request search overriding review_search from private dot-git.yml |
--reviewable |
Search open non-draft PRs beyond the saved review search and include descriptions, review and PR comment text |
--since <string> |
Activity window start: today, yesterday, YYYY-MM-DD (local midnight), an ISO timestamp, or an age such as 12h, 3d or 1w |
--sort <choice> |
Queue order: effort groups (small, medium, large, not ready), or one table by updated, created or size (choices: effort, updated, created, size) |
--only <choice> |
Print only the review queue or only the activity window (choices: queue, activity) |
--limit <integer> |
Maximum queue pull requests |
--json |
Print JSON instead of Markdown |
--threads |
Include the comments of unresolved review threads for queue pull requests |
--help -h |
Show help information |
Examples
dot pr queue
dot pr queue --only queue --reviewable --json
dot pr queue --only activity --since 2026-09-19
dot pr queue --sort updated --since 3d --json
dot pr list
Track open pull requests for enabled repositories, independently of GitHub notifications
dot pr list [flags]
Opt in with pull_requests.enabled in private dot-git.yml. Open PRs include drafts and automation, ordered by latest update. Use –repo
Options
| Option | Description |
|---|---|
--repo <string> |
Select an enabled repository by name or GitHub slug |
--refresh |
Fetch now instead of using the five-minute cache |
--ignore <integer> |
Hide a PR locally from the panel and counters; requires –repo |
--panel-json |
Return enabled repositories and their open pull requests as JSON |
--help -h |
Show help information |
Examples
dot pr list --panel-json
dot pr list --refresh
dot herdr
Manage the shared Herdr server and repository workspaces
dot herdr <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot herdr start
Start the default Herdr server through herdr.service
dot herdr start [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot herdr stop
Stop the default Herdr server only when its panes are idle shells. Run outside Herdr; –check also works inside it. Lists active agents, commands, and background jobs, then exits if blocked.
dot herdr stop [flags]
Options
| Option | Description |
|---|---|
--check |
Report blockers without stopping |
--help -h |
Show help information |
Examples
dot herdr stop --check
dot herdr stop
dot herdr restart
Restart the default Herdr server only when its panes are idle shells. Run outside Herdr; –check also works inside it. Lists active agents, commands, and background jobs, then exits if blocked.
dot herdr restart [flags]
Options
| Option | Description |
|---|---|
--check |
Report blockers without restarting |
--help -h |
Show help information |
Examples
dot herdr restart --check
dot herdr restart
dot herdr repo
Open repository workspaces
dot herdr repo <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot herdr repo open
Open or focus a repository workspace in the shared Herdr session, attaching a tiled terminal when needed. Commands reuse an idle shell pane by default, checking the focused pane, other panes in its tab, then other tabs before splitting right. –layout vertical always splits right, horizontal splits below, and tab always opens a new tab. –modifiers selects the same behaviour from Qt click/Enter modifiers, with Ctrl taking priority over Alt, then Shift. Placement flags are mutually exclusive. Use –agent to resolve the launcher, label and kind from dot herdr agents; it cannot be combined with a command or –agent-kind. With –agent opencode2, –model creates an OpenCode session on a uniquely matched model before launching the full TUI and sending any prompt. Agent launches wait for readiness and verify the selected kind before naming or prompting. –prompt-file reads the prompt from a file before anything is launched and cannot be combined with –prompt. –no-focus leaves the current view alone. –after-prefix places a newly created workspace after the last workspace whose label starts with the prefix, keeping related workspaces together. Without it, a new workspace whose label starts with a [tag] joins that tag’s group, and one whose label extends an existing one by a whole word (Dotfiles Private after Dotfiles) joins that group. A herdr_after label in dot-git.yml takes priority: the workspace opens straight after the nearest open workspace in its herdr_after chain, or straight before the first open workspace that chains back to it. A linked Git worktree of a checkout opens through Herdr’s worktree open instead, grouped under its repository with Herdr’s label, and reuses its workspace when already open. –json reports resource IDs, creation flags, agent details, model and whether the prompt was sent. Without a command or –agent, focus the workspace; an empty command opens a shell using the selected layout.
dot herdr repo open [flags] <label> <directory> [<tab-label>] [<command>]
Options
| Option | Description |
|---|---|
--layout <choice> |
Auto reuses an idle shell pane, otherwise splits right; vertical splits right, horizontal splits below, tab opens a new tab (choices: auto, vertical, horizontal, tab) |
--modifiers <integer> |
Qt keyboard modifier bitmask: Ctrl new tab, Alt split below, Shift split right, otherwise auto |
--prompt <string> |
Initial prompt to send through Herdr after the agent is ready |
--prompt-file <string> |
Read the initial prompt from a file; use for multi-line or shell-sensitive briefs; cannot be combined with –prompt |
--agent-kind <string> |
Expected Herdr agent kind for an explicit command |
--agent <string> |
Installed launcher from dot herdr agents, such as opencode2 |
--model <string> |
OpenCode 2 model or unique name match, optionally with #variant; requires –agent opencode2 |
--variant <string> |
Model variant such as low; requires –model and cannot be combined with #variant |
--agent-name <string> |
Unique Herdr agent name, assigned before prompting |
--after-prefix <string> |
Place a newly created workspace after the last workspace whose label starts with this prefix |
--no-focus |
Keep the current view focused without opening a terminal client |
--json |
Print resource IDs, creation flags, agent details and prompt status as JSON |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<label> |
Herdr workspace label |
<directory> |
Repository working directory |
<tab-label> |
Optional command tab label; defaults to the selected agent label or Shell |
<command> |
Optional command to run |
Exit codes
0 Repository workspace focused or opened
1 Herdr operation failed
2 Invalid arguments
dot herdr model
Switch the model and variant of an existing Herdr OpenCode 2 agent. Validates the model with opencode2 models and any #variant or –variant against the project’s model catalogue before updating the session through the API. Omitting the variant selects the model’s default settings. Does not send a prompt or interrupt a request already in progress.
dot herdr model [flags] <target> <model>
Options
| Option | Description |
|---|---|
--variant <string> |
Model variant such as low; cannot be combined with #variant |
--json |
Print the session ID and selected model as JSON |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<target> |
Herdr agent name or pane ID |
<model> |
OpenCode 2 model or unique name match, optionally with #variant |
dot herdr pane
Move panes between tabs
dot herdr pane <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot herdr pane move
Move a pane into another tab, beside a chosen pane
dot herdr pane move [flags] [<pane>]
Moves the focused pane, or a pane ID or live agent name, into another tab or out into a new tab. On a terminal, anything the flags leave open is asked for: which pane when its tab has several, the destination (filterable across every workspace, current workspace first: each workspace’s tabs with their panes and agents, then a new tab there), which pane to split beside when the destination has several, and the split direction, offering first the one that suits that pane’s shape. Without a terminal, or with –json, the focused panes are used, –split defaults to auto and –to is required. –to new opens a new tab in the pane’s workspace, or in –workspace. Esc, Ctrl+C or Ctrl+D cancels. Moving into another workspace gives the pane a new ID, which the output reports; agent names follow the pane.
Options
| Option | Description |
|---|---|
--to <string> |
Destination tab ID, tab number in the pane’s workspace, tab label, or new |
--workspace <string> |
Workspace ID or label for –to new (default: the pane’s workspace) |
--target <string> |
Pane ID or agent name in the destination tab to split beside |
--split <choice> |
Split direction; auto picks right for wide panes and down for tall ones (choices: auto, right, down) |
--no-focus |
Leave focus where it is |
--json |
Print the moved pane, tab and split as JSON |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<pane> |
Pane ID or agent name to move (default: the focused pane) |
Examples
dot herdr pane move
dot herdr pane move reviewer --to 2 --split auto
dot herdr pane move --to new
dot herdr pane move --to new --workspace Dotfiles
dot herdr context
Show context for a locally attached Herdr terminal
dot herdr context [flags]
Shows the selected workspace, tab, pane, directory and Git repository while a local foreground terminal client is connected to the selected Herdr session. Desktop window focus is not required. JSON uses attached: false and null context fields when no terminal is attached. Without –session, uses the SDK’s HERDR_SOCKET_PATH, HERDR_SESSION and default socket selection. Local Linux process and socket checks do not detect remote clients. Probe failures exit non-zero with an error on stderr. –watch emits changed context as newline-delimited JSON, following workspace, tab and pane events with a 30-second fallback. Send refresh followed by a newline on stdin to collect and emit context even when unchanged. Watch failures emit null and an error on stderr; dropped connections reconnect automatically.
Options
| Option | Description |
|---|---|
--json |
Emit attached-session context as JSON |
--watch |
Watch context changes as newline-delimited JSON |
--session <string> |
Select a Herdr session (use default for the default socket) |
--help -h |
Show help information |
Examples
dot herdr context
dot herdr context --json
dot herdr context --watch --json
dot herdr context --session default
dot herdr agents
List installed agent targets shared by repository and release pickers
dot herdr agents [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot homeassistant
Aliases: dot ha
Run Home Assistant Core and frontend dev servers
dot homeassistant <subcommand> [flags]
Runs the pitchfork daemons and frontend suites behind the Home Assistant dev setup, configured in $XDG_CONFIG_HOME/dot/homeassistant.yml. Interactive runs go through dot status run and, under Herdr, open in the repository’s workspace. Under an agent, commands skip setup, Herdr and prompts: they reuse a running daemon and fail with a message instead of stopping a conflicting one. Commands act on the frontend checkout they run in: in a linked worktree, core, build and serve are that worktree’s own daemons, under the pitchfork namespace ha-frontend-
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot ha c dev
dot ha f serve prod
dot ha status
dot homeassistant core
Aliases: dot homeassistant c
Run Home Assistant Core
dot homeassistant core <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot homeassistant core dev
Run Core serving the local frontend build
dot homeassistant core dev [flags]
Runs setup, then starts the Core pitchfork daemon, which starts the frontend build it depends on. Stops the frontend serve daemon first after asking. Under an agent, it skips setup, Herdr and prompts, and only starts the daemon when nothing conflicts; –latest there fast-forwards Core’s dev to upstream/dev and runs script/bootstrap, without pushing, and fails instead when Core has local changes, isn’t on dev, has commits upstream/dev lacks or is already running from the old dev. In a linked frontend worktree, it starts a throwaway Core dev instance for that worktree instead, at https://dev.
Options
| Option | Description |
|---|---|
--latest |
Rebase dev onto upstream/dev and push it during setup. Under an agent, fast-forward dev to upstream/dev without pushing, or fail |
--fresh |
In a frontend worktree, throw its dev instance’s config away and start again |
--onboarding |
In a frontend worktree, leave its dev instance’s onboarding for you to do |
--background |
Return once it is ready, leaving it running. Under Herdr, it runs in a pane split off this one, which closes once it succeeds |
--help -h |
Show help information |
Examples
dot homeassistant core dev
dot ha c dev --latest --background
dot ha c dev --fresh
dot homeassistant core setup
Update Core’s dev branch and bootstrap its virtual environment
dot homeassistant core setup [flags]
On a clean tree, switches to dev, pulls it and fetches upstream/dev; –latest also rebases onto upstream/dev and pushes. Then creates the virtual environment if needed and runs script/bootstrap. Refuses to run under an agent.
Options
| Option | Description |
|---|---|
--latest |
Rebase dev onto upstream/dev and push it after pulling |
--help -h |
Show help information |
Examples
dot homeassistant core setup --latest
dot homeassistant frontend
Aliases: dot homeassistant f
Run Home Assistant frontend builds and dev servers
dot homeassistant frontend <subcommand> [flags]
Every command here takes the frontend’s build lock, so each stops the frontend pitchfork daemons first after asking. Lint, format, type checks and unit tests don’t take the lock; run them with pnpm directly.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot homeassistant frontend dev
Run the frontend watch build that Core serves
dot homeassistant frontend dev [flags]
Options
| Option | Description |
|---|---|
--background |
Return once it is ready, leaving it running. Under Herdr, it runs in a pane split off this one, which closes once it succeeds |
--attach |
Follow an already running build instead of asking to restart it |
--help -h |
Show help information |
Examples
dot homeassistant frontend dev
dot ha f dev --background
dot homeassistant frontend serve
Run the frontend dev server against another Core
dot homeassistant frontend serve [flags] [<target>]
Writes the Core URL for the serve daemon, starts the target’s own daemon when it has one, then starts the serve daemon. Stops the frontend build daemon first after asking. In a linked frontend worktree, it starts that worktree’s own serve daemon at https://serve.
Options
| Option | Description |
|---|---|
--background |
Return once it is ready, leaving it running. Under Herdr, it runs in a pane split off this one, which closes once it succeeds |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<target> |
Serve target from homeassistant.yml, or a Core URL |
Examples
dot ha f serve prod
dot ha f serve https://core.example.com --background
dot homeassistant frontend build
Run the frontend production build
dot homeassistant frontend build [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Examples
dot ha f build
dot homeassistant frontend gallery
Run the frontend gallery dev server
dot homeassistant frontend gallery [flags]
Options
| Option | Description |
|---|---|
--background |
Return once it is ready, leaving it running. Under Herdr, it runs in a pane split off this one, which closes once it succeeds |
--help -h |
Show help information |
Examples
dot ha f gallery --background
dot homeassistant frontend demo
Run the frontend demo dev server
dot homeassistant frontend demo [flags]
Options
| Option | Description |
|---|---|
--background |
Return once it is ready, leaving it running. Under Herdr, it runs in a pane split off this one, which closes once it succeeds |
--help -h |
Show help information |
Examples
dot ha f demo --background
dot homeassistant frontend e2e
Run the frontend e2e app dev server
dot homeassistant frontend e2e [flags]
Options
| Option | Description |
|---|---|
--background |
Return once it is ready, leaving it running. Under Herdr, it runs in a pane split off this one, which closes once it succeeds |
--help -h |
Show help information |
Examples
dot ha f e2e --background
dot homeassistant frontend test
Run frontend tests
dot homeassistant frontend test <subcommand> [flags]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
dot homeassistant frontend test e2e
Run the frontend e2e tests
dot homeassistant frontend test e2e [flags] [<suite>]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<suite> |
Suite to test (default: all) |
Examples
dot ha f test e2e
dot ha f test e2e app
dot homeassistant dev
Run Core and the frontend build in their Herdr workspaces
dot homeassistant dev [flags]
Options
| Option | Description |
|---|---|
--background |
Return once it is ready, leaving it running. Under Herdr, it runs in a pane split off this one, which closes once it succeeds |
--help -h |
Show help information |
Examples
dot ha dev
dot ha dev --background
dot homeassistant status
Show the Home Assistant dev servers
dot homeassistant status [flags] [<target...>]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<target> |
core, build, serve, a serve target with a daemon, gallery, demo or e2e (default: all) |
Examples
dot ha status
dot ha status core serve
dot homeassistant stop
Stop Home Assistant dev servers
dot homeassistant stop [flags] [<target...>]
With no targets, or all, stops every server the checkout owns. Under an agent, the targets must be named, or all given, so a bare stop can’t take down every server.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<target> |
core, build, serve, a serve target with a daemon, gallery, demo, e2e, or all |
Examples
dot ha stop
dot ha stop gallery
dot ha stop all
dot homeassistant logs
Print or follow a Home Assistant dev server’s logs
dot homeassistant logs [flags] <target>
Options
| Option | Description |
|---|---|
--follow |
Follow the logs |
--lines <integer> |
Recent lines to print |
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<target> |
core, build, serve, a serve target with a daemon, gallery, demo or e2e |
Examples
dot ha logs core
dot ha logs serve --follow
dot reload
Reload services, or selected parts
dot reload [flags] [<part...>]
Reload parts that can go stale after a change. With no parts, reloads everything except agents. agents reloads the OpenCode service’s config and, through Herdr, types /reload-plugins into idle Claude Code sessions and /reload into idle Pi sessions; busy sessions are left alone, and dot update runs it after a full update. updates refreshes available updates. doctor starts the dot doctor check.
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<part> |
Parts to reload (default: all but agents) |
Examples
dot reload
dot reload updates
dot reload agents
dot help
Show this help menu
dot help [flags] [<command...>]
Options
| Option | Description |
|---|---|
--help -h |
Show help information |
Arguments
| Argument | Description |
|---|---|
<command> |
Command path to show help for |
Examples
dot help
dot help git commit