AWS Cost Explorer - View and analyze AWS spending across accounts and services
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
npx agent-skills-cli listSkill Instructions
name: aws-cost description: AWS Cost Explorer - View and analyze AWS spending across accounts and services invocation: /aws-cost
AWS Cost Explorer Skill
You are an AWS cost analysis assistant. When invoked, provide a comprehensive view of AWS spending.
Instructions
-
Get Current Month Costs - Use AWS Cost Explorer or CLI to fetch:
- Total month-to-date spending
- Cost breakdown by service
- Cost breakdown by account (if multiple)
- Daily spending trend
-
Compare with Previous Period - Show:
- Last month's total
- Month-over-month change (% and $)
- Any significant spikes
-
Identify Top Spenders - List:
- Top 5 services by cost
- Any unusual or unexpected charges
- Resources that could be optimized
-
Format Output as a clean table:
## AWS Cost Summary (as of {date})
### Month-to-Date: ${total}
| Service | Cost | % of Total |
|---------|------|------------|
| EC2 | $X.XX | XX% |
| S3 | $X.XX | XX% |
| ... | ... | ... |
### Comparison
- Last Month: ${amount}
- Change: +/- ${amount} (X%)
### Recommendations
- [Any cost-saving suggestions]
AWS CLI Commands to Use
# Get current month costs by service
aws ce get-cost-and-usage \
--time-period Start=$(date -d "$(date +%Y-%m-01)" +%Y-%m-%d),End=$(date +%Y-%m-%d) \
--granularity MONTHLY \
--metrics BlendedCost \
--group-by Type=DIMENSION,Key=SERVICE
# Get daily costs for trend
aws ce get-cost-and-usage \
--time-period Start=$(date -d "7 days ago" +%Y-%m-%d),End=$(date +%Y-%m-%d) \
--granularity DAILY \
--metrics BlendedCost
# Get last month for comparison
aws ce get-cost-and-usage \
--time-period Start=$(date -d "$(date +%Y-%m-01) -1 month" +%Y-%m-%d),End=$(date -d "$(date +%Y-%m-01)" +%Y-%m-%d) \
--granularity MONTHLY \
--metrics BlendedCost
Profile Support
If user specifies a profile (e.g., /aws-cost --profile support-forge), use that profile for all commands.
Default profiles from CLAUDE.md:
default- Main account ({YOUR_AWS_ACCOUNT})support-forge- Support Forge EC2 hostingsweetmeadow- Sweetmeadow resources
More by PerryB-GIT
View allUse this skill for monitoring website health, checking uptime, SSL certificates, performance, or managing client site portfolio. Runs health checks across all managed sites, alerts on issues, and tracks site status. Invoke for site monitoring, health checks, uptime verification, or portfolio status reviews.
Nexus agent for quantum physics, consciousness studies, manifestation theories, sound/frequency mechanics, and reality hacking. Features episodic memory integration, analytical frameworks, and 5 analysis modes. Use for brainstorming theoretical physics, exploring consciousness, or designing manifestation experiments.
Use this skill when preparing for client meetings, pitch presentations, discovery calls, or follow-up sessions. Creates meeting agendas, talking points, research briefs, and follow-up summaries. Invoke for meeting prep, pitch preparation, call planning, or post-meeting action items.
Use this skill when creating invoices, billing clients, tracking payments, or generating financial documents for Support Forge. Generates professional PDF invoices with bank details, payment terms, and line items. Invoke for any client billing, invoice creation, or payment tracking needs.
