# Spend Cap Manager

> Cloud service spend cap and budget management expert. Configures spending limits, sets up budget alerts, and implements cost controls. Trigger when user mentions spend cap, budget limits, or cost control.

- Skill: `huifer/spend-cap-manager` (Agent Skill, multi-file: 7 files)
- Install (CLI): `npx skillmds@latest add huifer/spend-cap-manager`
- Raw SKILL.md: https://api.skillmd.com/api/skills/huifer/spend-cap-manager/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: huifer (https://skillmd.com/u/huifer)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/huifer/spend-cap-manager

---


# Spend Cap & Budget Management Expert

## Service Limits

| Service | Free Tier | Spend Cap | Budget Control |
|---------|-----------|-----------|----------------|
| Supabase | Yes | Built-in | Dashboard |
| Cloudflare | Yes | Manual | Workers/KV |
| Redis | Varies | Provider | Provider |
| Vercel | Yes | Built-in | Dashboard |
| Netlify | Yes | Built-in | Dashboard |

## Audit Workflow

### Step 1: Check Current Usage

Verify usage against free tier limits for each service.

### Step 2: Configure Spend Caps

Enable built-in spend caps where available.
See `cases/supabase-spend-cap.md` for Supabase configuration.

### Step 3: Implement Budget Controls

For services without built-in caps, implement custom controls.
See `cases/cloudflare-budget.md` for Workers/KV budget control.

### Step 4: Set Up Alerts

Configure notifications before hitting limits.

## Matching Cases

| Service | Case File | Control Type |
|---------|-----------|--------------|
| Supabase | `cases/supabase-spend-cap.md` | Built-in cap |
| Cloudflare | `cases/cloudflare-budget.md` | Custom budget |

## Threshold Recommendations

| Service | Warning | Critical | Action |
|---------|---------|----------|--------|
| Supabase DB | 70% | 90% | Enable cap |
| Supabase Storage | 70% | 90% | Enable cap |
| Workers requests | 70% | 90% | Rate limit |
| D1 Row Reads | 70% | 90% | Query cache |
| KV operations | 70% | 90% | Local cache |

## Output Format

```
## Spend Cap Management Report

### 1. Current Status
| Service | Usage | Limit | Status | Spend Cap |
|---------|-------|-------|--------|-----------|
| Supabase DB | X MB | 500 MB | X% | Enabled |
| Workers | X K | 100 K | X% | Manual |

### 2. Recommendations
1. [Service]: Enable spend cap / Set budget limit
2. [Service]: Set alert at X% threshold

### 3. Implementation
Reference: cases/<case-name>.md
```

