gitlab-explorerlisted
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 -