Token导航 LogoToken导航

Agent Skill · 研究检索

gitlab-automation(GitLab 自动化)

用于围绕 GitLab 项目、Merge Request、Issue、分支、流水线和代码审查流程提供辅助能力。它适合让 Agent 查询项目状态、整理提交差异、辅助检查合并请求或汇总 CI 结果。使用时需要确认项目权限、访问 token 和目标分支范围;涉及合并、推送、改工单或触发流水线时,应先预览影响并核对团队流程。

gitlab-automation 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 48,992。

总安装 667周安装 27GitHub Stars 52下载 210核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gitlab-automation(GitLab 自动化)
来源仓库:https://github.com/aaaaqwq/claude-code-skills
仓库路径:skills/gitlab-automation
安装命令:
npx skills add https://github.com/aaaaqwq/claude-code-skills --skill gitlab-automation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/aaaaqwq/claude-code-skills --skill gitlab-automation

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于围绕 GitLab 项目、Merge Request、Issue 等流程提供辅助能力。适合查询项目状态、整理提交差异、辅助检查合并请求或汇总 CI 结果。使用时需确认项目权限和访问 token,涉及合并或改工单应预览影响。安装方式:通过 npx 从指定 GitHub 仓库添加技能。

建议在使用前核对团队流程和目标分支范围。

来源仓库内路径:skills/gitlab-automation

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/aaaaqwq/claude-code-skills --skill gitlab-auto…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

gitlab-automation 怎么安装?

在终端执行 npx skills add https://github.com/aaaaqwq/claude-code-skills --skill gitlab-automation。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

gitlab-automation 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

gitlab-automation 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

gitlab-automation 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

gitlab-automation 用的人多吗?

公开数据是累计安装 667 次,近一周安装 27 次,下载 210 次,GitHub 52 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

gitlab-automation 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
gitlab-automation

GitLab 自动化 · 本页

66752调用外部服务未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

GitLab Automation via Rube MCP

Automate GitLab operations including project management, issue tracking, merge request workflows, CI/CD pipeline monitoring, branch management, and user administration through Composio's GitLab toolkit.

Prerequisites

  • Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
  • Active GitLab connection via RUBE_MANAGE_CONNECTIONS with toolkit gitlab
  • Always call RUBE_SEARCH_TOOLS first to get current tool schemas

Setup

Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit gitlab
  3. If connection is not ACTIVE, follow the returned auth link to complete GitLab OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Manage Issues

When to use: User wants to create, update, list, or search issues in a GitLab project

Tool sequence:

  1. GITLAB_GET_PROJECTS - Find the target project and get its ID [Prerequisite]
  2. GITLAB_LIST_PROJECT_ISSUES - List and filter issues for a project [Required]
  3. GITLAB_CREATE_PROJECT_ISSUE - Create a new issue [Required for create]
  4. GITLAB_UPDATE_PROJECT_ISSUE - Update an existing issue (title, labels, state, assignees) [Required for update]
  5. GITLAB_LIST_PROJECT_USERS - Find user IDs for assignment [Optional]

Key parameters:

  • id: Project ID (integer) or URL-encoded path (e.g., "my-group/my-project")
  • title: Issue title (required for creation)
  • description: Issue body text (max 1,048,576 characters)
  • labels: Comma-separated label names (e.g., "bug,critical")
  • add_labels / remove_labels: Add or remove labels without replacing all
  • state: Filter by "all", "opened", or "closed"
  • state_event: "close" or "reopen" to change issue state
  • assignee_ids: Array of user IDs; use [0] to unassign all
  • issue_iid: Internal issue ID within the project (required for updates)
  • milestone: Filter by milestone title
  • search: Search in title and description
  • scope: "created_by_me", "assigned_to_me", or "all"
  • page / per_page: Pagination (default per_page: 20)

Pitfalls:

  • id accepts either integer project ID or URL-encoded path; wrong IDs yield 4xx errors
  • issue_iid is the project-internal ID (shown as #42), different from the global issue ID
  • Labels in labels field replace ALL existing labels; use add_labels/remove_labels for incremental changes
  • Setting assignee_ids to empty array does NOT unassign; use [0] instead
  • updated_at field requires administrator or project/group owner rights

2. Manage Merge Requests

When to use: User wants to list, filter, or review merge requests in a project

Tool sequence:

  1. GITLAB_GET_PROJECT - Get project details and verify access [Prerequisite]
  2. GITLAB_GET_PROJECT_MERGE_REQUESTS - List and filter merge requests [Required]
  3. GITLAB_GET_REPOSITORY_BRANCHES - Verify source/target branches [Optional]
  4. GITLAB_LIST_ALL_PROJECT_MEMBERS - Find reviewers/assignees [Optional]

Key parameters:

  • id: Project ID or URL-encoded path
  • state: "opened", "closed", "locked", "merged", or "all"
  • scope: "created_by_me" (default), "assigned_to_me", or "all"
  • source_branch / target_branch: Filter by branch names
  • author_id / author_username: Filter by MR author
  • assignee_id: Filter by assignee (use None for unassigned, Any for assigned)
  • reviewer_id / reviewer_username: Filter by reviewer
  • labels: Comma-separated label filter
  • search: Search in title and description
  • wip: "yes" for draft MRs, "no" for non-draft
  • order_by: "created_at" (default), "title", "merged_at", "updated_at"
  • view: "simple" for minimal fields
  • iids[]: Filter by specific MR internal IDs

Pitfalls:

  • Default scope is "created_by_me" which limits results; use "all" for complete listings
  • author_id and author_username are mutually exclusive
  • reviewer_id and reviewer_username are mutually exclusive
  • approved filter requires the mr_approved_filter feature flag (disabled by default)
  • Large MR histories can be noisy; use filters and moderate per_page values

3. Manage Projects and Repositories

When to use: User wants to list projects, create new projects, or manage branches

Tool sequence:

  1. GITLAB_GET_PROJECTS - List all accessible projects with filters [Required]
  2. GITLAB_GET_PROJECT - Get detailed info for a specific project [Optional]
  3. GITLAB_LIST_USER_PROJECTS - List projects owned by a specific user [Optional]
  4. GITLAB_CREATE_PROJECT - Create a new project [Required for create]
  5. GITLAB_GET_REPOSITORY_BRANCHES - List branches in a project [Required for branch ops]
  6. GITLAB_CREATE_REPOSITORY_BRANCH - Create a new branch [Optional]
  7. GITLAB_GET_REPOSITORY_BRANCH - Get details of a specific branch [Optional]
  8. GITLAB_LIST_REPOSITORY_COMMITS - View commit history [Optional]
  9. GITLAB_GET_PROJECT_LANGUAGES - Get language breakdown [Optional]

Key parameters:

  • name / path: Project name and URL-friendly path (both required for creation)
  • visibility: "private", "internal", or "public"
  • namespace_id: Group or user ID for project placement
  • search: Case-insensitive substring search for projects
  • membership: true to limit to projects user is a member of
  • owned: true to limit to user-owned projects
  • project_id: Project ID for branch operations
  • branch_name: Name for new branch
  • ref: Source branch or commit SHA for new branch creation
  • order_by: "id", "name", "path", "created_at", "updated_at", "star_count", "last_activity_at"

Pitfalls:

  • GITLAB_GET_PROJECTS pagination is required for complete coverage; stopping at first page misses projects
  • Some responses place items under data.details; parse the actual returned list structure
  • Most follow-up calls depend on correct project_id; verify with GITLAB_GET_PROJECT first
  • Invalid branch_name/ref/sha causes client errors; verify branch existence via GITLAB_GET_REPOSITORY_BRANCHES first
  • Both name and path are required for GITLAB_CREATE_PROJECT

4. Monitor CI/CD Pipelines

When to use: User wants to check pipeline status, list jobs, or monitor CI/CD runs

Tool sequence:

  1. GITLAB_GET_PROJECT - Verify project access [Prerequisite]
  2. GITLAB_LIST_PROJECT_PIPELINES - List pipelines with filters [Required]
  3. GITLAB_GET_SINGLE_PIPELINE - Get detailed info for a specific pipeline [Optional]
  4. GITLAB_LIST_PIPELINE_JOBS - List jobs within a pipeline [Optional]

Key parameters:

  • id: Project ID or URL-encoded path
  • status: Filter by "created", "waiting_for_resource", "preparing", "pending", "running", "success", "failed", "canceled", "skipped", "manual", "scheduled"
  • scope: "running", "pending", "finished", "branches", "tags"
  • ref: Branch or tag name
  • sha: Specific commit SHA
  • source: Pipeline source (use "parent_pipeline" for child pipelines)
  • order_by: "id" (default), "status", "ref", "updated_at", "user_id"
  • created_after / created_before: ISO 8601 date filters
  • pipeline_id: Specific pipeline ID for job listing
  • include_retried: true to include retried jobs (default false)

Pitfalls:

  • Large pipeline histories can be noisy; use status, ref, and date filters to narrow results
  • Use moderate per_page values to keep output manageable
  • Pipeline job scope accepts single status string or array of statuses
  • yaml_errors: true returns only pipelines with invalid configurations

5. Manage Users and Members

When to use: User wants to find users, list project members, or check user status

Tool sequence:

  1. GITLAB_GET_USERS - Search and list GitLab users [Required]
  2. GITLAB_GET_USER - Get details for a specific user by ID [Optional]
  3. GITLAB_GET_USERS_ID_STATUS - Get user status message and availability [Optional]
  4. GITLAB_LIST_ALL_PROJECT_MEMBERS - List all project members (direct + inherited) [Required for member listing]
  5. GITLAB_LIST_PROJECT_USERS - List project users with search filter [Optional]

Key parameters:

  • search: Search by name, username, or public email
  • username: Get specific user by username
  • active / blocked: Filter by user state
  • id: Project ID for member listing
  • query: Filter members by name, email, or username
  • state: Filter members by "awaiting" or "active" (Premium/Ultimate)
  • user_ids: Filter by specific user IDs

Pitfalls:

  • Many user filters (admins, auditors, extern_uid, two_factor) are admin-only
  • GITLAB_LIST_ALL_PROJECT_MEMBERS includes direct, inherited, and invited members
  • User search is case-insensitive but may not match partial email domains
  • Premium/Ultimate features (state filter, seat info) are not available on free plans

Common Patterns

ID Resolution

GitLab uses two identifier formats for projects:

  • Numeric ID: Integer project ID (e.g., 123)
  • URL-encoded path: Namespace/project format (e.g., "my-group%2Fmy-project" or "my-group/my-project")
  • Issue IID vs ID: issue_iid is the project-internal number (#42); the global id is different
  • User ID: Numeric; resolve via GITLAB_GET_USERS with search or username

Pagination

GitLab uses offset-based pagination:

  • Set page (starting at 1) and per_page (1-100, default 20)
  • Continue incrementing page until response returns fewer items than per_page or is empty
  • Total count may be available in response headers (X-Total, X-Total-Pages)
  • Always paginate to completion for accurate results

URL-Encoded Paths

When using project paths as identifiers:

  • Forward slashes must be URL-encoded: my-group/my-project becomes my-group%2Fmy-project
  • Some tools accept unencoded paths; check schema for each tool
  • Prefer numeric IDs when available for reliability

Known Pitfalls

ID Formats

  • Project id field accepts both integer and string (URL-encoded path)
  • Issue issue_iid is project-scoped; do not confuse with global issue ID
  • Pipeline IDs are project-scoped integers
  • User IDs are global integers across the GitLab instance

Rate Limits

  • GitLab has per-user rate limits (typically 300-2000 requests/minute depending on plan)
  • Large pipeline/issue histories should use date and status filters to reduce result sets
  • Paginate responsibly with moderate per_page values

Parameter Quirks

  • labels field replaces ALL labels; use add_labels/remove_labels for incremental changes
  • assignee_ids: [0] unassigns all; empty array does nothing
  • scope defaults vary: "created_by_me" for MRs, "all" for issues
  • author_id and author_username are mutually exclusive in MR filters
  • Date parameters use ISO 8601 format: "2024-01-15T10:30:00Z"

Plan Restrictions

  • Some features require Premium/Ultimate: epic_id, weight, iteration_id, approved_by_ids, member state filter
  • Admin-only features: user management filters, updated_at override, custom attributes
  • The mr_approved_filter feature flag is disabled by default

Quick Reference

TaskTool SlugKey Params
List projectsGITLAB_GET_PROJECTSsearch, membership, visibility
Get project detailsGITLAB_GET_PROJECTid
User's projectsGITLAB_LIST_USER_PROJECTSid, search, owned
Create projectGITLAB_CREATE_PROJECTname, path, visibility
List issuesGITLAB_LIST_PROJECT_ISSUESid, state, labels, search
Create issueGITLAB_CREATE_PROJECT_ISSUEid, title, description, labels
Update issueGITLAB_UPDATE_PROJECT_ISSUEid, issue_iid, state_event
List merge requestsGITLAB_GET_PROJECT_MERGE_REQUESTSid, state, scope, labels
List branchesGITLAB_GET_REPOSITORY_BRANCHESproject_id, search
Get branchGITLAB_GET_REPOSITORY_BRANCHproject_id, branch_name
Create branchGITLAB_CREATE_REPOSITORY_BRANCHproject_id, branch_name, ref
List commitsGITLAB_LIST_REPOSITORY_COMMITSproject ID, branch ref
Project languagesGITLAB_GET_PROJECT_LANGUAGESproject ID
List pipelinesGITLAB_LIST_PROJECT_PIPELINESid, status, ref
Get pipelineGITLAB_GET_SINGLE_PIPELINEproject_id, pipeline_id
List pipeline jobsGITLAB_LIST_PIPELINE_JOBSid, pipeline_id, scope
Search usersGITLAB_GET_USERSsearch, username, active
Get userGITLAB_GET_USERuser ID
User statusGITLAB_GET_USERS_ID_STATUSuser ID
List project membersGITLAB_LIST_ALL_PROJECT_MEMBERSid, query, state
List project usersGITLAB_LIST_PROJECT_USERSid, search

平台分布

Codex

36.63%
按下载量换算77

Claude

26.12%
按下载量换算55

Cursor

17.47%
按下载量换算37

Gemini CLI

9.84%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills