Cloud Cost Optimization
wshobson/agents
Cuts cloud spend across AWS, Azure, GCP and OCI with cost tagging, rightsizing, commitment and spot pricing models, and architecture changes.
AWS/GCP/Azure cost models, sizing guides, Reserved Instance/Savings Plan strategies, and FinOps framework guide.
$ npx skills add revfactory/harness-100 --skill cloud-cost-models -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install revfactory/harness-100 cloud-cost-models --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/en/26-infra-as-code/.claude/skills/cloud-cost-models .claude/skills/cloud-cost-models && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "cloud-cost-models" agent skill from https://github.com/revfactory/harness-100/tree/main/en/26-infra-as-code/.claude/skills/cloud-cost-models into .claude/skills/cloud-cost-models/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloud-cost-models", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/revfactory/harness-100/tree/main/en/26-infra-as-code/.claude/skills/cloud-cost-modelsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add revfactory/harness-100 --skill cloud-cost-models -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install revfactory/harness-100 cloud-cost-models --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .agents/skills && cp -r skills-src/en/26-infra-as-code/.claude/skills/cloud-cost-models .agents/skills/cloud-cost-models && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cloud-cost-models" agent skill from https://github.com/revfactory/harness-100/tree/main/en/26-infra-as-code/.claude/skills/cloud-cost-models into .agents/skills/cloud-cost-models/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloud-cost-models", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness-100 --skill cloud-cost-models -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install revfactory/harness-100 cloud-cost-models --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/en/26-infra-as-code/.claude/skills/cloud-cost-models .cursor/skills/cloud-cost-models && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cloud-cost-models" agent skill from https://github.com/revfactory/harness-100/tree/main/en/26-infra-as-code/.claude/skills/cloud-cost-models into .cursor/skills/cloud-cost-models/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloud-cost-models", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/revfactory/harness-100.git --path en/26-infra-as-code/.claude/skills/cloud-cost-models--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add revfactory/harness-100 --skill cloud-cost-models -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install revfactory/harness-100 cloud-cost-models --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/en/26-infra-as-code/.claude/skills/cloud-cost-models .gemini/skills/cloud-cost-models && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cloud-cost-models" agent skill from https://github.com/revfactory/harness-100/tree/main/en/26-infra-as-code/.claude/skills/cloud-cost-models into .gemini/skills/cloud-cost-models/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloud-cost-models", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install revfactory/harness-100 cloud-cost-modelsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add revfactory/harness-100 --skill cloud-cost-models -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .github/skills && cp -r skills-src/en/26-infra-as-code/.claude/skills/cloud-cost-models .github/skills/cloud-cost-models && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cloud-cost-models" agent skill from https://github.com/revfactory/harness-100/tree/main/en/26-infra-as-code/.claude/skills/cloud-cost-models into .github/skills/cloud-cost-models/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloud-cost-models", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness-100 --skill cloud-cost-models -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install revfactory/harness-100 cloud-cost-models --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/en/26-infra-as-code/.claude/skills/cloud-cost-models .opencode/skills/cloud-cost-models && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cloud-cost-models" agent skill from https://github.com/revfactory/harness-100/tree/main/en/26-infra-as-code/.claude/skills/cloud-cost-models into .opencode/skills/cloud-cost-models/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cloud-cost-models", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cloud-cost-modelsAWS/GCP/Azure cost models, sizing guides, Reserved Instance/Savings Plan strategies, and FinOps framework guide.
Cloud Cost Models is an agent skill from revfactory/harness-100. AWS/GCP/Azure cost models, sizing guides, Reserved Instance/Savings Plan strategies, and FinOps framework guide. Use this skill for 'cloud costs', 'cost optimization', 'FinOps', 'instance sizing', 'Savings Plan', 'reserved instances', 'Spot instances', 'cost estimation', and other infrastructure cost-related decisions. Enhances the cost analysis capabilities of cost-optimizer. Note: actual resource provisioning and billing configuration are outside the scope of this skill.
Its SKILL.md is about 950 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in DevOps & Cloud, covering Cloud cost optimization. It works with Amazon Web Services, Google Cloud and Microsoft Azure. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 8e8d35c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are hcl and markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cloud Cost Models loads about 953 tokens when it runs. Until then it costs about 124 tokens; SKILL.md has 160 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 160 words, ~953 tokens.
.claude/skills/cloud-cost-models/SKILL.md (or your agent's skills folder).A practical guide for accurately estimating and optimizing cloud infrastructure costs.
| Option | Discount | Commitment | Flexibility | Suitable Workload |
|---|---|---|---|---|
| On-Demand | 0% | None | Maximum | Variable workloads, testing |
| Savings Plan (Compute) | ~30% | 1 year | Instance changeable | Stable baseline load |
| Savings Plan (EC2) | ~40% | 1 year | Within family | Predictable workloads |
| Reserved Instance | ~40% | 1yr/3yr | Limited | 24/7 servers |
| Spot Instance | ~70% | None | Interruptible | Batch, CI/CD, ML |
CPU utilization < 20% sustained -> Downsizing recommended
CPU utilization > 80% sustained -> Upsize or scale out
Memory utilization < 30% -> Memory-optimized instance unnecessary
Workload type -> Instance family:
+-- General purpose: t3, m6i (CPU/memory balanced)
+-- Compute intensive: c6i (API servers, computation)
+-- Memory intensive: r6i (cache, in-memory DB)
+-- Storage intensive: i3, d3 (databases)
+-- GPU: p4d, g5 (ML training/inference)Monthly cost = Instance cost + Storage + I/O + Backup + Transfer
Example: db.r6g.xlarge, Multi-AZ, 500GB gp3
+-- Instance: $0.54/h x 730h x 2(Multi-AZ) = $788.40
+-- Storage: 500GB x $0.138/GB = $69.00
+-- Backup (excess): 100GB x $0.095/GB = $9.50
+-- Monthly total: ~$866.90| Environment | Strategy | Expected Savings |
|---|---|---|
| dev | Business hours only (12h/day, 5 days/week) = 36% uptime | ~60% savings |
| staging | Same as dev + smaller instances | ~70% savings |
| prod | Savings Plan + Right-sizing + Auto-scaling | ~40% savings |
# Lambda for auto start/stop of dev environment
resource "aws_cloudwatch_event_rule" "start_dev" {
schedule_expression = "cron(0 0 ? * MON-FRI *)" # Weekdays 09:00 KST
}
resource "aws_cloudwatch_event_rule" "stop_dev" {
schedule_expression = "cron(0 12 ? * MON-FRI *)" # Weekdays 21:00 KST
}# Monthly Cost Estimate
## Architecture Summary
| Component | Specs | Quantity |
## Per-environment Costs
| Service | Dev | Staging | Prod | Total |
|---------|-----|---------|------|-------|
| EC2/ECS | | | | |
| RDS | | | | |
| ElastiCache | | | | |
| ALB | | | | |
| S3 | | | | |
| CloudWatch | | | | |
| Data Transfer | | | | |
| **Subtotal** | | | | |
## Optimization Applied
| Optimization | Savings |
|-------------|---------|
| Savings Plan (1 year) | |
| Dev env scheduling | |
| Right-sizing | |
| **Total savings** | |
## Final Cost
- Before optimization: $N/month
- After optimization: $N/month
- Savings rate: N%| Phase | Activities | Tools |
|---|---|---|
| Inform | Cost visibility, tagging, allocation | AWS Cost Explorer, tag policies |
| Optimize | Right-sizing, reservations, spot | Compute Optimizer, Trusted Advisor |
| Operate | Budget alerts, automated actions, governance | AWS Budgets, Lambda auto-cleanup |
© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in en/26-infra-as-code/.claude/skills/cloud-cost-models of revfactory/harness-100.
Open the folder on GitHubat commit 8e8d35c
Cloud Cost Models next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cloud Cost Models this skillrevfactory/harness-100 | 1.3k | — | ~953 | Automated safety check: Pass | Apache-2.0 | |
| Cloud Cost Optimizationwshobson/agents | 40k | 14 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Spotinfoalexei-led/spotinfo | 164 | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| FrugalyuanboP/frugal | 198 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Cloud Architectdavila7/claude-code-templates | 32k | 8 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Cloud ArchitectJeffallan/claude-skills | 12k | — | ~1.9k | Automated safety check: Pass | MIT |
wshobson/agents
Cuts cloud spend across AWS, Azure, GCP and OCI with cost tagging, rightsizing, commitment and spot pricing models, and architecture changes.
alexei-led/spotinfo
Query Spot/preemptible VM prices, savings and interruption risk across AWS, GCP and Azure with the spotinfo CLI.
yuanboP/frugal
Cloud cost awareness for agents. An agent skill from yuanboP/frugal.
davila7/claude-code-templates
Expert cloud architect specializing in AWS/Azure/GCP multi-cloud infrastructure design, advanced IaC (Terraform/OpenTofu/CDK), FinOps cost optimization, and modern architectural patterns.
Jeffallan/claude-skills
Designs cloud architectures, migration plans, cost optimization recommendations and disaster recovery strategies across AWS, Azure and GCP.
ancoleman/ai-design-components
Apply and enforce cloud resource tagging strategies across AWS, Azure, GCP, and Kubernetes for cost allocation, ownership tracking, compliance, and automation.
revfactory/harness-100
A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.
revfactory/harness-100
Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.
revfactory/harness-100
Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.
revfactory/harness-100
Methodology for systematically designing and generating CLI tool argument parser structures.
revfactory/harness-100
Audience segmentation skill used by the analyst and curator agents.
revfactory/harness-100
Audio storytelling skill used by the podcast scriptwriter and show note editor.
Categories
AWS/GCP/Azure cost models, sizing guides, Reserved Instance/Savings Plan strategies, and FinOps framework guide. Cloud Cost Models is an agent skill from revfactory/harness-100. AWS/GCP/Azure cost models, sizing guides, Reserved Instance/Savings Plan strategies, and FinOps framework guide.
Cloud Cost Models fits situations like: cost optimization; instance sizing; reserved instances; cost estimation.
Run `npx skills add revfactory/harness-100 --skill cloud-cost-models -a claude-code`. Or copy the skill folder (en/26-infra-as-code/.claude/skills/cloud-cost-models in revfactory/harness-100) into .claude/skills/cloud-cost-models in your project. Claude Code loads it when a task matches its description.
Run `npx skills add revfactory/harness-100 --skill cloud-cost-models -a codex`. Or copy the skill folder (en/26-infra-as-code/.claude/skills/cloud-cost-models in revfactory/harness-100) into .agents/skills/cloud-cost-models in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness-100 --skill cloud-cost-models -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cloud-cost-models, .gemini/skills/cloud-cost-models, .github/skills/cloud-cost-models and .opencode/skills/cloud-cost-models in your project.
SKILL.md names no scripts, command-line tools or credentials: Cloud Cost Models is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Cloud Cost Models is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 953 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cloud Cost Models: Cloud Cost Optimization (wshobson/agents, 40k stars), Spotinfo (alexei-led/spotinfo, 164 stars), Frugal (yuanboP/frugal, 198 stars) and Cloud Architect (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,293 GitHub stars. The repository holds 96 skills in this directory. The repository was last updated on March 22, 2026.
Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.