Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cicd-aiops

БесплатноБез исполняемых скриптовНе проверен

Use this skill whenever the user needs to operate a self-managed GitLab or self-hosted Gitea CI/CD server — a one-shot overview, server version and token…

zw008от zw0082 023 установки в других каталогах

Об этом скилле

CICD AIops

Audit availability: Real writes require a durable audit intent. Reads and previews can continue if audit storage fails; check the warning and audit health before relying on their audit trail.

Disclaimer: Community-maintained open-source project, not affiliated with, endorsed by, or sponsored by GitLab Inc. or the Gitea project. GitLab and Gitea are trademarks of their respective owners. Source at github.com/AIops-tools/CICD-AIops under the MIT license.

Governed CI/CD operations — 28 MCP tools across self-managed GitLab (REST /api/v4/...) and self-hosted Gitea (API /api/v1/...), every one wrapped with the bundled @governed_tool harness: a local unified audit log under ~/.cicd-aiops/, token/runaway budget guard, undo-token recording, and descriptive risk tiers. A per-target platform field selects the API shape, so the same tools work on both servers and one config can span a mixed estate. The access token is stored encrypted (~/.cicd-aiops/secrets.enc, Fernet + scrypt) — never plaintext on disk.

Standalone: the governance harness is bundled in the package (cicd_aiops.governance) — no external skill-family dependency. Both platforms are free/self-hostable, so a home lab is the cheapest live check; verification status and the checklist are in docs/VERIFICATION.md.

What This Skill Does

Group Tools Count R/W
Server server_version, current_user, cicd_overview 3 read
Projects list_projects, project_detail 2 read
Pipelines list_pipelines, pipeline_detail, pipeline_jobs, job_trace_tail 4 read
Runners list_runners, runner_detail 2 read
Repo surface list_merge_requests, list_branches, list_protected_branches, list_releases 4 read
Artifacts list_artifacts 1 read
Flagship analyses pipeline_failure_rca, runner_health_rca, artifact_storage_bloat_analysis, stale_work_audit 4 read
Writes retry_pipeline, cancel_pipeline, pause_runner, resume_runner, update_branch_protection 5 write (med)
Writes delete_artifacts 1 write (high)
Undo undo_list, undo_apply 2 read + replay

The four flagship analyses are transparent heuristics that report their numbers, never a black-box verdict: pipeline_failure_rca classifies each failed job from its failure_reason + trace-tail markers (test-failure / dependency-network / runner-timeout / oom / script-error) with matched evidence; runner_health_rca flags offline/stale/paused runners, long-queued jobs, and per-tag saturation; artifact_storage_bloat_analysis ranks projects by repo + artifact bytes and estimates reclaimable bytes; stale_work_audit flags idle MRs/branches and protection gaps.

Quick Install

uv tool install cicd-aiops
cicd-aiops init       # wizard: pick platform (gitlab/gitea) + base URL + encrypted token
cicd-aiops doctor     # version endpoint + token-scope probe per target

Or as an OpenClaw plugin, which installs this skill and its MCP server together:

openclaw plugins install clawhub:@zw008/cicd-aiops
openclaw skills info cicd-aiops          # expect: Visible to model: yes

Needs uvx on PATH: the MCP server is fetched with uv, pinned to this release.

When to Use This Skill

  • Get a one-shot snapshot (overview / server_version / current_user)
  • Answer "why is CI red?" (rca pipelines / pipeline_failure_rca) → cause + action per failed pipeline, with the trace evidence that drove the call
  • Find wedged capacity (rca runners / runner_health_rca) → offline/stale runners, long-queued jobs, saturated tags
  • Reclaim disk (rca storage / artifact_storage_bloat_analysis) → ranked projects + reclaimable bytes, feeding delete_artifacts --dry-run
  • Repo hygiene (rca stale / stale_work_audit) → idle MRs/branches, unprotected default branch, force-push gaps
  • Safely act: retry_pipeline / cancel_pipeline, pause_runner / resume_runner (undo pair), update_branch_protection (undo replays prior settings), delete_artifacts (risk=high, dry-run + double confirm)

Do NOT use when the target is not a GitLab/Gitea CI/CD server — route hypervisor, storage, backup, database, network, or OT/industrial work to the appropriate other AIops-tools skill.

Related Skills — Skill Routing

If the user wants… Use
Self-managed GitLab / Gitea CI/CD ops cicd-aiops (this skill)
Kubernetes deploy state (what the cluster is actually running) k8s-aiops
A non-CI/CD platform (hypervisor, storage, backup, database, network, OT edge) the appropriate other AIops-tools skill
GitLab.com / Gitea Cloud SaaS accounts out of scope for this tool

Common Workflows

Each recipe starts from one of the four RCAs and ends in a governed write. Every CLI write acc

Полный SKILL.md на ClawHub

Установить cicd-aiops в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash

FAQ

Что делает скилл cicd-aiops?

Use this skill whenever the user needs to operate a self-managed GitLab or self-hosted Gitea CI/CD server — a one-shot overview, server version and token identity, projects with storage statistics, pipelines/runs with jobs and trace tails, the runner fleet, merge/pull requests, branches, protection rules and releases, artifact inventories, four flagship RCAs (pipeline failures, runner health & queue, artifact/storage bloat, stale work), and governed writes (retry/cancel a pipeline, pause/resume a runner, delete artifacts, update branch protection). Always use this skill for "GitLab", "Gitea", "pipeline failed", "CI is red", "job trace", "runner offline", "jobs stuck in queue", "artifact storage full", "stale merge requests", "stale branches", "protect the default branch", "retry the pipeline", "cancel the pipeline", "delete old artifacts" when the context is a self-managed GitLab or Gitea instance. Do NOT use when the target is something other than a GitLab/Gitea CI/CD server (a hypervisor, storage appliance, backup product, database, network gear, or OT/industrial equipment) — route those to the appropriate other AIops-tools skill. Do NOT use for Kubernetes deploy state — use k8s-aiops. GitLab.com / Gitea Cloud SaaS accounts are out of scope: this tool targets self-managed instances. Governed CI/CD operations with a built-in governance harness (audit, policy, token budget, undo, risk-tiers).

Как установить скилл cicd-aiops?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cicd-aiops запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cicd-aiops с