gitops-status

监控 GitOps 应用的运行状况与同步状态,并通过 Harness MCP 管理 ArgoCD 部署。用于查询或报告 “gitops status”、“argocd status”、“application sync”、“gitops health” 或类似的应用同步/健康问题。

仓库最近推送
GitHub Stars
138
Forks
30
Issues / PRs
4

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "gitops-status":https://skillpi.com/zh/skills/deepskill-876da4ed54eb5d21527064a8a07bb0ca4ad9b5206e7ad5981e401377023debd7。安装前核对上游来源和版本:https://github.com/harness/harness-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

监控 GitOps 应用的运行状况与同步状态,并通过 Harness MCP 管理 ArgoCD 部署。用于查询或报告 “gitops status”、“argocd status”、“application sync”、“gitops health” 或类似的应用同步/健康问题。

0 下载

介绍来源: third_party · harness · 2.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: gitops-status
description: Monitor GitOps application health, sync status, and manage ArgoCD deployments via Harness MCP. Use when user says "gitops status", "argocd status", "application sync", "gitops health", "is my app in sync", or asks about GitOps applications.
metadata:
  author: Harness
  version: 2.0.0
  mcp-server: harness-mcp-v2
license: Apache-2.0
compatibility: Requires Harness MCP v2 server (harness-mcp-v2)

GitOps Status

Monitor GitOps application health and manage sync operations via MCP.

Instructions

Step 1: Overview Dashboard

Call MCP tool: harness_get
Parameters:
  resource_type: "gitops_dashboard"

Step 2: List Applications

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

Step 3: Get Application Details

Call MCP tool: harness_get
Parameters:
  resource_type: "gitops_application"
  resource_id: "<app_name>"
  org_id: "<organization>"
  project_id: "<project>"

Step 4: Check Resource Tree

Call MCP tool: harness_get
Parameters:
  resource_type: "gitops_app_resource_tree"
  resource_id: "<app_name>"

Step 5: Get Pod Logs (Debugging)

Call MCP tool: harness_get
Parameters:
  resource_type: "gitops_pod_log"
  resource_id: "<pod_name>"

Step 6: Check Events

Call MCP tool: harness_list
Parameters:
  resource_type: "gitops_app_event"

Step 7: Trigger Sync

Call MCP tool: harness_execute
Parameters:
  resource_type: "gitops_application"
  action: "sync"
  resource_id: "<app_name>"
  org_id: "<organization>"
  project_id: "<project>"

Additional Resource Types

Call MCP tool: harness_list
Parameters:
  resource_type: "gitops_agent"        # ArgoCD agents
  resource_type: "gitops_cluster"      # Connected clusters
  resource_type: "gitops_repository"   # Git repositories
  resource_type: "gitops_applicationset"  # ApplicationSets
  resource_type: "gitops_managed_resource"  # K8s resources

GitOps Resource Types

Resource Type Operations Description
gitops_agent list, get ArgoCD instances
gitops_application list, get, sync Applications
gitops_applicationset list, get ApplicationSets
gitops_cluster list, get K8s clusters
gitops_repository list, get Git repositories
gitops_app_event list Application events
gitops_pod_log get Pod logs
gitops_managed_resource list K8s resources
gitops_app_resource_tree get Resource tree
gitops_dashboard get Overview dashboard

Application Health States

  • Healthy - All resources running and passing health checks
  • Degraded - Some resources failing health checks
  • Progressing - Resources being created/updated
  • Suspended - Application suspended
  • Missing - Resources not found
  • Unknown - Health status cannot be determined

Sync States

  • Synced - Live state matches desired state in Git
  • OutOfSync - Live state differs from Git (needs sync)
  • Unknown - Sync status cannot be determined

Examples

  • "Show me all GitOps applications" - List gitops_application
  • "Is the api-gateway in sync?" - Get gitops_application, check sync status
  • "Sync the payment-service" - Execute sync action
  • "Get pod logs for failing service" - Get gitops_pod_log
  • "Show the resource tree for my app" - Get gitops_app_resource_tree

Performance Notes

  • Check all applications in the requested scope before summarizing health status.
  • For out-of-sync applications, examine the resource tree to identify the specific drift.
  • Gather pod logs for failing resources before diagnosing issues.

Troubleshooting

Application OutOfSync

  • Check git repo for recent changes
  • Verify auto-sync is enabled if expected
  • Review sync errors in events
  • Trigger manual sync if needed

Application Degraded

  • Check pod logs for application errors
  • Review resource tree for failing pods
  • Check resource limits and quotas

Agent Not Connected

  • Verify ArgoCD agent is running
  • Check network connectivity
  • Review agent configuration

当前收录版本

2.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值78/100

亮点

  • 提供 GitOps 应用健康监控和同步状态检查能力
  • 支持 ArgoCD 部署管理,适用于 DevOps 和 GitOps 用户群体
触发精准92/100

亮点

  • 触发词覆盖多种变体(gitops status、argocd status、application sync等),边界清晰
结构规范95/100

亮点

  • Phase/步骤清晰(Step 1-7),有出口条件,含端到端示例
  • frontmatter完整,单文件≤500行
执行可靠88/100

亮点

  • 工具来源明确(Harness MCP),参数正确
  • 覆盖主要异常(如检查资源树、获取 Pod 日志、检查事件等),不可逆操作有明确参数说明
证据可验 (前四项均值)88/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。