AGENT SKILL

ai-operations

Configure 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.

License 许可
Apache-2.0
最近更新
2026-06-06
Stars
★ 0
Forks
0

01 前言 Front Matter

name
ai-operations
license
Apache-2.0
metadata
{ "author": "Harness", "version": "1.0.0", "mcp-server": "harness-mcp-v2" }
description
Configure 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.
compatibility
Requires Harness MCP v2 server (harness-mcp-v2)

03 SKILL.md 正文

AI Operations

Configure AI-powered predictive failure analysis and intelligent alert correlation using Harness AIDA.

Instructions

Step 1: Establish Scope

Confirm the user's org, project, service, and observability stack.

Call MCP tool: harness_list
Parameters:
  resource_type: "project"
  org_id: "<organization>"

Step 2: Identify the AI Operations Task

Determine which workflow the user needs:

  1. Predictive Failure Analysis -- ML-based detection of impending failures before SLO breach
  2. Alert Correlation and Noise Reduction -- Group related alerts and suppress duplicates

Step 3: Configure Predictive Failure Analysis

Gather from the user:

  • Service name and data sources (Datadog, Prometheus, CloudWatch)
  • Prediction horizon (30 minutes, 1 hour, 4 hours, 24 hours ahead)
  • Training data period (30 days, 90 days, 6 months)
  • Model type preference (anomaly detection, time series forecasting, ensemble)

Configure failure prediction scenarios:

  1. Memory leak detection -- Flag services where memory grows above threshold per window
  2. Disk exhaustion -- Predict time-to-full and alert N hours in advance
  3. Connection pool saturation -- Alert when pool usage exceeds threshold for sustained duration
  4. Latency degradation -- Detect progressive slowdown before SLO breach
  5. Deployment-induced regression -- Correlate metric changes with recent deployments

Configure alerting:

  • Set prediction confidence threshold (suppress below threshold to reduce noise)
  • Route alerts to PagerDuty, Slack, or other channels
  • Enable auto-generated runbook suggestions using AIDA
  • Set up false positive feedback loop for model improvement

Configure data sources:

  • Metrics source (Prometheus, Datadog, CloudWatch)
  • Log source (Elasticsearch, Splunk, CloudWatch Logs)
  • Trace source (Jaeger, Datadog APM, AWS X-Ray)
  • Model retraining frequency (daily, weekly, monthly, on data drift)

Step 4: Configure Alert Correlation and Noise Reduction

Gather from the user:

  • Current alert volume (alerts/day) and target reduction percentage
  • Alerting tools in use (PagerDuty, OpsGenie, Grafana, Datadog)
  • Correlation preferences

Configure alert correlation:

  • Correlation window: group alerts fired within N minutes
  • Correlation method: topology-based, time-based, ML-based, or hybrid
  • Service dependency mapping for topology-based correlation

Configure noise reduction:

  • Deduplication: merge identical alerts across sources
  • Suppression: suppress known-noisy alerts during maintenance windows
  • Aggregation: combine N similar alerts into a single incident
  • Priority scoring: ML-based severity assignment using historical resolution data

Configure intelligent routing:

  • Route to the team that owns the affected service
  • Escalation: auto-escalate if not acknowledged within SLA
  • Context enrichment: attach recent deployments, related logs, and runbook links to alerts

Examples

  • "Set up predictive failure analysis for our payment service" -- Configure ML models to detect memory leaks, disk exhaustion, and latency degradation
  • "Reduce our alert noise by 50%" -- Configure alert correlation and deduplication to reduce daily alert volume
  • "Alert us 4 hours before disk runs out" -- Configure disk exhaustion prediction with advance warning
  • "Correlate alerts across our microservices" -- Set up topology-based alert correlation using service dependency map
  • "Auto-generate runbook suggestions for alerts" -- Enable AIDA-powered runbook recommendations

Performance Notes

  • ML models need 2-4 weeks of baseline data before predictions become reliable -- expect higher false positive rates initially.
  • Topology-based correlation requires an accurate service dependency map -- stale maps cause missed correlations.
  • Alert correlation windows should balance grouping (longer = fewer alerts) with response time (shorter = faster notification).
  • Retraining frequency should match how fast the system changes -- fast-moving services need weekly retraining.

Troubleshooting

High False Positive Rate

  • Increase the confidence threshold to suppress low-confidence predictions
  • Provide false positive feedback to improve the model
  • Check that training data period includes representative traffic patterns (weekday, weekend, peak)

Predictions Not Triggering

  • Verify data sources are connected and sending metrics
  • Check that the prediction horizon is appropriate for the failure mode
  • Ensure the model has completed initial training (2-4 weeks minimum)

Alert Correlation Missing Related Alerts

  • Increase the correlation window to capture cascading failures
  • Update the service dependency map if topology-based correlation is in use
  • Check that all alert sources are integrated (missing sources cause orphaned alerts)

04 同仓库更多 Skills

AdmiralGallade
AdmiralGallade/harness-repository

verify-sign

Add an Artifact Verification (SscaArtifactVerification) step to an existing Harness pipeline to verify Cosign signatures on container or local-stage artifacts. Supports CI, Security, and CD Deploy (containerized step group). Supports Third-Party registries (Docker, ECR, GCR, GAR, ACR), Harness Artifact Registry (HAR), and Harness Local Stage artifacts. Only works with existing pipelines. Use when asked to verify signed artifacts, verify artifact signature, verify-sign, validate Cosign signature, or configure SscaArtifactVerification. Trigger phrases: verify sign, verify artifact, artifact verification, verify signature, verify-sign, SscaArtifactVerification, verify signed image, verify Cosign, HAR verification.

★ 0
AdmiralGallade
AdmiralGallade/harness-repository

template-usage

Track Harness template dependencies, usage, and adoption via MCP v2 tools. Find which pipelines or other templates reference a given template, analyze update impact, identify unused templates, and compare version adoption. Use when asked about template usage, template references, template dependencies, impact analysis before updating a template, finding unused templates, or tracking template adoption across projects. Trigger phrases: template usage, who uses template, template references, template dependencies, template impact, unused templates, template adoption. Do NOT use for creating or updating templates (use create-template instead).

★ 0
AdmiralGallade
AdmiralGallade/harness-repository

sign-artifact

Add an Artifact Signing (SscaArtifactSigning) step to an existing Harness pipeline to Cosign-sign container or local-stage artifacts with keyless, key-based, or Vault signing. Supports Third-Party registries (Docker, ECR, GCR, GAR, ACR), Harness Artifact Registry (HAR), and Harness Local Stage artifacts. Place after image build/push; optionally upload .sig to the registry. Only works with existing pipelines. Use when asked to sign artifacts, add artifact signing, Cosign sign image, attach signature to registry, or configure SscaArtifactSigning. Trigger phrases: sign artifact, artifact signing, sign image, Cosign sign, add signing step, SscaArtifactSigning, attach signature, sign container image, HAR signing.

★ 0
AdmiralGallade
AdmiralGallade/harness-repository

sei-analytics

Advanced engineering analytics via Harness Software Engineering Insights (SEI) MCP. Configure sprint velocity and estimation accuracy tracking, engineering investment allocation breakdowns, sprint planning with capacity forecasts, and release readiness assessments. Use when asked about sprint analytics, investment allocation, sprint planning, capacity forecasting, or release readiness. Do NOT use for DORA metrics (use dora-metrics instead). Trigger phrases: sprint velocity, sprint analytics, investment allocation, capacity planning, sprint forecast, release readiness, engineering productivity, estimation accuracy, sprint planning, scope creep, code quality trends.

★ 0
AdmiralGallade
AdmiralGallade/harness-repository

security-report

Generate security compliance reports using Harness SCS and STO via MCP. Analyze vulnerabilities, SBOMs, and manage exemptions. Use when user says "security report", "vulnerabilities", "SBOM", "security scan", "compliance check", or asks about application security.

★ 0
AdmiralGallade
AdmiralGallade/harness-repository

scorecard-review

Review service maturity scorecards and compliance using Harness IDP via MCP. Check production readiness, security, and documentation scores. Use when user says "scorecard", "service maturity", "production readiness", "compliance score", or asks about service health scores.

★ 0