gitlab-cli
GitLab CLI (glab) wrapper for MR status, issues, and repository operations
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
GitLab CLI helper skill for common glab operations. Requires glab CLI installed and authenticated.
Note: For creating/updating MR descriptions, use /mr-description-creator instead.
Actions
MR Operations
View MR status:
/gitlab-cli mr status
View MR in browser:
/gitlab-cli mr view --web
List MRs:
/gitlab-cli mr list
Merge MR:
/gitlab-cli mr merge
Issue Operations
List issues:
/gitlab-cli issue list
Create issue:
/gitlab-cli issue create
View issue:
/gitlab-cli issue view <number>
CI/CD Operations
View CI status:
/gitlab-cli ci status
View pipeline:
/gitlab-cli ci view
List jobs:
/gitlab-cli job list
Repository Operations
View repo:
/gitlab-cli repo view
Instructions
Step 1: Validate Environment
# Check glab is installed
glab --version
# Check glab is authenticated
glab auth status
If not installed, report: "Install glab CLI: https://gitlab.com/gitlab-org/cli" If not authenticated, report: "Run: glab auth login"
Step 2: Parse and Execute
Parse $ARGUMENTS and pass directly to glab:
glab $ARGUMENTS
Step 3: Report Result
Show glab output directly to user.
Examples
# View MR status
/gitlab-cli mr status
# View MR in browser
/gitlab-cli mr view --web
# List open MRs
/gitlab-cli mr list
# Merge current MR
/gitlab-cli mr merge
# List issues
/gitlab-cli issue list
# Create issue interactively
/gitlab-cli issue create
# View repo info
/gitlab-cli repo view
# View CI status
/gitlab-cli ci status
# View pipeline
/gitlab-cli ci view
# List jobs
/gitlab-cli job list
# API calls
/gitlab-cli api projects/:id/merge_requests
# Any glab command works
/gitlab-cli release list
/gitlab-cli label list
Error Handling
| Scenario | Action |
|---|---|
| glab not installed | "Install glab: https://gitlab.com/gitlab-org/cli" |
| Not authenticated | "Run: glab auth login" |
| glab command fails | Show glab error output |
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-02-02
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!