ambray/signalman/signalman-terminate-cloud-vm

Claude Code and agent skill by ambray/signalman

Trust tier 3
  • community
Source check pending

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-vm

SKILL.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 — aws or azure
  • id — vendor instance id (i-0abc..., Azure resource id, ...)
  • name — friendly name the VM was provisioned under
  • region — 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

jsonc
// signalman_cloud_terminate
{
"provider": "aws",
"id": "i-0abc1234def567890",
"name": "scenario-checkout-flow",
"region": "us-east-1"
}

Expected response envelope

Success (including the idempotent case):

jsonc
{ "ok": true, "value": null }

Error envelope (isError: true):

jsonc
{ "ok": false, "error": { "code": "terminate_failed", "message": "..." } }

Error codes you may see

codeWhat happenedWhat to tell the user
terminate_failedVendor 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_failedVendor credentials missing or rejected.Operator fixes env / IAM.
unsupported_providerThe 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_failed without 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_status once 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ambray/signalman/signalman-terminate-cloud-vm/badge)](https://verified-skill.com/skills/ambray/signalman/signalman-terminate-cloud-vm)

Something wrong with this skill or its page? Tell us.