Ci
View, manage, and retry GitLab CI/CD pipelines and jobs using the glab CLI. Use when the user wants to check pipeline status, trace job logs, or trigger a pipeline.From its SKILL.md
npx -y skills add moumine9/glab-skills --skill ciAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.1 KB, as published. Nobody here has run it
Task
Work with GitLab CI/CD pipelines and jobs via glab.
Steps
1. Determine the action
Parse $ARGUMENTS for the action and any details (pipeline ID, job name, branch, etc.). If unclear, ask the user.
2. Execute
Check the latest pipeline status
glab ci status
Shows the status of the most recent pipeline on the current branch.
List pipelines
glab ci list
Filters:
--branch <branch>— filter by branch--status running|pending|success|failed|canceled--limit <N>— how many to show
View a pipeline (interactive job browser)
glab ci view
glab ci view <pipeline-id>
Opens an interactive TUI to browse jobs and their statuses.
Trace job logs (stream output)
glab ci trace
Streams the log of a running or failed job. Prompts to pick a job if multiple are running.
Retry a failed pipeline
glab ci retry <pipeline-id>
Retries all failed jobs in the pipeline.
Cancel a running pipeline
glab ci cancel <pipeline-id>
Run (trigger) a new pipeline
glab ci run
Flags:
--branch <branch>— run on a specific branch--variables-env "KEY=value"— pass CI variables
Lint a .gitlab-ci.yml file
glab ci lint
glab ci lint <path/to/.gitlab-ci.yml>
3. Workflow tip
If the user asks "why did my pipeline fail", run:
glab ci statusto find the failing pipelineglab ci viewto identify the failing jobglab ci traceto stream the job log
4. Output
Show the command output. For failures, highlight the failed job name and the last few lines of its log.
For a complete list of subcommands and flags, see docs/reference.md.