
gitlab-automation
Automate GitLab project management, issues, merge requests, pipelines, branches, and user operations via Rube MCP (Composio). Always search tools first for current schemas.
- Installs
- 93
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/composiohq/awesome-claude-skills --skill gitlab-automation- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads gitlab-automation automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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.
Toolkit docs: composio.dev/toolkits/gitlab
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active GitLab connection via
RUBE_MANAGE_CONNECTIONSwith toolkitgitlab - Always call
RUBE_SEARCH_TOOLSfirst 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.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLSresponds - Call
RUBE_MANAGE_CONNECTIONSwith toolkitgitlab - If connection is not ACTIVE, follow the returned auth link to complete GitLab OAuth
- 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:
GITLAB_GET_PROJECTS- Find the target project and get its ID [Prerequisite]GITLAB_LIST_PROJECT_ISSUES- List and filter issues for a project [Required]GITLAB_CREATE_PROJECT_ISSUE- Create a new issue [Required for create]GITLAB_UPDATE_PROJECT_ISSUE- Update an existing issue (title, labels, state, assignees) [Required for update]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 allstate: Filter by"all","opened", or"closed"state_event:"close"or"reopen"to change issue stateassignee_ids: Array of user IDs; use[0]to unassign allissue_iid: Internal issue ID within the project (required for updates)milestone: Filter by milestone titlesearch: Search in title and descriptionscope:"created_by_me","assigned_to_me", or"all"page/per_page: Pagination (default per_page: 20)
Pitfalls:
idaccepts either integer project ID or URL-encoded path; wrong IDs yield 4xx errorsissue_iidis the project-internal ID (shown as #42), different from the global issue ID- Labels in
labelsfield replace ALL existing labels; useadd_labels/remove_labelsfor incremental changes - Setting
assignee_idsto empty array does NOT unassign; use[0]instead updated_atfield 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:
GITLAB_GET_PROJECT- Get project details and verify access [Prerequisite]GITLAB_GET_PROJECT_MERGE_REQUESTS- List and filter merge requests [Required]GITLAB_GET_REPOSITORY_BRANCHES- Verify source/target branches [Optional]GITLAB_LIST_ALL_PROJECT_MEMBERS- Find reviewers/assignees [Optional]
Key parameters:
id: Project ID or URL-encoded pathstate:"opened","closed","locked","merged", or"all"scope:"created_by_me"(default),"assigned_to_me", or"all"source_branch/target_branch: Filter by branch namesauthor_id/author_username: Filter by MR authorassignee_id: Filter by assignee (useNonefor unassigned,Anyfor assigned)reviewer_id/reviewer_username: Filter by reviewerlabels: Comma-separated label filtersearch: Search in title and descriptionwip:"yes"for draft MRs,"no"for non-draftorder_by:"created_at"(default),"title","merged_at","updated_at"view:"simple"for minimal fieldsiids[]: Filter by specific MR internal IDs
Pitfalls:
- Default
scopeis"created_by_me"which limits results; use"all"for complete listings author_idandauthor_usernameare mutually exclusivereviewer_idandreviewer_usernameare mutually exclusiveapprovedfilter requires themr_approved_filterfeature flag (disabled by default)- Large MR histories can be noisy; use filters and moderate
per_pagevalues
3. Manage Projects and Repositories
When to use: User wants to list projects, create new projects, or manage branches
Tool sequence:
GITLAB_GET_PROJECTS- List all accessible projects with filters [Required]GITLAB_GET_PROJECT- Get detailed info for a specific project [Optional]GITLAB_LIST_USER_PROJECTS- List projects owned by a specific user [Optional]GITLAB_CREATE_PROJECT- Create a new project [Required for create]GITLAB_GET_REPOSITORY_BRANCHES- List branches in a project [Required for branch ops]GITLAB_CREATE_REPOSITORY_BRANCH- Create a new branch [Optional]GITLAB_GET_REPOSITORY_BRANCH- Get details of a specific branch [Optional]GITLAB_LIST_REPOSITORY_COMMITS- View commit history [Optional]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 placementsearch: Case-insensitive substring search for projectsmembership:trueto limit to projects user is a member ofowned:trueto limit to user-owned projectsproject_id: Project ID for branch operationsbranch_name: Name for new branchref: Source branch or commit SHA for new branch creationorder_by:"id","name","path","created_at","updated_at","star_count","last_activity_at"
Pitfalls:
GITLAB_GET_PROJECTSpagination 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 withGITLAB_GET_PROJECTfirst - Invalid
branch_name/ref/shacauses client errors; verify branch existence viaGITLAB_GET_REPOSITORY_BRANCHESfirst - Both
nameandpathare required forGITLAB_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:
GITLAB_GET_PROJECT- Verify project access [Prerequisite]GITLAB_LIST_PROJECT_PIPELINES- List pipelines with filters [Required]GITLAB_GET_SINGLE_PIPELINE- Get detailed info for a specific pipeline [Optional]GITLAB_LIST_PIPELINE_JOBS- List jobs within a pipeline [Optional]
Key parameters:
id: Project ID or URL-encoded pathstatus: 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 namesha: Specific commit SHAsource: 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 filterspipeline_id: Specific pipeline ID for job listinginclude_retried:trueto include retried jobs (defaultfalse)
Pitfalls:
- Large pipeline histories can be noisy; use
status,ref, and date filters to narrow results - Use moderate
per_pagevalues to keep output manageable - Pipeline job
scopeaccepts single status string or array of statuses yaml_errors: truereturns 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:
GITLAB_GET_USERS- Search and list GitLab users [Required]GITLAB_GET_USER- Get details for a specific user by ID [Optional]GITLAB_GET_USERS_ID_STATUS- Get user status message and availability [Optional]GITLAB_LIST_ALL_PROJECT_MEMBERS- List all project members (direct + inherited) [Required for member listing]GITLAB_LIST_PROJECT_USERS- List project users with search filter [Optional]
Key parameters:
search: Search by name, username, or public emailusername: Get specific user by usernameactive/blocked: Filter by user stateid: Project ID for member listingquery: Filter members by name, email, or usernamestate: 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_MEMBERSincludes 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_iidis the project-internal number (#42); the globalidis different - User ID: Numeric; resolve via
GITLAB_GET_USERSwithsearchorusername
Pagination
GitLab uses offset-based pagination:
- Set
page(starting at 1) andper_page(1-100, default 20) - Continue incrementing
pageuntil response returns fewer items thanper_pageor 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-projectbecomesmy-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
idfield accepts both integer and string (URL-encoded path) - Issue
issue_iidis 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_pagevalues
Parameter Quirks
labelsfield replaces ALL labels; useadd_labels/remove_labelsfor incremental changesassignee_ids: [0]unassigns all; empty array does nothingscopedefaults vary:"created_by_me"for MRs,"all"for issuesauthor_idandauthor_usernameare 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, memberstatefilter - Admin-only features: user management filters,
updated_atoverride, custom attributes - The
mr_approved_filterfeature flag is disabled by default
Quick Reference
| Task | Tool Slug | Key Params |
|---|---|---|
| List projects | GITLAB_GET_PROJECTS | search, membership, visibility |
| Get project details | GITLAB_GET_PROJECT | id |
| User's projects | GITLAB_LIST_USER_PROJECTS | id, search, owned |
| Create project | GITLAB_CREATE_PROJECT | name, path, visibility |
| List issues | GITLAB_LIST_PROJECT_ISSUES | id, state, labels, search |
| Create issue | GITLAB_CREATE_PROJECT_ISSUE | id, title, description, labels |
| Update issue | GITLAB_UPDATE_PROJECT_ISSUE | id, issue_iid, state_event |
| List merge requests | GITLAB_GET_PROJECT_MERGE_REQUESTS | id, state, scope, labels |
| List branches | GITLAB_GET_REPOSITORY_BRANCHES | project_id, search |
| Get branch | GITLAB_GET_REPOSITORY_BRANCH | project_id, branch_name |
| Create branch | GITLAB_CREATE_REPOSITORY_BRANCH | project_id, branch_name, ref |
| List commits | GITLAB_LIST_REPOSITORY_COMMITS | project ID, branch ref |
| Project languages | GITLAB_GET_PROJECT_LANGUAGES | project ID |
| List pipelines | GITLAB_LIST_PROJECT_PIPELINES | id, status, ref |
| Get pipeline | GITLAB_GET_SINGLE_PIPELINE | project_id, pipeline_id |
| List pipeline jobs | GITLAB_LIST_PIPELINE_JOBS | id, pipeline_id, scope |
| Search users | GITLAB_GET_USERS | search, username, active |
| Get user | GITLAB_GET_USER | user ID |
| User status | GITLAB_GET_USERS_ID_STATUS | user ID |
| List project members | GITLAB_LIST_ALL_PROJECT_MEMBERS | id, query, state |
| List project users | GITLAB_LIST_PROJECT_USERS | id, search |
Powered by Composio
FAQ
What does the gitlab-automation skill do?
Automate GitLab project management, issues, merge requests, pipelines, branches, and user operations via Rube MCP (Composio). Always search tools first for current schemas.
How do I install gitlab-automation?
Run npx skills add https://github.com/composiohq/awesome-claude-skills --skill gitlab-automation in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/gitlab-automation/ (personal) or .claude/skills/gitlab-automation/ (project).
Which AI agents can use gitlab-automation?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is gitlab-automation safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains gitlab-automation?
It is published by composiohq in composiohq/awesome-claude-skills. It has 93 recorded installs.
More from composiohq/awesome-claude-skills
tailored-resume-generator
composiohq/awesome-claude-skills
Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances
content-research-writer
composiohq/awesome-claude-skills
Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.
changelog-generator
composiohq/awesome-claude-skills
Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.
file-organizer
composiohq/awesome-claude-skills
Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.
youtube-downloader
composiohq/awesome-claude-skills
Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.
competitive-ads-extractor
composiohq/awesome-claude-skills
Extracts and analyzes competitors' ads from ad libraries (Facebook, LinkedIn, etc.) to understand what messaging, problems, and creative approaches are working. Helps inspire and improve your own ad campaigns.
Popular productivity & automation skills
agent-browser
vercel-labs/agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
lark-doc
open.feishu.cn
飞书云文档(Docx / Wiki)内容操作:读取、创建、编辑文档,插入或下载图片附件,以及操作思维笔记。用户提供文档 URL/token(包括 doubao.com 的 /docx/、/wiki/)时使用;按 URL 路径/token 而非域名路由;/page/ 是妙搭应用,非飞书云文档。文档内嵌资源按读取参考中的统一规则分流。独立评论操作走 lark-drive;随正文读取评论使用 docs +fetch。表格或 Base 内部数据操作不在本 skill。
lark-base
open.feishu.cn
飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限、模板中心(多维表格模板分类/列表/搜索);遇到 Base/多维表格/bitable、BaseApp/AppMode、/base/ 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入/导出转 lark-drive,认证/授权转 lark-shared。
lark-drive
open.feishu.cn
飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、查询权限设置、评论/权限/订阅、标题、版本、飞书文档密级标签(secure labels)和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、判断链接类型/真实 token/标题,或导入 Word/Markdown/Excel/CSV/PPTX/.base 为 docx/sheet/bitable/slides 时使用;doubao.com 云空间 URL/token 也按资源路径和 token 路由,不回退 WebFetch。不负责:文档内容编辑(走 lark-doc)、表格/Base 表内数据操作(走 lark-sheets/lark-base)、知识空间节点/成员管理(走 lark-wiki)、原生 Markdown 文件读写/patch/diff(走 lark-markdown)。
lark-shared
open.feishu.cn
Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling notice JSON.
lark-im
open.feishu.cn
飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。