Remote Agentsのロゴ

Remote Agents

組織
CodeAlive-AI
remote-agents

Operate dedicated remote Linux/Windows hosts that run coding agents. Use for provisioning and hardening an agent VM, SSH-over-SSM access with no public ingress, host power lifecycle, the WireGuard/SMB work bridge, running agents remotely through porch, a headless Windows desktop with read-only observation, bounded visual QA, durable managed-worker daemons, phone-visible Codex Remote threads, storage audits, and cleanup evidence. Not for running agents on the local machine — use pragmatic-orchestration directly for that.

概要

公開者CodeAlive-AI
リポジトリpragmatic-orchestration
スキル名remote-agents
スター
45
フォーク
6
同梱ファイル
50
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 50個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Remote Agents

You are the local manager of dedicated remote hosts on which coding agents run. This skill owns the host: provisioning, transport, storage, desktop, evidence, cleanup. Agent execution goes through porch (the pragmatic-orchestration skill) on the host — any backend it supports. Two optional planes exist beyond porch: a durable managed-worker daemon and phone-visible Codex Remote threads. Never present one plane as another.

Start here

All lifecycle commands run through scripts/host.sh from this skill directory; host identity comes from config.json (copy config.example.json, or set REMOTE_AGENTS_CONFIG). Select a host with --host <id>, REMOTE_AGENTS_HOST, or defaultHost.

bash
./scripts/onboard.py check        # readiness matrix for a new/existing host
./scripts/host.sh status          # instance state + SSM reachability
./scripts/host.sh start|stop|restart
./scripts/host.sh ssh             # interactive SSH-over-SSM
./scripts/host.sh run '<cmd>'     # one-shot remote command
./scripts/host.sh audit           # work-root layout audit (Windows)
./scripts/host.sh desktop-start|desktop-status|desktop-probe|desktop-stop  # Windows GUI
./scripts/host.sh desktop-viewer|desktop-viewer-stop|desktop-clear-auth
./scripts/host.sh desktop-tunnel|desktop-open                              # manual Windows App path
./scripts/work-bridge.py connect|status|mount|unmount|disconnect           # SMB work mount

SSH travels inside AWS Systems Manager Session Manager; the only permitted inbound rule is the WireGuard UDP port for the work bridge. Never open TCP 22, 3389, or 445 to the internet.

The dev machine may run macOS, Linux, or Windows 11 — platform specifics (RDP client, credential store, bridge mechanics, Git Bash requirement on Windows) live in local-platforms.md; all scripts auto-detect the OS via scripts/lib/devlocal.py.

Route by task

NeedPath
Onboard a new host end-to-endonboarding.md + scripts/onboard.py check
Provision/harden a new hostprovisioning.md (+ references/terraform/, examples/)
Configure host identityconfiguration.md
SSH config, file transfer, SMB mountbridge.md
Run agents on the hostporch-remote.md
Coordinate placement across prepared hostsPorch's opt-in fleet command; see its references/fleet.md. Keep one coordinator, explicit host capacity, and isolated workspaces. Cloud provisioning is not implemented yet.
Prepare an AgentCore imageLoad Porch's references/agentcore-image.md; it owns the guest HTTP runner. This host skill retains provisioning/auth/bootstrap ownership.
Linux host operationslinux-host.md
Windows host inventory/recoverywindows-host.md
Headless interactive desktopwindows-desktop.md
Dev-machine OS supportlocal-platforms.md
GUI/visual QA runsvisual-qa.md
Work-root layout and auditwork-storage.md
Durable worker fleetmanaged-workers.md
Phone-visible Codex threadsremote-tui.md
Threat modelsecurity.md
Failurestroubleshooting.md

Operating contract

Always:

  1. Resolve the host (config.py resolve) before acting; never guess ids.
  2. host.sh status first; start a stopped host and wait for SSM.
  3. Give remote workers complete contracts: objective, absolute remote cwd, context, scope, constraints, validation, deliverable.
  4. Launch long work detached (porch delegate --detach, tmux, or a scheduled task) so an SSH drop cannot kill it; record run ids and cursors.
  5. Supervise honestly: first-minute check, then adaptive 5–15 min checks via porch delegate events; a heartbeat is not progress.
  6. Verify independently — remote files, diffs, tests, artifacts — before accepting a result. A worker's report is a claim, not evidence.
  7. Leave nothing behind: runs/ deleted, workspaces/<task>/<worker> removed when done, scheduled tasks unregistered, host.sh audit clean, bridge unmounted before stop.

Security invariants

  • No public ingress for control; SSM only. Bridge = one UDP port + tunnel-scoped SMB.
  • Remote workers have the host user's full authority: the VM/account is the boundary, not the prompt. Dedicated instance per trust domain.
  • Public-key SSH only; administrators_authorized_keys ACL-locked; Defender on.
  • Secrets never in prompts, bundles, or the repo; .bridge-state/ stays local (0700) and is never committed.
  • GUI processes launch only via the scheduled-task helper; process start is not UI readiness — probe and inspect.
  • Details and rationale: security.md.

Scripts map

host.sh lifecycle/transport · lib/config.py host resolution · onboard.py readiness check / wg key init · setup-host-bridge.ps1 host-side bridge setup · lib/devlocal.py dev-OS primitives · desktop.py + desktop/{probe,observer}.py headless desktop · work-bridge.py / work-bridge.command / install-work-bridge-service.py SMB bridge · Start-Interactive.ps1 GUI launcher · Start-VisualQa.ps1 + run-visual-qa.py bounded QA worker · verify-qa-vision.py + validate_qa_vision.py driver smoke test · fetch-qa-screenshots.py evidence · bootstrap-windows.ps1 toolchain · apply-hardening.ps1 / audit-hardening.ps1 baseline + report · Test-WorkStorage.ps1 layout audit · install-7zip.ps1, repair-visual-studio-path.ps1 recovery helpers · auth-grok.sh device auth.

同梱ファイル

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

よくある質問

AIスキル「Remote Agents」では何ができますか?

Operate dedicated remote Linux/Windows hosts that run coding agents. Use for provisioning and hardening an agent VM, SSH-over-SSM access with no public ingress, host power lifecycle, the WireGuard/SMB work bridge, running agents remotely through porch, a headless Windows desktop with read-only observation, bounded visual QA, durable managed-worker daemons, phone-visible Codex Remote threads, storage audits, and cleanup evidence. Not for running agents on the local machine — use pragmatic-orchestration directly for that.

TypingMindでRemote Agentsを使うメリットは何ですか?

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

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

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

Remote Agentsを使えるAIモデルはどれですか?

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

Remote Agentsは何個のAIモデルで使えますか?

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

AIスキル「Remote Agents」は無料ですか?

はい。CodeAlive-AIがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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