Koskamo

Audit and terminate idle GPU instances

Idle GPU instances are terminated to stop billing, while active ones are preserved based on utilization checks.

How it works

Changes data in your accountsOperations and infrastructure

The agent first calls list_instances to retrieve all running instances and their creation times. It then uses ssh_execute to run nvidia-smi on each instance to check GPU utilization. Instances with 0% utilization for more than 6 hours are identified as idle. The agent calls delete_instance on these idle instances to tear them down, while keeping active instances running.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Audit and terminate idle GPU instances
Kill anything that’s been idle for more than 6 hours. Check GPU utilization on each instance before terminating.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

The agent calls list_instances , identifies instances by creation time, uses ssh_execute to check GPU utilization on each, and calls delete_instance on idle ones
Manage GPU Infrastructure with AI Agents - Runcrate

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.