Homerail Install Opsのロゴ

Homerail Install Ops

コミュニティ
xiaotianfotos
homerail-install-ops

AIエージェントで使うための、ローカルソースからのHomeRailデプロイをインストール、設定、起動、検証、更新、トラブルシューティングできます。ローカルのチェックアウトまたはGitアドレスからHomeRailをデプロイする場合、HomeRailスキルをインストールする場合、Manager/Node/Workerサービスをセットアップする場合、プロバイダーの認証情報を設定する場合、doctor/smokeを実行する場合、またはnpm公開が始まる前に壊れたローカルインストールを修復する場合に使用します。

Add to TypingMind

概要

公開者xiaotianfotos
リポジトリhomerail
スキル名homerail-install-ops
スター
995
フォーク
224
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    xiaotianfotosがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Homerail Install Ops」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/xiaotianfotos/homerail/tree/main/skills/homerail-install-ops
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/xiaotianfotos/homerail.git /tmp/homerail
mkdir -p .claude/skills
cp -r /tmp/homerail/skills/homerail-install-ops .claude/skills/homerail-install-ops
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでHomerail Install Opsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にHomerail Install Opsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Homerail Install Opsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

HomeRail Install Ops

Before acting, apply homerail-shared rules. This pre-publication flow uses a local source checkout or local Git clone, not npm publication.

Local Skill Install

Install HomeRail skills by linking the checkout's skills/homerail-* directories into the target agent skill directory. Prefer symlinks over copies so skill updates follow git pull.

If the source tree is already present, use skills/README.md as the source of truth for Codex and Claude Code install targets. On macOS/Linux:

bash
repo=/path/to/HomeRail

for root in "${CODEX_HOME:-$HOME/.codex}/skills" "$HOME/.claude/skills"; do
  mkdir -p "$root"
  for skill in "$repo"/skills/homerail-*; do
    [ -d "$skill" ] || continue
    name="$(basename "$skill")"
    dst="$root/$name"
    if [ -L "$dst" ]; then
      rm "$dst"
    elif [ -e "$dst" ]; then
      echo "Refusing to replace existing non-symlink skill: $dst" >&2
      continue
    fi
    ln -s "$skill" "$dst"
  done
done

If the user gives a local Git address, clone it first, then install links from the checkout:

bash
git clone <local-homerail-git-url> HomeRail
cd HomeRail

On Windows, use PowerShell directory symlinks when Developer Mode or Administrator permissions allow them. If symlinks are blocked, use a junction as the local fallback; repeat the junction for every skills/homerail-* directory that should be installed:

powershell
cmd /c mklink /J "%USERPROFILE%\.claude\skills\homerail-install-ops" "C:\path\to\HomeRail\skills\homerail-install-ops"

After installing or updating skills, ask the user to restart the AI agent session if their agent host only loads skills on startup.

After restart, route user requests to the root skills this way:

  • Use homerail-install-ops for first install, update, service startup, provider configuration, and smoke verification. Codex invocation: $homerail-install-ops; Claude Code invocation: /homerail-install-ops.
  • Use homerail-dag-ops for the full DAG lifecycle: pattern selection, workflow authoring, execution, background supervision, decisions and output inspection. Its references cover advanced modes; no separate supervision skill is needed.
  • Use homerail-cli for command syntax, flags, and evidence commands.
  • Use homerail-shared as background rules for all HomeRail operations.

Deploy From Local Source

Run from the source root:

bash
npm run install:all
npm run build
npm run typecheck
npm test
npm run ci

Prepare a local data root:

bash
export HOMERAIL_HOME="${HOMERAIL_HOME:-$HOME/.homerail}"

Configure local runtime settings and credentials through the CLI:

bash
node homerail_cli/dist/cli.js config

Start Manager and Node together:

bash
node homerail_cli/dist/cli.js start
node homerail_cli/dist/cli.js start --rebuild-worker-image
node homerail_cli/dist/cli.js start --ui
node homerail_cli/dist/cli.js doctor

hr start uses the shared HOMERAIL_HOME, starts Manager if needed, applies stored model config, builds homerail-worker:latest when missing, and starts a Node with Docker capability when no configured Node is connected. Use --rebuild-worker-image after Worker runtime changes so provisioned DAG workers run the current checkout. Use --ui or node homerail_cli/dist/cli.js ui start to start the decoupled Agent UI. HTTPS is the default endpoint, https://localhost:19192, and HTTP is kept as a fallback on http://localhost:19193. If provider credentials are not configured yet, hr start should still bring up Manager and Node; hr doctor reports the missing model or Manager Agent runtime configuration and the agent should run hr config / hr model configure.

Use node homerail_cli/dist/cli.js runtime status|logs|stop for service inspection and cleanup. Use node homerail_cli/dist/cli.js ui status|logs|stop for UI-only inspection and cleanup.

hr doctor is the first environment probe an agent needs for normal operation. Do not supplement it with ps, lsof, curl /health, or source reading unless the CLI output is insufficient for a concrete failure. It reports, per line: manager reachability + URL, runtime state (connected nodes/workers, active runs, node capabilities), node count, any active LLM model setting, and the Manager Agent runtime/harness readiness. A HomeRail is ready. trailer is the readiness gate; any FAIL/WARN line names the exact next command to run (e.g. hr model configure).

connected_workers: 0 is expected on an idle Manager. DAG Workers are provisioned on demand by a Node into Docker containers when a run dispatches; there is no standing worker to inspect or start by hand. connected_nodes >= 1 is what matters for DAGs to run.

The local harness deployment diagnosis DAG runs through the same Worker provisioning path as normal DAGs. Do not start a fixed host Worker, mount the Docker socket into a Worker, or use Docker-in-Docker for this test. The diagnosis run uses its isolated workspace, clones the latest source, builds it, configures the cloned CLI to talk to the outer Manager, and verifies runtime status / doctor. Deployment diagnosis uses advisory scorecard enforcement; inspect findings, but use terminal status and structured handoff evidence as the deployment result.

Configure Provider

For MiMo token-plan Claude Agent SDK compatibility:

bash
node homerail_cli/dist/cli.js config
node homerail_cli/dist/cli.js config apply
node homerail_cli/dist/cli.js doctor

Do not put the key into repo files. The config flow stores secrets under Manager's encrypted secret store. ${HOMERAIL_HOME}/secrets/env is a legacy plaintext import path only. Do not use MiMo ASR/API-billing endpoints for DAG workers.

Smoke Test

Run the public smoke DAG:

bash
node homerail_cli/dist/cli.js smoke dag \
  --template assets/orchestrations/public-dev-5node.yaml.template

Then verify the configured Manager Agent harness can call Manager tools and start a real run:

bash
node homerail_cli/dist/cli.js smoke manager-agent

This is the live Manager Agent gate. It uses the saved Manager Agent config, calls /api/manager/chat, requires a real run_id, and waits for the deterministic two-node DAG to reach completed. Use --setting-id, --provider, or --model when validating a specific Kimi Code or Claude SDK-compatible runtime.

When it completes, inspect:

bash
node homerail_cli/dist/cli.js dag quick <run_id> --events 30
node homerail_cli/dist/cli.js dag chats <run_id> --tools 10
node homerail_cli/dist/cli.js dag handoffs <run_id>
node homerail_cli/dist/cli.js scorecard <run_id>
node homerail_cli/dist/cli.js eval-run <run_id>

Do not treat an idle-looking process as success until terminal status, handoffs, scorecard, and eval-run are checked.

Maintenance

  • Keep installed skills as symlinks to the checkout. After skill edits, verify the target agent skill directory still points at skills/homerail-*; do not refresh by copying stale directories.
  • Re-run npm run build after code changes.
  • Run node homerail_cli/dist/cli.js start; add --rebuild-worker-image after Worker runtime changes.
  • Keep Manager and Node on the same HOMERAIL_HOME.
  • If Worker containers cannot connect back to Manager, set an explicit callback host through Manager worker WebSocket environment settings rather than hardcoding Docker bridge IPs.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Homerail Install Ops」では何ができますか?

AIエージェントで使うための、ローカルソースからのHomeRailデプロイをインストール、設定、起動、検証、更新、トラブルシューティングできます。ローカルのチェックアウトまたはGitアドレスからHomeRailをデプロイする場合、HomeRailスキルをインストールする場合、Manager/Node/Workerサービスをセットアップする場合、プロバイダーの認証情報を設定する場合、doctor/smokeを実行する場合、またはnpm公開が始まる前に壊れたローカルインストールを修復する場合に使用します。

TypingMindでHomerail Install Opsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Homerail Install Opsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにHomerail Install Opsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/xiaotianfotos/homerail/tree/main/skills/homerail-install-opsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Homerail Install Opsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Homerail Install Opsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもHomerail Install Opsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Homerail Install Ops」は無料ですか?

はい。xiaotianfotosがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇