homerail-shared
Shared HomeRail rules for AI agents operating the local-source release candidate: service roles, environment variables, secrets, provider boundaries, Docker…
Skill by xiaotianfotos
Chalk Labs
Need help deploying homerail-shared?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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-shared
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.
About
Use cases: devops, security
Reviews
Write a reviewNo 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-shared
What's inside
- Skill name
homerail-shared- Description
- Shared HomeRail rules for AI agents operating the local-source release candidate: service roles, environment variables, secrets, provider boundaries, Docker callback networking, update expectations, and safe command behavior. Use whenever installing, configuring, upgrading, troubleshooting, or running HomeRail through other HomeRail skills.
- License
- MIT
- Instructions
- 86 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# HomeRail Shared
## Core Rules
Use these rules with all HomeRail skills.
- Treat this release as a local-source install. Do not assume npm packages or public GitHub URLs exist yet.
- Prefer placeholders such as `<local-homerail-repo>` and `/path/to/HomeRail` in user-facing instructions.
- Keep provider and integration secrets in the Manager encrypted secret store through CLI/UI configuration; never write API keys, tokens, or passwords into repo files, skill files, DAG templates, commits, or issue text.
- Use one shared `HOMERAIL_HOME` for Manager and Node. Default is `$HOME/.homerail`.
- Prefer `hr config` for local runtime settings and `hr start` to start Manager and Node together.
- Manager and Node run as local services. Manager is not expected to run inside the Worker Docker image.
- Node provisions Worker containers. Workers for one run should share `${HOMERAIL_HOME}/workspace/<run_id>`.
- Local service ports (use this table and the CLI before falling back to low-level process probes):
| Port | Role | Default URL | Notes |
| --- | --- | --- | --- |
| 19191 | **Manager** (HTTP + WS, what DAGs and the CLI talk to) | `http://localhost:19191` | This is the only port a DAG run / CLI hits. Bind via `HOMERAIL_MANAGER_HOST` / `manager.host` / `hr start --host`; public access via `HOMERAIL_MANAGER_PUBLIC_URL` / `hr start --public-url`. |
| 19192 | Agent UI (HTTPS, browser) | `https://localhost:19192` | Browser-only. Do NOT send DAG/CLI traffic here. Config via `HOMERAIL_UI_HOST` / `HOMERAIL_UI_PORT` / `ui.host` / `ui.port`. |
| 19193 | Agent UI HTTP fallback | `http://localhost:19193` | Fallback when HTTPS port is taken. Config via `HOMERAIL_UI_HTTP_PORT` / `ui.httpPort`. |
The Manager port is **19191, not 19192**. 19192 is the Agent UI. Mixing these up is the most common startup mistake.
- For `hr start --ui --public` without explicit public URLs, Agent UI should bind and advertise the detected machine IP with HTTPS, and the browser should use same-origin Manager API/WS proxying for the HTTPS UI. Use `HOMERAIL_PUBLIC_HOST` only when automatic machine IP detection picks the wrong interface.
- For reverse-proxied public access, prefer explicit HTTPS/WSS public URLs through `HOMERAIL_MANAGER_PUBLIC_URL` / `HOMERAIL_UI_PUBLIC_URL` or `--public-url` / `--ui-public-url`.
- Do not hardcode Docker bridge addresses. Use Docker `host.docker.internal` / host-gateway support or explicit operator-provided callback settings.
## Provider Boundaries
For Coding Plan / Agent Plan accounts:
- Never use `direct-llm` or Chat Completions as the worker runtime path.
- Kimi plans should use the Kimi Code CLI harness (`kimi_code` / `kimi-code`).
- Other provider plans should use the Claude Code compatible harness (`claude-sdk`) with an Anthropic-compatible endpoint.
- If a plan does not expose an Anthropic-compatible endpoint, fail explicitly instead of falling back to the Chat Completions URL.
For MiMo:
- DAG worker LLM access uses the MiMo token-plan Anthropic-compatible endpoint.
- MiMo ASR/API-billing endpoints are a separate voice path and must not be mixed into DAG worker model configuration.
- If a user provides a provider key, configure it with `hr model configure --api-key-stdin` or the interactive CLI/UI flow so Manager stores it encrypted. Plaintext env files are legacy import fallbacks only.
## Local Source Layout
Expected source checkout:
```text
<local-homerail-repo>/
homerail_manager/
homerail_node/
homerail_worker/
homerail_protocol/
homerail_cli/
agent-ui/
assets/
skills/
```
Use `homerail_cli` for the TypeScript CLI. Do not refer to the old `homerail_cli_ts` name.
## Anti-Patterns (Don'ts)
These cause wasted investigation rounds during normal operation. The CLI already exposes everything below.
- **Do not start service diagnosis with raw process probes or source spelunking.** Run `hr doctor` (readiness) and `hr runtime status` (live state) first; they report manager/node/worker/model state. Use `ps`, `lsof`, direct `curl`, logs, or source reading only after the CLI output is insufficient or the user explicitly asks for low-level debugging.
- **Do not start a fixed host Worker process.** DAG Workers are provisioned on demand by a Node into Docker containers; there is no standing worker to launch. Starting a bare `homerail_worker` node process manually will not register correctly and bypasses the isolated-workspace contract every DAG depends on.
- **Do not hand-craft WebSocket URLs or reverse-engineer the worker connection protocol.** `hr start` handles Manager↔Node↔Worker wiring. If a Worker cannot reach the Manager, set the Manager worker-WS callback host (see `homerail-install-ops` troubleshooting), do not hardcode Docker bridge IPs.
- **Do not rebuild packages before every DAG run.** `install:all` / `build` / `typecheck` / `test` are only needed after changing source or on first install. A ready runtime runs DAGs directly via `hr run`.
- **Do not read `dag_runs`/`dag_handoffs` tables via `sqlite3` to get run output.** Use `hr dag handoffs <run_id>` (with `--content-limit 0` for untruncated content). The CLI is the supported read path.
- **Do not treat an idle or `running` snapshot as success.** Terminal status (`completed`/`failed`/`cancelled`) plus non-empty handoffs is the only success signal.
## Validation Ladder
When validating a local install or change, prefer this order:
```bash
npm run install:all
npm run build
npm run typecheck
npm test
npm run ci
```
For end-to-end readiness, also run `hr config`, `hr start`,
`hr doctor`, and one public smoke DAG through `homerail-install-ops`.From xiaotianfotos/homerail, MIT.
More from xiaotianfotos/homerail
- 0.779score
homerail-dag-ops
xiaotianfotos
Design, start, supervise, inspect, and continue HomeRail DAG workflows from any agent with CLI or HTTP access.
SkillBFreshness: B★ 998Claude Code +9 - 0.774score
homerail-pr-review
xiaotianfotos
Run HomeRail's built-in read-only pull request review DAG.
SkillBFreshness: B★ 998Claude Code +9 - 0.774score
homerail-install-ops
xiaotianfotos
Install, configure, start, verify, update, and troubleshoot a local-source HomeRail deployment for AI-agent use.
SkillBFreshness: B★ 998Claude Code +9 - 0.769score
homerail-cli
xiaotianfotos
HomeRail CLI syntax, flags, configuration, and command reference.
SkillBFreshness: B★ 998Claude Code +9 - 0.764score
homerail-dag-patterns
xiaotianfotos
Compatibility entry for callers that already refer to HomeRail DAG Patterns.
SkillBFreshness: B★ 998Claude Code +9 - 0.716score
dag-best-practices
xiaotianfotos
HomeRail DAG review and execution best practices.
SkillCFreshness: C★ 998Claude Code +9 - 0.713score
homerail-pr-closeout
xiaotianfotos
Determine whether a GitHub pull request can leave Draft or is ready for its owner to merge, using immutable validation, review, CI, dependency, and approval…
SkillCFreshness: C★ 998Claude Code +9 - 0.709score
pr-closeout
xiaotianfotos
Present an evidence-grounded pull request closeout decision after review, CI, or real-machine validation.
SkillCFreshness: C★ 998Claude Code +9 - 0.708score
voice-generative-ui
xiaotianfotos
Design and maintain truthful HomeRail generative UI for voice or text.
SkillCFreshness: C★ 998Claude Code +9 - 0.707score
topic-outline
xiaotianfotos
Create and revise a structured topic outline from an evolving brief, audience, angle, thesis, sections, questions, and sources.
SkillCFreshness: C★ 998Claude Code +9 - 0.704score
generate-video-cover
xiaotianfotos
Generate a video cover through the sandboxed GPU runtime and Manager Artifact Broker.
SkillCFreshness: C★ 998Claude Code +9 - 0.704score
compose-release-notes
xiaotianfotos
Create or replace a complete semantic release-notes snapshot.
SkillCFreshness: C★ 998Claude Code +9
Signals
- Stars
- 998
- Forks
- 226
- Open issues
- 19
- Last commit (this folder)
- Jul 7, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/xiaotianfotos/homerail
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from xiaotianfotos
- 0.779score
homerail-dag-ops
xiaotianfotos
Design, start, supervise, inspect, and continue HomeRail DAG workflows from any agent with CLI or HTTP access.
SkillBFreshness: B★ 998Claude Code +9 - 0.774score
homerail-pr-review
xiaotianfotos
Run HomeRail's built-in read-only pull request review DAG.
SkillBFreshness: B★ 998Claude Code +9 - 0.774score
homerail-install-ops
xiaotianfotos
Install, configure, start, verify, update, and troubleshoot a local-source HomeRail deployment for AI-agent use.
SkillBFreshness: B★ 998Claude Code +9 - 0.769score
homerail-cli
xiaotianfotos
HomeRail CLI syntax, flags, configuration, and command reference.
SkillBFreshness: B★ 998Claude Code +9 - 0.764score
homerail-dag-patterns
xiaotianfotos
Compatibility entry for callers that already refer to HomeRail DAG Patterns.
SkillBFreshness: B★ 998Claude Code +9 - 0.716score
dag-best-practices
xiaotianfotos
HomeRail DAG review and execution best practices.
SkillCFreshness: C★ 998Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get homerail-shared running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
homerail-shared skill. Agent Mart. https://agentmart.dev/skills/xiaotianfotos-homerail-shared (last updated 2026-10-24)