← ClaudeAtlas

gitlab-explorerlisted

Explore GitLab repositories using glab CLI and git commands. Use when user asks to: clone repositories, search projects or code in GitLab, view merge requests, explore project structure, check CI/CD pipelines, work with issues, or analyze git history. IMPORTANT: Always run authentication check script first before any GitLab operation.
Wide-Moat/open-computer-use · ★ 114 · Code & Development · score 71
Install: claude install-skill Wide-Moat/open-computer-use
# GitLab Explorer This skill enables exploring GitLab repositories, searching code, viewing merge requests, and working with git history. ## Before Any GitLab Operation **ALWAYS run the authentication check first:** ```bash bash /mnt/skills/public/gitlab-explorer/scripts/check_gitlab_auth.sh ``` This script will: - Verify if GitLab token is configured - Validate the token by calling GitLab API - Show logged-in user info if valid - Provide setup instructions if not configured **DO NOT** try to read or echo `$GITLAB_TOKEN` directly - the script handles validation securely without exposing the token. If authentication is not configured, inform the user: > To use GitLab features, please go to and add your GitLab Personal Access Token. Then start a NEW chat to apply the token. ## Quick Start ### Clone a Repository ```bash git clone https://gitlab.com/group/project.git cd project ``` ### Search for Projects ```bash # Search projects by name glab api "projects?search=keyword" | jq '.[].path_with_namespace' # List projects in a group glab api "groups/GROUP_NAME/projects" | jq '.[].name' ``` ### Check Current User ```bash glab api user | jq '{username, email, name}' ``` ## Exploring Code ### Repository Structure ```bash # Show directory tree tree -L 2 # Find files by pattern find . -name "*.py" -type f # Search for text in files git grep "pattern" ``` ### Git History ```bash # View commit history git log --oneline -20 # Visual branch history git log --oneline -