把自然语言描述转为结构化 JSON,并由 mcp-diagram-generator MCP 服务生成 Draw.io、Mermaid 或 Excalidraw 图表文件。
集成
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...
它能做什么
Access GitLab via the GitLab API with OAuth authentication. Manage projects, issues, merge requests, commits, branches, pipelines, and groups.
技能文档
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: 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 |
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
- Install the ClawLink plugin (see Install above).
- Pair the plugin with
clawlink_begin_pairingif it is not configured yet. - Open https://claw-link.dev/dashboard?add=gitlab and connect GitLab.
- Call
clawlink_list_integrationsto 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:
- Direct the user to https://claw-link.dev/dashboard?add=gitlab
- After they confirm, call
clawlink_list_integrationsto verify - 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
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
- Call
clawlink_list_integrationsto confirm GitLab is connected. - Call
clawlink_list_tools --integration gitlabto see the live catalog. - Treat the returned list as the source of truth. Do not guess or assume what tools exist.
- If the user describes a capability but the exact tool is unclear, call
clawlink_search_toolswith a short query and integrationgitlab. - 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 │
└─────────────────────────────────────────────────────────────┘
- For unfamiliar tools, ambiguous requests, or any write action, call
clawlink_describe_toolfirst. - Use the returned guidance, schema,
whenToUse,askBefore,safeDefaults,examples, andfollowupsto shape the call. - Prefer read, list, search, and get operations before writes when that reduces ambiguity.
- For writes or anything marked as requiring confirmation, call
clawlink_preview_toolfirst. - Execute with
clawlink_call_tool. Pass confirmation only after the preview matches the user's intent. - 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
- Check that the ClawLink plugin is installed:
openclaw plugins list - If the plugin is installed but tools are missing, tell the user to send
/newas a standalone message to reload the catalog. - If a fresh chat does not help, run:
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json openclaw gateway restart - After restart, tell the user to send
/newagain and retry.
Troubleshooting: Invalid Tool Call
- Ensure the integration slug is exactly
gitlab. - Use
clawlink_describe_toolto verify parameter names and types before calling. - For write operations, always call
clawlink_preview_toolfirst.
Resources
Related Skills
- GitHub Repos — For GitHub repository management
- GitHub Triage — For GitHub issue triage workflows
Powered by ClawLink — an integration hub for OpenClaw
ClawLink Logo
相关技能
执行 Git 操作(提交、分支、合并、变基、冲突解决与恢复)时强制套用安全规则。
在本地磁盘以分类纯 Markdown 文件保存需要长期留存的事实,与智能体内置记忆并存。
诊断生产力系统反复失效的根因,给出最小干预——容量测算、瓶颈定位、可靠的本地记录。
以 AI 机器人身份加入视频会议,提供语音、虚拟形象与屏幕共享四种模式。
从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。
hith3sh 的更多技能
浏览全部技能通过 OAuth 认证调用 Google 日历 REST 接口,读写日程与可用时间。
Manage Facebook Pages, posts, comments, messages, and insights via the Facebook Graph API. Use this skill when users want to post content, read engagement metrics, moderate comments, or automate Facebook Page workflows from chat.
Manage Instagram Business and Creator accounts via the Instagram Graph API. Publish posts and carousels, retrieve media and insights, moderate comments, send DMs, and manage story content. Use this skill when users want to manage Instagram content, analyze engagement, or automate social media workflows.
Manage LinkedIn presence via the LinkedIn API. Create posts and articles, manage comments, handle media uploads, search ad targeting entities, and retrieve user profile and image data.
Manage Reddit posts, comments, subreddits, users, moderation, and community workflows via the Reddit API. Use when users want to search subreddits, inspect posts, submit content, manage comments, or automate moderation actions.
Work with GitHub repositories, issues, pull requests, commits, branches, releases, and workflows via the GitHub REST and GraphQL APIs. Use this skill when us...