Show current pipeline status for the active branch (GitLab CI or GitHub Actions)
Scanned 9/4/2026
Install to Claude Code
npx -y skills add gabrielmoreira/agent-skills-mirror --skill ci-status --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Ci Status?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/gabrielmoreira-ci-status)More formats (shields.io, HTML) on the badges page.
---
name: ci-status
description: Show current pipeline status for the active branch (GitLab CI or GitHub Actions)
argument-hint: "[pr_number optional]"
allowed-tools: [Bash]
model: haiku
effort: low
disable-model-invocation: true
---
# /ci:status: Pipeline status
Quick snapshot of the CI pipeline on the current branch.
## Process
```bash
# 1. Current branch
BRANCH=$(git branch --show-current)
echo "Branch: $BRANCH"
# 2. Last commits
git log -3 --oneline
```
## GitLab CI
```bash
# With glab CLI (recommended)
if command -v glab &>/dev/null; then
glab ci status --branch "$BRANCH"
else
# Fallback: show URL
REMOTE=$(git remote get-url origin 2>/dev/null || echo "")
if [ -n "$REMOTE" ]; then
WEB_URL=$(echo "$REMOTE" | sed 's/git@gitlab\.com:/https:\/\/gitlab.com\//' | sed 's/\.git$//')
echo "Pipeline: $WEB_URL/-/pipelines?ref=$BRANCH"
fi
fi
# If MR number provided
if [ -n "$ARGUMENTS" ] && command -v glab &>/dev/null; then
glab mr view "$ARGUMENTS"
fi
```
## GitHub Actions
```bash
# With gh CLI (recommended)
if command -v gh &>/dev/null; then
gh run list --branch "$BRANCH" --limit 5
else
# Fallback: show URL
REMOTE=$(git remote get-url origin 2>/dev/null || echo "")
if [ -n "$REMOTE" ]; then
WEB_URL=$(echo "$REMOTE" | sed 's/git@github\.com:/https:\/\/github.com\//' | sed 's/\.git$//')
echo "Actions: $WEB_URL/actions?query=branch%3A$BRANCH"
fi
fi
# If PR number provided
if [ -n "$ARGUMENTS" ] && command -v gh &>/dev/null; then
gh pr checks "$ARGUMENTS"
fi
```
## Expected output
```
Branch: feat/add-payment-retry
Last commits:
a1b2c3d feat(payments): add retry logic with exponential backoff
e4f5g6h test(payments): add Vitest coverage on retry scenarios
i7j8k9l chore: update pnpm lockfile
Pipeline: running
✅ lint 30s
✅ typecheck 45s
⏳ test running...
⏸️ deploy waiting
URL: https://gitlab.com/org/my-app/-/pipelines?ref=feat/add-payment-retry
```
## Usage
```
/ci:status
/ci:status 42 # MR or PR number 42
```
Target: $ARGUMENTSIs this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!