Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

gitlab-api-clientGitLab API client 搜索

Agent Skill

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

总安装

3,721

周安装

152

GitHub Stars

公开资料未说明

下载量

1,204
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:gitlab-api-client(GitLab API client 搜索)
来源仓库:https://github.com/jonasgao/gitlab-api-client
安装命令:
openclaw skills install gitlab-api-client
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install gitlab-api-client

简介

与 GitLab API 交互,管理项目、MR、Issue、流水线等资源。

  • 适用于自动化部署、状态查询与团队协作流程集成。
  • 通过 clawhub 安装,需配置 GitLab 私钥或 PAT 令牌进行认证。
  • 涉及写操作时应先验证权限范围,避免越权修改关键分支。
  • gitlab-api-client 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
gitlab
description
Interact with GitLab API for managing projects, issues, merge requests, branches, pipelines, users, groups, and more. Use when the user needs to perform GitLab operations like creating issues, reviewing merge requests, managing branches, or querying project data via the GitLab REST API.
allowed-tools
Bash(gitlab-client:*)

GitLab API Skill

Node.js client for the GitLab REST API (v4). Reads config from ./.env.

Security Rules

  • NEVER read, cat, print, grep, or expose the GITLAB_TOKEN value.
  • NEVER use curl, wget, or any tool to call GitLab API directly. All access MUST go through gitlab-client.
  • AI may read/write .env to manage GITLAB_URL, but GITLAB_TOKEN must be set by the user manually.

Setup

Requires ./.env with:

GITLAB_URL=https://gitlab.fullnine.com.cn
GITLAB_TOKEN=<your-personal-access-token>

If token is missing, prompt the user to edit ./.env and create a token at <GITLAB_URL>/-/profile/personal_access_tokens (scope: api).

Install (first time): source ~/.nvm/nvm.sh && npm install

Quick Start

gitlab-client users me                                    # Current user
gitlab-client projects list --owned                       # My projects
gitlab-client issues list --project 42 --state opened     # Project issues
gitlab-client mrs create --project 42 --source-branch feat --target-branch main --title "My MR"

Commands Reference

Format: gitlab-client <resource> <action> [id] [--key value ...]

All list actions support --page N --per-page N (default 20, max 100).

Projects

ActionUsageOptions
listprojects list--search --owned --membership --visibility
getprojects get <id>
searchprojects search "term"
createprojects create --name "name"--description --visibility --namespace-id --initialize-with-readme
editprojects edit <id>--name --description --visibility
deleteprojects delete <id>
forkprojects fork <id>--namespace
membersprojects members <id>
hooksprojects hooks <id>

Issues

ActionUsageOptions
listissues list --project <id>--state --labels --milestone --assignee-id --search
getissues get --project <id> --iid <iid>
createissues create --project <id> --title "T"--description --labels --assignee-ids --milestone-id --due-date --confidential
editissues edit --project <id> --iid <iid>--title --description --state-event --labels --assignee-ids
closeissues close --project <id> --iid <iid>
reopenissues reopen --project <id> --iid <iid>
deleteissues delete --project <id> --iid <iid>
notesissues notes --project <id> --iid <iid>
add-noteissues add-note --project <id> --iid <iid> --body "text"

Merge Requests

ActionUsageOptions
listmrs list --project <id>--state --labels --milestone --source-branch --target-branch --search
getmrs get --project <id> --iid <iid>
createmrs create --project <id> --source-branch "src" --target-branch "tgt" --title "T"--description --assignee-id --reviewer-ids --labels --milestone-id --remove-source-branch --squash
editmrs edit --project <id> --iid <iid>--title --description --state-event --labels --assignee-id
mergemrs merge --project <id> --iid <iid>--merge-commit-message --squash --should-remove-source-branch
changesmrs changes --project <id> --iid <iid>
commitsmrs commits --project <id> --iid <iid>
notesmrs notes --project <id> --iid <iid>
add-notemrs add-note --project <id> --iid <iid> --body "text"
approvemrs approve --project <id> --iid <iid>
pipelinesmrs pipelines --project <id> --iid <iid>

Branches

ActionUsageOptions
listbranches list --project <id>--search
getbranches get --project <id> --branch "name"
createbranches create --project <id> --branch "name" --ref "main"
deletebranches delete --project <id> --branch "name"
delete-mergedbranches delete-merged --project <id>

Commits

ActionUsageOptions
listcommits list --project <id>--ref-name --since --until --path
getcommits get --project <id> --sha "abc123"
diffcommits diff --project <id> --sha "abc123"
commentscommits comments --project <id> --sha "abc123"
add-commentcommits add-comment --project <id> --sha "abc123" --note "text"

Repository / Files

ActionUsageOptions
treerepo tree --project <id>--path --ref --recursive
filerepo file --project <id> --file-path "path"--ref
rawrepo raw --project <id> --file-path "path"--ref
create-filerepo create-file --project <id> --file-path "p" --branch "b" --content "c" --commit-message "m"
update-filerepo update-file --project <id> --file-path "p" --branch "b" --content "c" --commit-message "m"
delete-filerepo delete-file --project <id> --file-path "p" --branch "b" --commit-message "m"
comparerepo compare --project <id> --from "main" --to "feat"

Pipelines

ActionUsageOptions
listpipelines list --project <id>--status --ref
getpipelines get --project <id> --pipeline-id <pid>
jobspipelines jobs --project <id> --pipeline-id <pid>
job-logpipelines job-log --project <id> --job-id <jid>
retrypipelines retry --project <id> --pipeline-id <pid>
cancelpipelines cancel --project <id> --pipeline-id <pid>
createpipelines create --project <id> --ref "main"--variables "K1=v1,K2=v2"

Groups

ActionUsageOptions
listgroups list--search --owned
getgroups get <id>
projectsgroups projects <id>--search
membersgroups members <id>
issuesgroups issues <id>--state
mrsgroups mrs <id>--state

Users

ActionUsage
meusers me
listusers list [--search "john"]
getusers get <id>
projectsusers projects <id>

Labels

ActionUsageOptions
listlabels list --project <id>
createlabels create --project <id> --name "bug" --color "#FF0000"--description
editlabels edit --project <id> --name "bug"--new-name --color
deletelabels delete --project <id> --name "bug"

Milestones

ActionUsageOptions
listmilestones list --project <id>--state
getmilestones get --project <id> --milestone-id <mid>
createmilestones create --project <id> --title "v1.0"--description --due-date --start-date
editmilestones edit --project <id> --milestone-id <mid>--title --state-event
deletemilestones delete --project <id> --milestone-id <mid>

Tags & Releases

ActionUsageOptions
tags listtags list --project <id>--search
tags createtags create --project <id> --tag-name "v1.0" --ref "main"--message
tags deletetags delete --project <id> --tag-name "v1.0"
releases listreleases list --project <id>
releases createreleases create --project <id> --tag-name "v1.0" --name "R1"--description

Snippets

ActionUsageOptions
listsnippets list --project <id>
getsnippets get --project <id> --snippet-id <sid>
createsnippets create --project <id> --title "T" --file-name "f" --content "c"--visibility

Search

ActionUsage
globalsearch global --scope <scope> --search "query"
projectsearch project --project <id> --scope <scope> --search "query"
groupsearch group --group <id> --scope <scope> --search "query"

Scopes — global: projects|issues|merge_requests|milestones|snippet_titles|users. Project: issues|merge_requests|milestones|notes|wiki_blobs|commits|blobs. Group: projects|issues|merge_requests|milestones.

Runners

ActionUsageOptions
listrunners list --project <id>
allrunners all--type --status

Webhooks

ActionUsageOptions
listhooks list --project <id>
createhooks create --project <id> --url "url"--push-events --merge-requests-events --issues-events --token
deletehooks delete --project <id> --hook-id <hid>

Usage Notes

  • Auth: Uses PRIVATE-TOKEN header. Scopes: api (full), read_api (read-only), read_user, read_repository.
  • Project ID: Use numeric ID or URL-encoded path (my-group%2Fmy-project).
  • Output: JSON. Pipe to jq for filtering: gitlab-client projects list | jq '.[].name'
  • Dates: ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
  • Labels: Comma-separated: --labels "bug,feature,urgent".
  • Errors: 401 unauthorized, 403 forbidden, 404 not found, 422 validation, 429 rate limited.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

79.4%
按下载量换算956

安全审计

VirusTotal

未展示

ClawScan

可疑

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills