agentleFS
huiferhuifer/CloudSaver/skills/cost-audit-master/SKILL.md

cost-audit-master

Skill2 starsChanged 5 months agoApache-2.0View on GitHub

Master orchestrator for cloud cost audits. Coordinates multiple service-specific audit skills to provide comprehensive cost optimization recommendations. Trigger when user mentions full cost audit, comprehensive optimization, or multi-service cost review.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run each service-specific audit skill:

    line 36
  2. Distinctive:

    Create comprehensive audit report with prioritized action plan.

    line 58

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cloud Cost Audit Master

Supported Services

ServiceAudit SkillKey Metrics
Supabasesupabase-auditDB size, queries, storage, Auth MAU
Cloudflarecloudflare-auditWorkers, D1, KV, R2
D1d1-cost-optimizerRow Reads, indexes
Redisredis-auditMemory, connections
Indexesindex-optimizerMissing, unused indexes
Queriesquery-rewriterInefficient patterns
Monitoringcost-monitorAlerts, trends
Budgetspend-cap-managerSpend caps, limits

Audit Workflow

Step 1: Service Discovery

Identify all cloud services in use.

Step 2: Execute Service Audits

Run each service-specific audit skill:

  • supabase-audit → Database performance
  • cloudflare-audit → Workers, D1, KV, R2
  • redis-audit → Memory, connections
  • index-optimizer → Index analysis
  • query-rewriter → Query patterns

See cases/full-audit.md for comprehensive audit process.

Step 3: Aggregate Results

Collect findings from all audits.

Step 4: Prioritize Recommendations

Rank by:

  1. Impact (cost savings)
  2. Effort (implementation time)
  3. Risk (potential issues)

Step 5: Generate Report

Create comprehensive audit report with prioritized action plan.

Matching Cases

ScopeCase FileOutput
Full auditcases/full-audit.mdComprehensive report

Output Format

# Cloud Cost Audit Report

**Date:** YYYY-MM-DD
**Scope:** All services

## Executive Summary
- Total monthly cost: $X
- Potential savings: $X (XX%)
- Priority actions: X

## Service Analysis

### Supabase
- Status: [OK/Warning/Critical]
- Findings: X issues
- Savings: $X/month

### Cloudflare
- Status: [OK/Warning/Critical]
- Findings: X issues
- Savings: $X/month

### Redis
- Status: [OK/Warning/Critical]
- Findings: X issues
- Savings: $X/month

## Priority Recommendations

### P0 - Immediate (This Week)
1. [Action] → $X savings
2. [Action] → $X savings

### P1 - Short-term (This Month)
1. [Action] → $X savings

### P2 - Medium-term (This Quarter)
1. [Action] → $X savings

## Implementation Plan
| Week | Actions | Expected Savings |
|------|---------|------------------|
| 1 | P0 items | $X |
| 2 | P1 items | $X |
| 3-4 | P2 items | $X |

## Monitoring Setup
Reference: cost-monitor skill

## Next Audit
Recommended: YYYY-MM-DD (30 days)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.