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.
| Step 1: Install | Step 2: Pair Account | Step 3: Connect GitLab |
|---|---|---|
| :---: | :---: | :---: |
| !Install | !Pair | App-specific connection GIF coming soon |
| Run the install command in OpenClaw | Sign in and approve the device | Open the dashboard and connect GitLab |
┌─────────────────┐ ┌──────────────┐ ┌──────────────────┐
│ 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 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."
# 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"}'
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.
clawlink_begin_pairing if it is not configured yet.clawlink_list_integrations to verify the connection is active.clawlink_list_integrations
Response: Returns all connected integrations. Look for gitlab in the list.
clawlink_list_tools --integration gitlab
Response: Returns the live tool catalog for GitLab.
If GitLab tools are missing or the connection shows an error:
clawlink_list_integrations to verifyclawlink_list_tools --integration gitlab| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
gitlab_get_projects | List all projects accessible to the authenticated user | Read |
gitlab_get_project | Get project details by ID or path | Read |
gitlab_create_project | Create a new project | Write |
gitlab_archive_project | Archive a project (read-only) | Write |
gitlab_delete_project | Delete a project permanently | Write |
gitlab_list_project_pipelines | List CI/CD pipelines for a project | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
gitlab_get_groups | List all groups | Read |
gitlab_get_group | Get group details | Read |
gitlab_create_group | Create a new group | Write |
gitlab_list_group_members | List direct members of a group | Read |
gitlab_list_all_group_members | List all members (direct, inherited, invited) | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
gitlab_list_project_issues | List issues with filtering (state, labels, assignee) | Read |
gitlab_get_project_issue | Get issue details | Read |
gitlab_create_project_issue | Create a new issue | Write |
gitlab_update_project_issue | Update issue fields (title, description, labels, state) | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
gitlab_get_project_merge_requests | List merge requests | Read |
gitlab_get_project_merge_request | Get MR details | Read |
gitlab_get_merge_request_notes | Get comments on an MR | Read |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
gitlab_list_repository_commits | List commits in a repository | Read |
gitlab_get_single_commit | Get commit details | Read |
gitlab_get_repository_branches | List branches | Read |
gitlab_create_repository_branch | Create a new branch | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
gitlab_list_all_project_members | List all project members | Read |
gitlab_import_project_members | Import members from one project to another | Write |
| Tool | Description | Mode |
|---|---|---|
| ------ | ------------- | ------ |
gitlab_get_user_status | Get current user's GitLab status | Read |
gitlab_set_user_status | Set current user's status message | Write |
clawlink_call_tool --tool "gitlab_list_project_issues" \
--params '{
"id": "owner/repo-name",
"state": "opened",
"per_page": 20
}'
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"]
}'
clawlink_call_tool --tool "gitlab_create_repository_branch" \
--params '{
"id": "owner/repo-name",
"branch": "feature/new-feature",
"ref": "main"
}'
clawlink_call_tool --tool "gitlab_list_pipeline_jobs" \
--params '{
"id": "owner/repo-name",
"pipeline_id": 123
}'
clawlink_list_integrations to confirm GitLab is connected.clawlink_list_tools --integration gitlab to see the live catalog.clawlink_search_tools with a short query and integration gitlab.┌─────────────────────────────────────────────────────────────┐
│ 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 │
└─────────────────────────────────────────────────────────────┘
clawlink_describe_tool first.whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.clawlink_preview_tool first.clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.12345) or path-based (owner/repo-name).bug, priority::high) rather than simple strings.pending, running, success, failed, canceled, skipped.| Status / Error | Meaning |
|---|---|
| ---------------- | --------- |
| Tool not found | The tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration gitlab. |
| Missing connection | GitLab is not connected. Direct the user to https://claw-link.dev/dashboard?add=gitlab. |
404 Not Found | Project, issue, or MR does not exist. Verify the ID or path. |
403 Forbidden | Insufficient permissions for the requested operation. |
| Write rejected | User did not confirm a write action. Always confirm before executing writes. |
```bash
openclaw plugins list
```
/new as a standalone message to reload the catalog.```bash
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart
```
/new again and retry.gitlab.clawlink_describe_tool to verify parameter names and types before calling.clawlink_preview_tool first.Powered by ClawLink — an integration hub for OpenClaw
共 2 个版本