/harness:analyze-costsfrom Harness DevOps
Analyzes cloud costs, finds optimization opportunities, and tracks anomalies using Harness CCM via MCP. Walks through cost overview, breakdown, trends, recommendations, and anomaly detection.
Ships in Harness DevOps. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Analyze cloud costs and identify savings using Harness Cloud Cost Management (CCM) via MCP.
Call MCP tool: harness_get
Parameters:
resource_type: "cost_account_overview"
Returns total spend, provider breakdown, and trend vs previous period.
Call MCP tool: harness_get
Parameters:
resource_type: "cost_breakdown"
Multi-dimensional breakdown by service, environment, team, region.
Call MCP tool: harness_list
Parameters:
resource_type: "cost_perspective"
Then get detailed data for a specific perspective:
Call MCP tool: harness_get
Parameters:
resource_type: "cost_perspective"
resource_id: "<perspective_id>"
Call MCP tool: harness_get
Parameters:
resource_type: "cost_timeseries"
Call MCP tool: harness_list
Parameters:
resource_type: "cost_recommendation"
For detailed recommendation info:
Call MCP tool: harness_get
Parameters:
resource_type: "cost_recommendation_detail"
resource_id: "<recommendation_id>"
Summary statistics:
Call MCP tool: harness_get
Parameters:
resource_type: "cost_recommendation_stats"
Call MCP tool: harness_list
Parameters:
resource_type: "cost_anomaly"
To dismiss a known anomaly:
Call MCP tool: harness_execute
Parameters:
resource_type: "cost_anomaly"
action: "report_feedback"
resource_id: "<anomaly_id>"
body: { feedback: "FALSE_ANOMALY" } # or TRUE_ANOMALY / NOT_RESPONDED
Call MCP tool: harness_get
Parameters:
resource_type: "cost_commitment"
## Cloud Cost Analysis
**Period:** Last 30 Days
### Summary
| Provider | Spend | vs Previous |
|----------|-------|-------------|
| AWS | $X | +X% |
| GCP | $X | +X% |
| Azure | $X | -X% |
### Top Recommendations
1. **Rightsize <resource>** - Save $X/month (95% confidence)
2. **Convert to Reserved** - Save $X/month
3. **Delete unused resources** - Save $X/month
### Anomalies
- <date>: <service> spiked $X above expected
### Actions
- [ ] Rightsize instance X
- [ ] Purchase reserved capacity
- [ ] Clean up unused volumes
| Resource Type | Operations | Description |
|---|---|---|
cost_account_overview | get | Account-level total spend summary |
cost_summary | get | Perspective-scoped cost summary |
cost_timeseries | get | Cost trends over time |
cost_breakdown | get | Multi-dimensional breakdown |
cost_perspective | list, get | Custom cost views |
cost_recommendation | list | Optimization suggestions |
cost_recommendation_detail | get | Detailed recommendation |
cost_recommendation_stats | get | Summary statistics |
cost_anomaly | list, get, execute(report_feedback) | Cost spikes |
cost_anomaly_summary | get | Anomaly aggregate summary |
cost_category | list, get | Cost allocation |
cost_commitment | get | Commitment coverage/utilisation/savings |
cost_filter_value | get | Available filter values |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cloud-costs, cost-optimization, harness-ccm, anomaly-detection
73 skills in this plugin
/ai-operationsConfigure Harness AI-powered operations (AIDA) via MCP. Set up predictive failure analysis with ML models for memory leaks, disk exhaustion, connection pool saturation, and latency degradation. Configure intelligent alert correlation and noise reduction to reduce alert volume. Use when asked to set up predictive failure analysis, configure AI-powered alerting, reduce alert noise, or enable ML-based anomaly detection. Do NOT use for pipeline debugging (use debug-pipeline instead) or SLO management (use manage-slos instead). Trigger phrases: AIDA, predictive failure, alert correlation, noise reduction, anomaly detection, AI ops, predictive analysis, alert fatigue, ML alerting, intelligent alerting./approve-exemptApprove pending Harness STO security exemptions (waivers) at their current scope or elevate them to Project, Org, or Account scope. Users say "approve" for both in-scope approval and higher-scope elevation — do not require the word "promote". Supports approving one exemption or a mixed list where each row has a different approval scope. Default workflow lists pending exemptions in chat (paginated preview) so the user picks by row number — no copying from the Harness UI. Use when a user wants to approve, sign off on, or clear pending exemptions, waive approvals, org-wide approval, or account-wide approval. Trigger phrases: approve exempt, approve exemption, approve waiver, sign off exemption, clear pending exemption, approve for org, approve for account, org-wide approval, account-wide approval, pending exemptions.npx claudepluginhub harness/harness-ai --plugin harnessOther plugins' skills for the same job