ambray/signalman/signalman-build-cloud-connection
Claude Code and agent skill by ambray/signalman
- community
Checking that the SKILL.md file is still in the repository.
Build a control-plane → guest-agent connection descriptor for a cloud VM given its handle. Trigger when the user says "how do I reach this VM", "give me the connection info for the SSM tunnel", "what's the bastion connection for this VM". The descriptor carries the addressing parameters (region/instance_id for SSM, subscription/RG/vm_name for Bastion, host/port for public_mtls); actual tunnel dialing is the caller's job.
Install
npx vskill@latest install ambray/signalman/signalman-build-cloud-connectionSKILL.md
The same SKILL.md was published earlier as ambray/signalman/signalman-build-cloud-connection.
Build a cloud connection descriptor
This skill drives v0.3.0-5 sub-task 6 commit 1. Given a cloud VM handle and the operator's network mode (recorded on the handle at provision time), it returns a tagged-union descriptor with the addressing parameters a control-plane client needs to dial the guest agent.
Background — three modes per design §13.6
public_mtls(default): vendor assigns a public IP; security
group restricts inbound to gRPC port; control plane dials the public IP with mutual TLS. Simplest but biggest attack surface
aws_ssm: AWS-only; no public IP; control plane reaches the
guest via AWS SSM Session Manager port forwarding. Zero public surface; requires SSM agent in the AMI + an IAM instance profile granting AmazonSSMManagedInstanceCore
azure_bastion: Azure-only; equivalent via Azure Bastion native
client port forwarding
The mode is chosen at signalman_cloud_provision time (network.mode in the config) and recorded on the returned handle.
What you need from the user
- A
handle— output ofsignalman_cloud_provisionor one of the
entries from signalman_cloud_list. Must carry id, backend, name, region. If network_mode is absent the descriptor defaults to public_mtls (back-compat for pre-sub-task-6 handles)
- (Optional) `port` — gRPC port (defaults to 443)
- For `azure_bastion` mode only:
subscription_id+
resource_group of the VM (the handle alone doesn't carry them)
How to invoke
MCP:
CLI:
For azure_bastion, also pass --subscription-id + --resource-group.
Expected response
public_mtls (default mode):
Note host is absent — the caller must resolve the public IP via signalman_cloud_status (or signalman_cloud_list if the handle came from there) before dialing.
aws_ssm:
The caller invokes AWS SSM Session Manager port forwarding with these:
azure_bastion:
The caller invokes Azure Bastion native client port forwarding.
Resolving the public IP for public_mtls mode
The descriptor for public_mtls intentionally returns without a host — public IPs aren't on the handle. Fetch it separately:
The status response carries public_ip. Combine with the descriptor's port for the connection target.
The TS-internal helper withResolvedHost(descriptor, ip) does this combination cleanly; via MCP the caller does the equivalent client-side.
Error codes you may see
| Cause | Error | |
|---|---|---|
aws_ssm mode on an Azure handle | Thrown — aws_ssm is only valid for AWS handles | |
azure_bastion mode on an AWS handle | Thrown — azure_bastion is only valid for Azure handles | |
azure_bastion without subscription_id | Thrown — azure_bastion connection descriptor requires opts.subscriptionId | |
azure_bastion without resource_group | Thrown — azure_bastion connection descriptor requires opts.resourceGroup |
CLI exit codes: 0 on success, 4 on any of the above, 64 on missing required flags.
What NOT to do
- Never try to dial a public_mtls VM without first resolving
the IP via signalman_cloud_status. The descriptor returns host: undefined deliberately — it's not a free lookup
- Never assume the SSM tunnel will work without checking the
AMI has the SSM agent + the instance profile grants AmazonSSMManagedInstanceCore. The descriptor only carries addressing; the actual SSM dial fails with a clear AWS error if the prerequisites are missing
- Never hardcode
port: 443in your tooling — the descriptor
carries the port so future scenarios can use alternative ports (e.g. 8443 for non-standard mTLS terminators)
Follow-up suggestions
- For public_mtls: chain with
signalman_cloud_statusto get the
IP, then dial directly
- For aws_ssm: pair with the AWS CLI's
start-session --document-name AWS-StartPortForwardingSession for the actual tunnel
- For azure_bastion: pair with
az network bastion tunnel - The actual tunneling helpers (a
signalman cloud connect <handle>
verb that produces a live forwarded socket) are a v0.3.x followup; this skill ships the addressing contract that those helpers will consume
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/signalman-build-cloud-connection/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ambray/signalman/signalman-build-cloud-connection)