ambray/signalman/signalman-terminate-cloud-vm
Claude Code and agent skill by ambray/signalman
- community
Checking that the SKILL.md file is still in the repository.
Terminate an ephemeral cloud VM previously provisioned by Signalman. Idempotent — terminating an already-terminated handle returns success, not an error. Trigger on "kill that EC2 box", "tear down the Azure VM", "destroy <handle>", or any "clean up the test VM" variant. Refuses untagged instances (only Signalman-managed handles can be terminated through this path). For bulk past-TTL cleanup, use `signalman-reap-cloud-instances` instead. CLI parity: `signalman cloud terminate`.
Install
npx vskill@latest install ambray/signalman/signalman-terminate-cloud-vmSKILL.md
The same SKILL.md was published earlier as ambray/signalman/signalman-terminate-cloud-vm.
Terminate an ephemeral cloud VM
This skill drives signalman_cloud_terminate, the MCP entry point onto CloudBackend.terminateInstance. The call is idempotent by contract: terminating a stale or already-terminated handle returns success. This is intentional — the cost-reaper depends on it so repeat sweeps don't error on race-deletions.
What you need from the user
The full handle returned by signalman_cloud_provision:
provider—awsorazureid— vendor instance id (i-0abc..., Azure resource id, ...)name— friendly name the VM was provisioned underregion— provider-specific region
If the user only knows the friendly name, list instances via signalman_cloud_list filtered by tag and pick the matching handle before calling terminate.
How to invoke
Expected response envelope
Success (including the idempotent case):
Error envelope (isError: true):
Error codes you may see
code | What happened | What to tell the user | |
|---|---|---|---|
terminate_failed | Vendor rejected the terminate call (not the same as "already gone"). Usually a permissions or vendor-side state error. | Surface the message; the operator must investigate. | |
auth_failed | Vendor credentials missing or rejected. | Operator fixes env / IAM. | |
unsupported_provider | The provider isn't registered on this host. | Use signalman_cloud_backends to verify wiring. |
Note: instance_not_found is not an error here by design — the backend swallows it as a successful idempotent terminate.
What NOT to do
- Never call terminate in a tight loop "to make sure". The
contract guarantees idempotency; spamming the vendor is wasteful.
- Never terminate a handle the user didn't authorise just because
it appeared in signalman_cloud_list. The cost-reaper is the designated automation for past-TTL cleanup; an interactive agent should only terminate what the operator named.
- Never retry on
terminate_failedwithout surfacing the cause —
it usually indicates a permissions drift or a vendor-side state the operator should know about.
Follow-up suggestions
- After success, optionally call
signalman_cloud_statusonce with
the handle — you should see state: "terminated" (or "unknown" if the vendor garbage-collected the record).
- If the operator is tearing down a whole scenario, also consider
whether any HCL stacks were applied — those need signalman_stack_destroy, not VM terminate.
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-terminate-cloud-vm/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-terminate-cloud-vm)