Agent skill

flyio-cost-tuning

Optimize Fly.io costs with auto-stop/suspend, right-sizing VMs, volume management, and monitoring spend across apps and regions. '

intentsolutions.io2,596★ · 1 repos on radarProfile →
claude-codecan modify filesMIT
Install
npx skills add jeremylongshore/claude-code-plugins-plus-skills --skill flyio-cost-tuning --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Version: 1.6.0
Declared author: Jeremy Longshore <jeremy@intentsolutions.io>
Allowed tools: ReadWriteEditBash(fly:*)
Requires: Designed for Claude Code
Path: plugins/saas-packs/flyio-pack/skills/flyio-cost-tuning/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,630
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Fly.io Cost Tuning ## Overview Fly.io charges per-second for running machines plus storage. Key levers: auto-stop idle machines, suspend instead of stop, right-size VMs, and clean up unused volumes. ## Pricing Quick Reference | Resource | Free Tier | Cost | |----------|-----------|------| | shared-cpu-1x (256mb) | 3 VMs free | ~$1.94/month each | | shared-cpu-1x (512mb) | included | ~$3.88/month | | shared-cpu-2x (1gb) | - | ~$11.62/month | | Volumes | 3GB free | $0.15/GB/month | | Bandwidth | 100GB free | $0.02/GB after | | IPv4 | 1 free per org | $2/month each | ## Instructions ### Strategy 1: Auto-Stop Idle Machines ```toml # fly.toml — stop machines when no traffic [http_service] auto_stop_machines = "stop" # Full stop (cheapest, ~5s cold start) auto_start_machines = true min_machines_running = 0 # Allow all machines to stop # Use min_machines_running = 1 only for production apps ``` ### Strategy 2: Suspend for Faster Resume ```toml # Suspend keeps memory state — resumes in ~100ms but costs ~$0.50/month [http_service] auto_stop_machines = "suspend" ``` ### Strategy 3: Audit and Clean Up ```bash # List all apps and their machine counts fly apps list # Find idle/stopped machine

What's inside
Steps it walks through
  1. Overview
  2. Pricing Quick Reference
  3. Instructions
  4. Strategy 1: Auto-Stop Idle Machines
  5. Strategy 2: Suspend for Faster Resume
  6. Strategy 3: Audit and Clean Up
  7. Strategy 4: Right-Size VMs
  8. Cost Monitoring
  9. Resources
  10. Next Steps
Commands it runs
List all apps and their machine counts
fly apps list
Find idle/stopped machines
fly machine list -a my-app --json | jq '.[] | select(.state != "started") | {id, state, region}'
Destroy unused apps
fly apps destroy old-app --yes
List and delete orphaned volumes
fly volumes list -a my-app
fly volumes destroy vol_xxx
Check memory usage to see if oversized
More from claude-code-plugins-plus-skills
All skills →
About this skill
What does the flyio-cost-tuning skill do?

Optimize Fly.io costs with auto-stop/suspend, right-sizing VMs, volume management, and monitoring spend across apps and regions. '

How do I install it?

Run `npx skills add jeremylongshore/claude-code-plugins-plus-skills --skill flyio-cost-tuning --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From jeremylongshore/claude-code-plugins-plus-skills, a repository with 2,630 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going