GitLab

Work with GitLab projects, issues, merge requests, commits, branches, pipelines, and groups via the GitLab API. Use this skill when users want to list projec...

Jay

@hith3sh

Install

$ openclaw skills install @hith3sh/gitlab-repos

GitLab

GitLab

Access GitLab via the GitLab API with OAuth authentication. Manage projects, issues, merge requests, commits, branches, pipelines, and groups.

This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure GitLab API access yourself.

Setup in 3 Steps

Step 1: InstallStep 2: Pair AccountStep 3: Connect GitLab
InstallPairApp-specific connection GIF coming soon
Run the install command in OpenClawSign in and approve the deviceOpen the dashboard and connect GitLab

How It Works

┌─────────────────┐     ┌──────────────┐     ┌──────────────────┐
│   OpenClaw      │────▶│   ClawLink   │────▶│   GitLab API     │
│   (User Chat)   │     │   (OAuth)    │     │   (REST)         │
└─────────────────┘     └──────────────┘     └──────────────────┘
         │                       │                       │
         │  1. Install Plugin    │                       │
         │  2. Pair Device       │                       │
         │  3. Connect GitLab    │                       │
         │                       │  4. Secure Token      │
         │                       │  5. Proxy Requests    │
         │                       │                       │
         ▼                       ▼                       ▼
   ┌──────────┐           ┌──────────┐           ┌──────────┐
   │  SKILL   │           │ Dashboard│           │ GitLab   │
   │  File    │           │ Auth     │           │ Projects │
   └──────────┘           └──────────┘           └──────────┘

Install

Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.

openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart

Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for GitLab again."

Quick Start

# List projects for the authenticated user
clawlink_call_tool --tool "gitlab_get_projects" --params '{}'

# Get a specific project
clawlink_call_tool --tool "gitlab_get_project" --params '{"id": "owner/repo-name"}'

# List project issues
clawlink_call_tool --tool "gitlab_list_project_issues" --params '{"id": "owner/repo-name", "state": "opened"}'

Authentication

All GitLab tool calls are authenticated automatically by ClawLink using the user's connected GitLab account.

No API key is required in chat. ClawLink stores the OAuth token securely and injects it into every GitLab API request on the user's behalf.

Getting Connected

  1. Install the ClawLink plugin (see Install above).
  2. Pair the plugin with clawlink_begin_pairing if it is not configured yet.
  3. Open https://claw-link.dev/dashboard?add=gitlab and connect GitLab.
  4. Call clawlink_list_integrations to verify the connection is active.

Connection Management

List Connections

clawlink_list_integrations

Response: Returns all connected integrations. Look for gitlab in the list.

Verify Connection

clawlink_list_tools --integration gitlab

Response: Returns the live tool catalog for GitLab.

Reconnect

If GitLab tools are missing or the connection shows an error:

  1. Direct the user to https://claw-link.dev/dashboard?add=gitlab
  2. After they confirm, call clawlink_list_integrations to verify
  3. Then call clawlink_list_tools --integration gitlab

Security & Permissions

  • Access is scoped to projects and resources accessible to the connected GitLab account.
  • All write operations require explicit user confirmation. Before executing any create, update, or delete call, confirm the target resource and intended effect with the user.
  • Destructive actions (deleting projects, archiving, removing members) are marked as high-impact and must be confirmed.
  • CI/CD pipeline operations affect build and deployment systems — confirm before triggering or canceling.

Tool Reference

Projects

ToolDescriptionMode
gitlab_get_projectsList all projects accessible to the authenticated userRead
gitlab_get_projectGet project details by ID or pathRead
gitlab_create_projectCreate a new projectWrite
gitlab_archive_projectArchive a project (read-only)Write
gitlab_delete_projectDelete a project permanentlyWrite
gitlab_list_project_pipelinesList CI/CD pipelines for a projectRead

Groups

ToolDescriptionMode
gitlab_get_groupsList all groupsRead
gitlab_get_groupGet group detailsRead
gitlab_create_groupCreate a new groupWrite
gitlab_list_group_membersList direct members of a groupRead
gitlab_list_all_group_membersList all members (direct, inherited, invited)Read

Issues

ToolDescriptionMode
gitlab_list_project_issuesList issues with filtering (state, labels, assignee)Read
gitlab_get_project_issueGet issue detailsRead
gitlab_create_project_issueCreate a new issueWrite
gitlab_update_project_issueUpdate issue fields (title, description, labels, state)Write

Merge Requests

ToolDescriptionMode
gitlab_get_project_merge_requestsList merge requestsRead
gitlab_get_project_merge_requestGet MR detailsRead
gitlab_get_merge_request_notesGet comments on an MRRead

Commits & Branches

ToolDescriptionMode
gitlab_list_repository_commitsList commits in a repositoryRead
gitlab_get_single_commitGet commit detailsRead
gitlab_get_repository_branchesList branchesRead
gitlab_create_repository_branchCreate a new branchWrite

Members

ToolDescriptionMode
gitlab_list_all_project_membersList all project membersRead
gitlab_import_project_membersImport members from one project to anotherWrite

User Status

ToolDescriptionMode
gitlab_get_user_statusGet current user's GitLab statusRead
gitlab_set_user_statusSet current user's status messageWrite

Code Examples

List project issues

clawlink_call_tool --tool "gitlab_list_project_issues" \
  --params '{
    "id": "owner/repo-name",
    "state": "opened",
    "per_page": 20
  }'

Create a new issue

clawlink_call_tool --tool "gitlab_create_project_issue" \
  --params '{
    "id": "owner/repo-name",
    "title": "Bug: Login fails on mobile",
    "description": "Steps to reproduce: 1. Go to login 2. Enter credentials 3. Error shown",
    "labels": ["bug", "priority::high"]
  }'

Create a new branch

clawlink_call_tool --tool "gitlab_create_repository_branch" \
  --params '{
    "id": "owner/repo-name",
    "branch": "feature/new-feature",
    "ref": "main"
  }'

List pipeline jobs

clawlink_call_tool --tool "gitlab_list_pipeline_jobs" \
  --params '{
    "id": "owner/repo-name",
    "pipeline_id": 123
  }'

Discovery Workflow

  1. Call clawlink_list_integrations to confirm GitLab is connected.
  2. Call clawlink_list_tools --integration gitlab to see the live catalog.
  3. Treat the returned list as the source of truth. Do not guess or assume what tools exist.
  4. If the user describes a capability but the exact tool is unclear, call clawlink_search_tools with a short query and integration gitlab.
  5. If no GitLab tools appear, direct the user to https://claw-link.dev/dashboard?add=gitlab.

Execution Workflow

┌─────────────────────────────────────────────────────────────┐
│  READ OPERATIONS (Safe)                                     │
│  list → get → search → describe → call                      │
│                                                             │
│  Example: List issues → Get issue → Show details            │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│  WRITE OPERATIONS (Require Confirmation)                    │
│  list → get → describe → preview → confirm → call           │
│                                                             │
│  Example: Describe tool → Preview issue → User approves     │
│           → Execute create                                   │
└─────────────────────────────────────────────────────────────┘
  1. For unfamiliar tools, ambiguous requests, or any write action, call clawlink_describe_tool first.
  2. Use the returned guidance, schema, whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.
  3. Prefer read, list, search, and get operations before writes when that reduces ambiguity.
  4. For writes or anything marked as requiring confirmation, call clawlink_preview_tool first.
  5. Execute with clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.
  6. If the tool call fails, report the real error. Do not invent results or restate the failure as a missing capability unless the live catalog supports that conclusion.

Notes

  • GitLab project IDs can be numeric (12345) or path-based (owner/repo-name).
  • GitLab uses scoped labels (bug, priority::high) rather than simple strings.
  • Merge request IIDs are different from issue IIDs — they are numbered separately.
  • Pipeline status values: pending, running, success, failed, canceled, skipped.

Error Handling

Status / ErrorMeaning
Tool not foundThe tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration gitlab.
Missing connectionGitLab is not connected. Direct the user to https://claw-link.dev/dashboard?add=gitlab.
404 Not FoundProject, issue, or MR does not exist. Verify the ID or path.
403 ForbiddenInsufficient permissions for the requested operation.
Write rejectedUser did not confirm a write action. Always confirm before executing writes.

Troubleshooting: Tools Not Visible

  1. Check that the ClawLink plugin is installed:
    openclaw plugins list
    
  2. If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
  3. If a fresh chat does not help, run:
    openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
    openclaw gateway restart
    
  4. After restart, tell the user to send /new again and retry.

Troubleshooting: Invalid Tool Call

  1. Ensure the integration slug is exactly gitlab.
  2. Use clawlink_describe_tool to verify parameter names and types before calling.
  3. For write operations, always call clawlink_preview_tool first.

Resources

Related Skills


Powered by ClawLink — an integration hub for OpenClaw

ClawLink Logo

Related skills

GitHub

@byungkyu

GitHub API integration with managed OAuth. Access repositories, issues, pull requests, commits, branches, and users. Use this skill when users want to interact with GitHub repositories, manage issues and PRs, search code, or automate workflows. For other third party apps, use the api-gateway skill (

4718k

Gitlab

@portavion

Interact with GitLab using the `glab` CLI. Use when Claude needs to work with GitLab merge requests, CI/CD pipelines, issues, releases, or make API requests. Supports gitlab.com and self-hosted instances.

94.2k

git

@ivangdavila

Commits, branches, merges, and rebases Git repositories, resolves conflicts, and recovers lost history. Use when the work touches a repo, commit, branch, merge, rebase, stash, tag, or submodule; when Git refuses a command — index.lock exists, push rejected as non-fast-forward, detached HEAD, dubious ownership, unrelated histories, conflict markers left behind; when something looks lost after a hard reset, a bad rebase, a deleted branch, or a dropped stash; when splitting a mixed change, wording commit messages, cleaning history before review, or force-pushing without wrecking a teammate's work; when a credential or a huge file got committed; when setting up worktrees, hooks, LFS, sparse checkout, signing, or separate work and personal identities. Not for CI pipeline YAML (github-actions, gitlab) or for composing the pull request description itself (pull-request).

3117k

Linear

@byungkyu

Linear API integration with managed OAuth. Query and manage issues, projects, teams, cycles, and labels using GraphQL. Use this skill when users want to create, update, or query Linear issues, search for tasks, manage projects, or track work. For other third party apps, use the api-gateway skill (ht

1814k

GitHub

@hith3sh

Work with GitHub repositories, issues, pull requests, commits, branches, releases, and workflows via the GitHub REST and GraphQL APIs. Use this skill when us...

325.8k

GitLab CLI Skills

@vince-winkintel

Comprehensive GitLab CLI (glab) command reference and workflows for all GitLab operations. Use when working with merge requests, CI/CD pipelines, issues, rel...

76.8k