agentsclimarketplace

Ci

Skill moumine9/glab-skills/skills/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

Install
npx -y skills add moumine9/glab-skills --skill ci

Assembled 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:

  1. glab ci status to find the failing pipeline
  2. glab ci view to identify the failing job
  3. glab ci trace to 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.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.