Skip to content
Back to skills

Gitlab Manager

ASecurity

Manage GitLab repositories, merge requests, and issues via API. Use for tasks like creating repos, reviewing code in MRs, or tracking issues.

  • 14 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 7, 2026
toolsbashnodegitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill gitlab-manager --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gitlab Manager?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gitlab Manager
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-gitlab-manager/badge)](https://www.skillsdirectory.com/skills/modbender-gitlab-manager)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gitlab-manager
description: Manage GitLab repositories, merge requests, and issues via API. Use for tasks like creating repos, reviewing code in MRs, or tracking issues.
---

# GitLab Manager

This skill allows interaction with GitLab.com via the API.

## Prerequisites

- **GITLAB_TOKEN**: A Personal Access Token with `api` scope must be set in the environment.

## Usage

Use the provided Node.js script to interact with GitLab.

### Script Location
`scripts/gitlab_api.js`

### Commands

#### 1. Create Repository
Create a new project in GitLab.
```bash
./scripts/gitlab_api.js create_repo "<name>" "<description>" "<visibility>"
# Visibility: private (default), public, internal
```

#### 2. List Merge Requests
List MRs for a specific project.
```bash
./scripts/gitlab_api.js list_mrs "<project_path>" "[state]"
# Project path: e.g., "jorgermp/my-repo" (will be URL encoded automatically)
# State: opened (default), closed, merged, all
```

#### 3. Comment on Merge Request
Add a comment (note) to a specific MR. Useful for code review.
```bash
./scripts/gitlab_api.js comment_mr "<project_path>" <mr_iid> "<comment_body>"
```

#### 4. Create Issue
Open a new issue.
```bash
./scripts/gitlab_api.js create_issue "<project_path>" "<title>" "<description>"
```

## Examples

**Create a private repo:**
```bash
GITLAB_TOKEN=... ./scripts/gitlab_api.js create_repo "new-tool" "A cool new tool" "private"
```

**Review an MR:**
```bash
# First list to find ID
GITLAB_TOKEN=... ./scripts/gitlab_api.js list_mrs "jorgermp/my-tool" "opened"
# Then comment
GITLAB_TOKEN=... ./scripts/gitlab_api.js comment_mr "jorgermp/my-tool" 1 "Great work, but check indentation."
```

Files in this skill

  • SKILL.md1.7 KB
  • scripts/gitlab_api.js3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…