Skip to content
Agentmart
Submit a tool

homerail-cli

HomeRail CLI syntax, flags, configuration, and command reference.

Skill by xiaotianfotos

IndexedMIT★ 998
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/xiaotianfotos-homerail-cli

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

HomeRail CLI syntax, flags, configuration, and command reference. Use to translate a known operation into an exact hr command or diagnose CLI configuration. Use homerail-dag-ops for the full DAG design, execution, supervision, and inspection workflow. For deployment, service startup, or skill installation, use homerail-install-ops first.

Use cases: design, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/homerail-cli

What's inside

Skill name
homerail-cli
Description
HomeRail CLI syntax, flags, configuration, and command reference. Use to translate a known operation into an exact hr command or diagnose CLI configuration. Use homerail-dag-ops for the full DAG design, execution, supervision, and inspection workflow. For deployment, service startup, or skill installation, use homerail-install-ops first.
License
MIT
Instructions
393 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • files: referenced but missing: assets/orchestrations/local-harness-cli-deploy-diagnosis.yaml.template

Files (2)

  • SKILL.md
  • openai.yaml · agents/

SKILL.md (first lines)

# HomeRail CLI (TypeScript)

## Manager Agent native shell

The HomeRail Manager Agent can use the selected harness's native shell directly:
Codex provides its built-in shell and Claude Agent SDK provides `Bash`.

Prefer `hr --json <command...>` for structured results. If `hr` is not installed
on `PATH`, HomeRail exposes the active local-source entrypoint through
`HOMERAIL_CLI_ENTRYPOINT`; invoke it as:

```bash
node "$HOMERAIL_CLI_ENTRYPOINT" --json <command...>
```

A zero exit status plus the returned JSON is valid execution evidence. Dedicated
Manager Tools remain useful shortcuts, but the CLI is the complete control
surface for commands that have no dedicated Tool.

## Installation

Before acting, apply `homerail-shared` rules. This pre-publication release uses the local source tree; do not assume npm publication exists.

```bash
cd homerail_cli
npm ci
npm run build
```

The CLI binary is `dist/cli.js`. Run it directly or via the `hr` bin alias:

```bash
# From the repo root after build
node homerail_cli/dist/cli.js --help

# Or link globally
cd homerail_cli && npm link
hr --help
```

For development without a build step:

```bash
npx tsx homerail_cli/src/cli.ts --help
```

## Configuration

Use the CLI config flow for local runtime settings and provider credentials:

```bash
hr config
hr config show
hr config apply
```

`hr config` writes non-secret settings under `${HOMERAIL_HOME}/config.json`.
Provider and integration credentials are sent to Manager and stored in the
Manager encrypted settings store, persisted under
`${HOMERAIL_HOME}/manager/homerail.db`. `${HOMERAIL_HOME}/secrets/env` is a
legacy plaintext import path only; do not use it as the normal OSS
configuration path.

The Manager URL is resolved in this order:

1. `--base-url <url>` flag on any command
2. `HOMERAIL_MANAGER_URL` environment variable
3. `${HOMERAIL_HOME}/config.json`
4. Default: `http://localhost:19191`

The default Manager port is `19191`. Override it with `HOMERAIL_MANAGER_PORT` for
local service startup, or use a full `HOMERAIL_MANAGER_URL` / `--base-url` when the
Manager is on another host or port.
The default Agent UI HTTPS port is `19192`. Override it with `HOMERAIL_UI_PORT` or
`ui.port` in local config. The HTTP fallback port is `19193`; override it with
`HOMERAIL_UI_HTTP_PORT` or `ui.httpPort`.

```bash
# Option A: environment variable
export HOMERAIL_MANAGER_PORT=19191
export HOMERAIL_MANAGER_URL=http://localhost:${HOMERAIL_MANAGER_PORT}

# Option B: per-command flag
hr --base-url http://localhost:19191 templates list
```

Additional global options:

| Flag | Description |
|------|-------------|
| `--json` | Output raw JSON instead of formatted text |
| `--request-timeout <ms>` | HTTP request timeout (default: 30000) |

## Commands

### Local Runtime

```bash
# Interactive local config
hr config

# Start Manager and Node together
hr start
hr start --rebuild-worker-image
hr start --ui
hr start --ui --enable-text-mode

# Inspect and stop services started by hr start
hr runtime status
hr runtime logs
hr runtime stop

# Start and stop the decoupled Agent UI
hr ui start
hr ui start --enable-text-mode
hr ui status
hr ui logs
hr ui stop

From xiaotianfotos/homerail, MIT.

More from xiaotianfotos/homerail

Signals

Stars
998
Forks
226
Open issues
19
Last commit (this folder)
Sep 13, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from xiaotianfotos

Cite this page

homerail-cli skill. Agent Mart. https://agentmart.dev/skills/xiaotianfotos-homerail-cli (last updated 2026-10-24)