Jay

GitLab

开发编程v1.0.5
作者:Jay更新于 2026-06-09共 5 个版本 · 最新版本发布于 2026-06-09gitlab-repos@clawhub_hith3sh/gitlab-repos
Git 辅助

据 AlphaMoat 统计,截至 2026-10,GitLab 累计下载 7,426 次、获 32 个星标,按累计下载量在本次参与排名的 10,914 个 AI 技能中排名第 3,775 位,在「开发编程」分类(1,069 个)中排名第 307 位。

列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。

累计下载
7,426
星标
32
全站下载量排名
#3,775
全站前 35% · 「开发编程」前 29%
平台累计下载星标评论
ClawHub ↗7,42632-
SkillHub ↗5,41732—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

通过 GitLab API 操作项目、议题、合并请求、提交、分支、流水线及分组,适用于用户需要列出项目等场景。

月度数据趋势

累计下载7,426
7454,3337,9212026-05 · 累计下载 1,2402026-06 · 累计下载 1,9232026-07 · 累计下载 6,8762026-08 · 累计下载 7,0692026-09 · 累计下载 7,2182026-10 · 累计下载 7,42626-0526-0926-10
星标32
419342026-05 · 星标 62026-06 · 星标 322026-07 · 星标 322026-08 · 星标 322026-09 · 星标 322026-10 · 星标 3226-0526-0926-10

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-107,426—32
2026-097,218—32
2026-087,069+2.8%32
2026-076,876+257.6%32
2026-061,923+55.1%32
2026-051,240—6

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-11-20。

13 KB · ClawHub v1.0.5
---
name: gitlab-repos
description: Work with GitLab projects, issues, merge requests, commits, branches, pipelines, and groups via the GitLab API. Use this skill when users want to list projects and groups, inspect issues and MRs, review commits and pipelines, create or update issues after confirmation, or manage project members and CI/CD pipelines in GitLab.
---

# GitLab

![GitLab](https://raw.githubusercontent.com/ClawLink-HQ/clawlink/main/public/images/brand-logos/gitlab.svg)

Access GitLab via the GitLab API with OAuth authentication. Manage projects, issues, merge requests, commits, branches, pipelines, and groups.
展开全部(共 311 行)

This skill uses [ClawLink](https://claw-link.dev/?utm_source=clawhub&utm_medium=referral&utm_content=gitlab-repos) for hosted connection flows and credentials so you do not need to configure GitLab API access yourself.

### Setup in 3 Steps

| Step 1: Install | Step 2: Pair Account | Step 3: Connect GitLab |
|:---:|:---:|:---:|
| ![Install](https://raw.githubusercontent.com/ClawLink-HQ/clawlink/main/public/images/pairing/initialstep_1.gif) | ![Pair](https://raw.githubusercontent.com/ClawLink-HQ/clawlink/main/public/images/approve_process.gif) | *App-specific connection GIF coming soon* |
| Run the install command in OpenClaw | Sign in and approve the device | Open 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.

```bash
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

```bash
# 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

```bash
clawlink_list_integrations
```

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

### Verify Connection

```bash
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

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

### Groups

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

### Issues

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

### Merge Requests

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

### Commits & Branches

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

### Members

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

### User Status

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

## Code Examples

### List project issues

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

### Create a new issue

```bash
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

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

### List pipeline jobs

```bash
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 / 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. |

### Troubleshooting: Tools Not Visible

1. Check that the ClawLink plugin is installed:
   ```bash
   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:
   ```bash
   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

- [GitLab API Documentation](https://docs.gitlab.com/api/)
- [GitLab REST API](https://docs.gitlab.com/api/rest.html)
- [ClawLink](https://claw-link.dev/?utm_source=clawhub&utm_medium=referral&utm_content=gitlab-repos)
- [ClawLink Docs](https://docs.claw-link.dev/openclaw)
- [ClawLink Verification](https://claw-link.dev/verify)

## Related Skills

- [GitHub Repos](https://clawhub.ai/hith3sh/github-repos) — For GitHub repository management
- [GitHub Triage](https://clawhub.ai/hith3sh/github-triage-workflow) — For GitHub issue triage workflows

---

**Powered by [ClawLink](https://claw-link.dev/?utm_source=clawhub&utm_medium=referral&utm_content=gitlab-repos)** — an integration hub for OpenClaw

![ClawLink Logo](https://raw.githubusercontent.com/ClawLink-HQ/clawlink/main/public/images/logo/link_logo_black_small.png)

「开发编程」分类下的热门技能

编程大神.Skill开发编程

【全栈能力】编程大神.Skill:面向复杂真实项目的高阶全栈编程助手。不止生成代码,而是从一句目标接手陌生代码库,拆解需求、补齐实现、追到根因、完成重构、联调前后端,并把结果推进到能运行、能验证、能交付。覆盖 Web、后端、脚本、iOS、安卓、鸿蒙 ArkUI、微信小程序及其他技术栈,支持中英文工程、疑难 Bug、跨模块任务和长任务续做;用构建、日志、真实入口、设备或接口证据说明结果。仅问概念时直接回答,要求落地时持续推进到验收或明确阻塞。

↓ 1125.9万★ 82u_42bbb65f
编程专家Pro.Skill开发编程

编程专家 Pro:融合编程专家 2.0.3 工程专题与编程大神的鸿蒙 ArkTS/ArkUI、微信小程序和小游戏开发资料。用于项目实现、根因调试、审查、重构、测试、架构性能分析及多端开发验证。支持自然语言和 @专题标识,按任务读取包内知识;只问概念时直接回答。

↓ 626.9万★ 32user_47d655f0
编程专家.Skill开发编程

编程专家.Skill P8级编程助手,25年实战经验技能Skill,全栈:Java/Php网站/软件项目、API设计、Bug诊断、代码生成、代码审查、重构、测试用例、性能基准、技术选型、文档生成、任务拆解、Spec驱动、Karpathy规范、CMS二次开发、前端设计、MySQL/Mariadb、项目知识图谱,以及工程纪律层(根因调试硬闭环、阶段导航、事故复盘/SLO、威胁建模/供应链安全、生产就绪/渐进式发布、AI编码治理、面向Agent代码可读性、LLM应用安全)。支持 @标识 显式调用跳过路由。

↓ 600.7万★ 378user_741dc82b
dev-expert开发编程

编程专家.Skill P8级编程助手,25年实战经验技能Skill,全栈:Java/Php网站/软件项目、API设计、Bug诊断、代码生成、代码审查、重构、测试用例、性能基准、技术选型、文档生成、任务拆解、Spec驱动、Karpathy规范、CMS二次开发、前端设计、MySQL/Mariadb、项目知识图谱,以及工程纪律层(根因调试硬闭环、阶段导航、事故复盘/SLO、威胁建模/供应链安全、生产就绪/渐进式发布、AI编码治理、面向Agent代码可读性、LLM应用安全)。支持 @标识 显式调用跳过路由。

↓ 528.1万★ 32user_814dbe54
dev-expert-pro开发编程

编程专家 Pro:融合编程专家 2.0.3 工程专题与编程大神的鸿蒙 ArkTS/ArkUI、微信小程序和小游戏开发资料。用于项目实现、根因调试、审查、重构、测试、架构性能分析及多端开发验证。支持自然语言和 @专题标识,按任务读取包内知识;只问概念时直接回答。

↓ 104.7万★ -user_814dbe54
编程专家 Pro开发编程

编程专家 Pro:融合编程专家 2.0.3 工程专题与编程大神的鸿蒙 ArkTS/ArkUI、微信小程序和小游戏开发资料。用于项目实现、根因调试、审查、重构、测试、架构性能分析及多端开发验证。支持自然语言和 @专题标识,按任务读取包内知识;只问概念时直接回答。

↓ 98.2万★ 1user_28275a78
编程专家.Skill开发编程

编程专家.Skill P8级编程助手,25年实战经验技能Skill,全栈:Java/Php网站/软件项目、API设计、Bug诊断、代码生成、代码审查、重构、测试用例、性能基准、技术选型、文档生成、任务拆解、Spec驱动、Karpathy规范、CMS二次开发、前端设计、MySQL/Mariadb、项目知识图谱,以及工程纪律层(根因调试硬闭环、阶段导航、事故复盘/SLO、威胁建模/供应链安全、生产就绪/渐进式发布、AI编码治理、面向Agent代码可读性、LLM应用安全)。支持 @标识 显式调用跳过路由。

↓ 70.1万★ 6user_613b33ea
Github开发编程

用 gh 命令行工具查看 GitHub 上的 PR 检查、工作流运行与 API 查询的技能。

↓ 48.0万★ 714Peter Steinberger

Jay 的其他技能

数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。