ci-pipeline-profiler
Installation
SKILL.md
CI Pipeline Profiler
Leading word: profile — the act of measuring where time goes in a pipeline, then explaining why.
Given a GitLab pipeline URL, profile every job's duration, drill into the slow ones, read the project's CI config, and produce a markdown report with actionable optimization suggestions.
Prerequisites
- Run from the project's local clone (the agent reads
.gitlab-ci.yml,Makefile,Dockerfile, etc. from the working directory). glabCLI installed and authenticated (GITLAB_TOKENorGITLAB_PERSONAL_ACCESS_TOKENenv var set).python3available (the helper script is stdlib-only).
Flow
Step 1: Collect job data
Run the helper script to fetch all jobs of the pipeline: