/pragmatic-orchestration:remote-agentsfrom pragmatic-orchestration
Manages dedicated remote Linux/Windows hosts that run coding agents. Handles provisioning, hardening, SSH-over-SSM access, WireGuard/SMB work bridge, headless Windows desktop with read-only observation, and host power lifecycle.
Ships in pragmatic-orchestration. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
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.
./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.
| Need | Path |
|---|---|
| Onboard a new host end-to-end | onboarding.md + scripts/onboard.py check |
| Provision/harden a new host | provisioning.md (+ references/terraform/, examples/) |
| Configure host identity | configuration.md |
| SSH config, file transfer, SMB mount | bridge.md |
| Run agents on the host | porch-remote.md |
| Coordinate placement across prepared hosts | Porch'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 image | Load Porch's references/agentcore-image.md; it owns the guest HTTP runner. This host skill retains provisioning/auth/bootstrap ownership. |
| Linux host operations | linux-host.md |
| Windows host inventory/recovery | windows-host.md |
| Headless interactive desktop | windows-desktop.md |
| Dev-machine OS support | local-platforms.md |
| GUI/visual QA runs | visual-qa.md |
| Work-root layout and audit | work-storage.md |
| Durable worker fleet | managed-workers.md |
| Phone-visible Codex threads | remote-tui.md |
| Threat model | security.md |
| Failures | troubleshooting.md |
Always:
config.py resolve) before acting; never guess ids.host.sh status first; start a stopped host and wait for SSM.cwd,
context, scope, constraints, validation, deliverable.porch delegate --detach, tmux, or a scheduled
task) so an SSH drop cannot kill it; record run ids and cursors.porch delegate events; a heartbeat is not progress.runs/ deleted, workspaces/<task>/<worker> removed
when done, scheduled tasks unregistered, host.sh audit clean, bridge
unmounted before stop.administrators_authorized_keys ACL-locked; Defender on..bridge-state/ stays local
(0700) and is never committed.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.
README.md (opens in a new tab)agents/openai.yaml (opens in a new tab)config.example.json (opens in a new tab)evals/evals.json (opens in a new tab)references/bridge.md (opens in a new tab)references/configuration.md (opens in a new tab)references/examples/controller-policy.example.json (opens in a new tab)references/examples/ssh-config-ssm (opens in a new tab)references/linux-host.md (opens in a new tab)references/local-platforms.md (opens in a new tab)references/managed-workers.md (opens in a new tab)references/onboarding.md (opens in a new tab)references/porch-remote.md (opens in a new tab)references/provisioning.md (opens in a new tab)references/remote-tui.md (opens in a new tab)references/security.md (opens in a new tab)references/terraform/README.md (opens in a new tab)references/terraform/cloud-init.yaml.tftpl (opens in a new tab)references/terraform/main.tf (opens in a new tab)references/terraform/outputs.tf (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
remote-hosts, vm-management, aws-ssm, agent-infrastructure, wireguard
5 skills in this plugin
/architecture-consiliumConvene a consilium, a council of independent architect models, on a large or risky change in an existing system: researched context, independent designs from several of the strongest models, a choice by evidence, a check by a model that did not write the design, and a specification at the end. Use when the user asks to design, architect or specify a complex change before implementation, wants several models or independent architects on a design, or names this workflow ("architecture consilium", "convene a consilium", "council of architects", "prepare a spec for this change", "собери архитектурный консилиум", "созови консилиум", "спроектируй сложное изменение", "подготовь спецификацию"). Runs as a coordinated multi-agent job in Coordinator Mode and ends with a specification and a status, never with code. Not for a clear local change or a single design question (use pragmatic-architecture or one review), not for implementing a specification, and never for a delegated worker./coordinator-modeSwitch this session into Coordinator Mode: a long-lived role that plans, designs verification, delegates implementation to cheaper executors, accepts results on evidence, and keeps a journal that survives context compaction. Use only when the user explicitly turns Coordinator Mode on or asks to resume it ("coordinator mode", "orchestrator mode", "режим координации"). Not for one-off delegation or reviews (use pragmatic-orchestration), and never for a delegated worker.npx claudepluginhub codealive-ai/pragmatic-orchestration --plugin pragmatic-orchestrationOther plugins' skills for the same job